diff --git a/lib/json/common.rb b/lib/json/common.rb index 2e4aa2a4..111d70c3 100644 --- a/lib/json/common.rb +++ b/lib/json/common.rb @@ -215,7 +215,7 @@ def parse!(source, opts = {}) 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 @@ def load_file(filespec, opts = {}) 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 = {})