ruby-changes:63118
From: Jean <ko1@a...>
Date: Fri, 25 Sep 2020 17:29:12 +0900 (JST)
Subject: [ruby-changes:63118] 927a377a7c (master): [flori/json] Fix JSON.load_file doc
https://git.ruby-lang.org/ruby.git/commit/?id=927a377a7c From 927a377a7c23733d94b7d9e103580c83e4040077 Mon Sep 17 00:00:00 2001 From: Jean Boussier <jean.boussier@g...> Date: Wed, 9 Sep 2020 16:48:07 +0200 Subject: [flori/json] Fix JSON.load_file doc https://github.com/flori/json/commit/cb61a00ba8 diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb index 2e4aa2a..111d70c 100644 --- a/ext/json/lib/json/common.rb +++ b/ext/json/lib/json/common.rb @@ -215,7 +215,7 @@ module JSON https://github.com/ruby/ruby/blob/trunk/ext/json/lib/json/common.rb#L215 end # :call-seq: - # CSV.load_file(path, opts={}) -> object + # JSON.load_file(path, opts={}) -> object # # Calls: # parse(File.read(path), opts) @@ -226,10 +226,10 @@ module JSON https://github.com/ruby/ruby/blob/trunk/ext/json/lib/json/common.rb#L226 end # :call-seq: - # CSV.load_file!(path, opts = {}) + # JSON.load_file!(path, opts = {}) # # Calls: - # CSV.parse!(File.read(path, opts)) + # JSON.parse!(File.read(path, opts)) # # See method #parse! def load_file!(filespec, opts = {}) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/