[前][次][番号順一覧][スレッド一覧]

ruby-changes:30002

From: zzak <ko1@a...>
Date: Fri, 19 Jul 2013 11:27:42 +0900 (JST)
Subject: [ruby-changes:30002] zzak:r42054 (trunk): * ext/psych/lib/psych*: [DOC] Capitalize "Ruby" in documentation

zzak	2013-07-19 11:27:25 +0900 (Fri, 19 Jul 2013)

  New Revision: 42054

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42054

  Log:
    * ext/psych/lib/psych*: [DOC] Capitalize "Ruby" in documentation
      Patch by Dave Worth https://github.com/ruby/ruby/pull/341

  Modified files:
    trunk/ChangeLog
    trunk/ext/psych/lib/psych/scalar_scanner.rb
    trunk/ext/psych/lib/psych/visitors/to_ruby.rb
    trunk/ext/psych/lib/psych/visitors/yaml_tree.rb
    trunk/ext/psych/lib/psych.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42053)
+++ ChangeLog	(revision 42054)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul 19 11:26:28 2013  Zachary Scott  <e@z...>
+
+	* ext/psych/lib/psych*: [DOC] Capitalize "Ruby" in documentation
+	  Patch by Dave Worth https://github.com/ruby/ruby/pull/341
+
 Fri Jul 19 11:25:12 2013  Zachary Scott  <e@z...>
 
 	* lib/rdoc/*: [DOC] Capitalize "Ruby" in documentation
Index: ext/psych/lib/psych/scalar_scanner.rb
===================================================================
--- ext/psych/lib/psych/scalar_scanner.rb	(revision 42053)
+++ ext/psych/lib/psych/scalar_scanner.rb	(revision 42054)
@@ -28,7 +28,7 @@ module Psych https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych/scalar_scanner.rb#L28
       @class_loader = class_loader
     end
 
-    # Tokenize +string+ returning the ruby object
+    # Tokenize +string+ returning the Ruby object
     def tokenize string
       return nil if string.empty?
       return string if @string_cache.key?(string)
Index: ext/psych/lib/psych/visitors/yaml_tree.rb
===================================================================
--- ext/psych/lib/psych/visitors/yaml_tree.rb	(revision 42053)
+++ ext/psych/lib/psych/visitors/yaml_tree.rb	(revision 42054)
@@ -5,7 +5,7 @@ require 'psych/class_loader' https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych/visitors/yaml_tree.rb#L5
 module Psych
   module Visitors
     ###
-    # YAMLTree builds a YAML ast given a ruby object.  For example:
+    # YAMLTree builds a YAML ast given a Ruby object.  For example:
     #
     #   builder = Psych::Visitors::YAMLTree.new
     #   builder << { :foo => 'bar' }
Index: ext/psych/lib/psych/visitors/to_ruby.rb
===================================================================
--- ext/psych/lib/psych/visitors/to_ruby.rb	(revision 42053)
+++ ext/psych/lib/psych/visitors/to_ruby.rb	(revision 42054)
@@ -9,7 +9,7 @@ end https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych/visitors/to_ruby.rb#L9
 module Psych
   module Visitors
     ###
-    # This class walks a YAML AST, converting each node to ruby
+    # This class walks a YAML AST, converting each node to Ruby
     class ToRuby < Psych::Visitors::Visitor
       def self.create
         class_loader = ClassLoader.new
Index: ext/psych/lib/psych.rb
===================================================================
--- ext/psych/lib/psych.rb	(revision 42053)
+++ ext/psych/lib/psych.rb	(revision 42054)
@@ -41,7 +41,7 @@ require 'psych/handlers/document_stream' https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych.rb#L41
 # Psych provides a range of interfaces for parsing a YAML document ranging from
 # low level to high level, depending on your parsing needs.  At the lowest
 # level, is an event based parser.  Mid level is access to the raw YAML AST,
-# and at the highest level is the ability to unmarshal YAML to ruby objects.
+# and at the highest level is the ability to unmarshal YAML to Ruby objects.
 #
 # == YAML Emitting
 #
@@ -172,7 +172,7 @@ require 'psych/handlers/document_stream' https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych.rb#L172
 #
 # The lowest level parser should be used when the YAML input is already known,
 # and the developer does not want to pay the price of building an AST or
-# automatic detection and conversion to ruby objects.  See Psych::Parser for
+# automatic detection and conversion to Ruby objects.  See Psych::Parser for
 # more information on using the event based parser.
 #
 # ==== Reading to Psych::Nodes::Stream structure
@@ -200,7 +200,7 @@ require 'psych/handlers/document_stream' https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych.rb#L200
 # document.  This interface should be used when document format is known in
 # advance or speed is a concern.  See Psych::Emitter for more information.
 #
-# ==== Writing to a ruby structure
+# ==== Writing to a Ruby structure
 #
 #   Psych.parser.parse("--- a")       # => #<Psych::Parser>
 #
@@ -433,7 +433,7 @@ module Psych https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych.rb#L433
 
   ###
   # Load multiple documents given in +yaml+.  Returns the parsed documents
-  # as a list.  If a block is given, each document will be converted to ruby
+  # as a list.  If a block is given, each document will be converted to Ruby
   # and passed to the block during parsing
   #
   # Example:
@@ -458,7 +458,7 @@ module Psych https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych.rb#L458
 
   ###
   # Load the document contained in +filename+.  Returns the yaml contained in
-  # +filename+ as a ruby object
+  # +filename+ as a Ruby object
   def self.load_file filename
     File.open(filename, 'r:bom|utf-8') { |f| self.load f, filename }
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]