[flori/json] Fix JSON.load_file doc

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 end
# :call-seq: # :call-seq:
# CSV.load_file(path, opts={}) -> object # JSON.load_file(path, opts={}) -> object
# #
# Calls: # Calls:
# parse(File.read(path), opts) # parse(File.read(path), opts)
@ -226,10 +226,10 @@ module JSON
end end
# :call-seq: # :call-seq:
# CSV.load_file!(path, opts = {}) # JSON.load_file!(path, opts = {})
# #
# Calls: # Calls:
# CSV.parse!(File.read(path, opts)) # JSON.parse!(File.read(path, opts))
# #
# See method #parse! # See method #parse!
def load_file!(filespec, opts = {}) def load_file!(filespec, opts = {})