diff options
Diffstat (limited to 'lib/psych.rb')
-rw-r--r-- | lib/psych.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/psych.rb b/lib/psych.rb index eb13d19b6e..574bc7e641 100644 --- a/lib/psych.rb +++ b/lib/psych.rb @@ -109,7 +109,7 @@ module Psych # # Example: # - # Psych.load("---\n - a\n - b") # => #<Psych::Nodes::Sequence:0x00> + # Psych.parse("---\n - a\n - b") # => #<Psych::Nodes::Sequence:0x00> # # See Psych::Nodes for more information about YAML AST. def self.parse yaml @@ -136,7 +136,7 @@ module Psych # # Example: # - # Psych.load("---\n - a\n - b") # => #<Psych::Nodes::Stream:0x00> + # Psych.parse_stream("---\n - a\n - b") # => #<Psych::Nodes::Stream:0x00> # # See Psych::Nodes for more information about YAML AST. def self.parse_stream yaml |