ruby-changes:15216
From: tenderlove <ko1@a...>
Date: Tue, 30 Mar 2010 05:36:22 +0900 (JST)
Subject: [ruby-changes:15216] Ruby:r27098 (trunk): * lib/psych.rb: documentation updates. Thanks Peter McLain!
tenderlove 2010-03-30 05:33:22 +0900 (Tue, 30 Mar 2010) New Revision: 27098 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27098 Log: * lib/psych.rb: documentation updates. Thanks Peter McLain! * lib/psych/{coder,tree_builder}.rb: ditto Modified files: trunk/ChangeLog trunk/lib/psych/coder.rb trunk/lib/psych/tree_builder.rb trunk/lib/psych.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 27097) +++ ChangeLog (revision 27098) @@ -1,3 +1,8 @@ +Tue Mar 30 05:31:39 2010 Aaron Patterson <aaron@t...> + + * lib/psych.rb: documentation updates. Thanks Peter McLain! + * lib/psych/{coder,tree_builder}.rb: ditto + Tue Mar 30 03:56:13 2010 NARUSE, Yui <naruse@r...> * ext/psych/{emitter,parser,psych}.c: move variable Index: lib/psych.rb =================================================================== --- lib/psych.rb (revision 27097) +++ lib/psych.rb (revision 27098) @@ -109,7 +109,7 @@ # # 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 @@ # # 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 Index: lib/psych/tree_builder.rb =================================================================== --- lib/psych/tree_builder.rb (revision 27097) +++ lib/psych/tree_builder.rb (revision 27098) @@ -3,7 +3,7 @@ module Psych ### # This class works in conjunction with Psych::Parser to build an in-memory - # parse tree tree that represents a YAML document. + # parse tree that represents a YAML document. # # == Example # Index: lib/psych/coder.rb =================================================================== --- lib/psych/coder.rb (revision 27097) +++ lib/psych/coder.rb (revision 27098) @@ -1,7 +1,7 @@ module Psych ### # If an object defines +encode_with+, then an instance of Psych::Coder will - # passed to the method when the object is being serialized. The Coder + # be passed to the method when the object is being serialized. The Coder # automatically assumes a Psych::Nodes::Mapping is being emitted. Other # objects like Sequence and Scalar may be emitted if +seq=+ or +scalar=+ are # called, respectively. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/