summaryrefslogtreecommitdiff
path: root/ext/json/lib/json
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2020-09-09 16:48:07 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-25 17:28:42 +0900
commit927a377a7c23733d94b7d9e103580c83e4040077 (patch)
tree0c204de2789bd339a8a4c1692a1afc6086488f02 /ext/json/lib/json
parent038252fe66d4a81f21027e8204b782363a8516c8 (diff)
[flori/json] Fix JSON.load_file doc
https://github.com/flori/json/commit/cb61a00ba8
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3581
Diffstat (limited to 'ext/json/lib/json')
-rw-r--r--ext/json/lib/json/common.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb
index 2e4aa2a431..111d70c332 100644
--- a/ext/json/lib/json/common.rb
+++ b/ext/json/lib/json/common.rb
@@ -215,7 +215,7 @@ module JSON
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
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 = {})