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

ruby-changes:27310

From: zzak <ko1@a...>
Date: Fri, 22 Feb 2013 02:36:15 +0900 (JST)
Subject: [ruby-changes:27310] zzak:r39362 (trunk): * lib/abbrev.rb: Add words parameter to Abbrev::abbrev

zzak	2013-02-22 02:35:32 +0900 (Fri, 22 Feb 2013)

  New Revision: 39362

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

  Log:
    * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
      Patch by Devin Weaver [Github documenting-ruby/ruby/#7]

  Modified files:
    trunk/ChangeLog
    trunk/lib/abbrev.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39361)
+++ ChangeLog	(revision 39362)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Feb 22 02:33:00 2013  Zachary Scott  <zachary@z...>
+
+	* lib/abbrev.rb: Add words parameter to Abbrev::abbrev
+	  Patch by Devin Weaver [Github documenting-ruby/ruby/#7]
+
 Thu Feb 21 17:28:14 2013  NARUSE, Yui  <naruse@r...>
 
 	* tool/merger.rb: add interaction when only ChangeLog is modified.
Index: lib/abbrev.rb
===================================================================
--- lib/abbrev.rb	(revision 39361)
+++ lib/abbrev.rb	(revision 39362)
@@ -49,8 +49,8 @@ module Abbrev https://github.com/ruby/ruby/blob/trunk/lib/abbrev.rb#L49
   # are all the possible abbreviations and the values are the full
   # strings.
   #
-  # Thus, given input of "car" and "cone", the keys pointing to "car" would be
-  # "ca" and "car", while those pointing to "cone" would be "co", "con", and
+  # Thus, given +words+ is "car" and "cone", the keys pointing to "car" would
+  # be "ca" and "car", while those pointing to "cone" would be "co", "con", and
   # "cone".
   #
   #   require 'abbrev'

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

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