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:
parent
038252fe66
commit
927a377a7c
Notes:
git
2020-09-25 17:29:09 +09:00
1 changed files with 3 additions and 3 deletions
|
@ -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 = {})
|
||||
|
|
Loading…
Add table
Reference in a new issue