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

ruby-changes:32799

From: zzak <ko1@a...>
Date: Fri, 7 Feb 2014 21:57:49 +0900 (JST)
Subject: [ruby-changes:32799] zzak:r44878 (trunk): * ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core

zzak	2014-02-07 21:57:44 +0900 (Fri, 07 Feb 2014)

  New Revision: 44878

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

  Log:
    * ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
      classes when referring to return value, since we aren't directly
      talking about the class. Patch by Jonathan Jackson [Bug #9483]

  Modified files:
    trunk/ChangeLog
    trunk/ext/ripper/lib/ripper/lexer.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44877)
+++ ChangeLog	(revision 44878)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Feb  7 21:54:53 2014  Zachary Scott  <e@z...>
+
+	* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
+	  classes when referring to return value, since we aren't directly
+	  talking about the class. Patch by Jonathan Jackson [Bug #9483]
+
 Fri Feb 7 05:28:38 2014  Eric Wong  <e@8...>
 
 	* constant.h: reduce rb_const_entry_t size on 64-bit
Index: ext/ripper/lib/ripper/lexer.rb
===================================================================
--- ext/ripper/lib/ripper/lexer.rb	(revision 44877)
+++ ext/ripper/lib/ripper/lexer.rb	(revision 44878)
@@ -12,7 +12,7 @@ require 'ripper/core' https://github.com/ruby/ruby/blob/trunk/ext/ripper/lib/ripper/lexer.rb#L12
 
 class Ripper
 
-  # Tokenizes the Ruby program and returns an Array of String.
+  # Tokenizes the Ruby program and returns an array of strings.
   #
   #   p Ripper.tokenize("def m(a) nil end")
   #      # => ["def", " ", "m", "(", "a", ")", " ", "nil", " ", "end"]
@@ -21,7 +21,7 @@ class Ripper https://github.com/ruby/ruby/blob/trunk/ext/ripper/lib/ripper/lexer.rb#L21
     Lexer.new(src, filename, lineno).tokenize
   end
 
-  # Tokenizes the Ruby program and returns an Array of an Array,
+  # Tokenizes the Ruby program and returns an array of an array,
   # which is formatted like <code>[[lineno, column], type, token]</code>.
   #
   #   require 'ripper'

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

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