1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[flori/json] Fix JSON.load_file doc

https://github.com/flori/json/commit/cb61a00ba8
This commit is contained in:
Jean Boussier 2020-09-09 16:48:07 +02:00 committed by Hiroshi SHIBATA
parent 038252fe66
commit 927a377a7c
Notes: git 2020-09-25 17:29:09 +09:00

View file

@ -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 = {})