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

ruby-changes:27406

From: zzak <ko1@a...>
Date: Sun, 24 Feb 2013 14:12:05 +0900 (JST)
Subject: [ruby-changes:27406] zzak:r39458 (ruby_2_0_0): * lib/abbrev.rb: Add words parameter to Abbrev::abbrev

zzak	2013-02-24 14:06:42 +0900 (Sun, 24 Feb 2013)

  New Revision: 39458

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

  Log:
    * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
      Patch by Devin Weaver [Backport #7927]

  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/lib/abbrev.rb

Index: ruby_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 39457)
+++ ruby_2_0_0/ChangeLog	(revision 39458)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/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 [Backport #7927]
+
 Wed Feb 20 13:37:00 2013  Zachary Scott  <zachary@z...>
 
 	* ext/pty/pty.c: Documentation for the PTY module [Backport #7928]
Index: ruby_2_0_0/lib/abbrev.rb
===================================================================
--- ruby_2_0_0/lib/abbrev.rb	(revision 39457)
+++ ruby_2_0_0/lib/abbrev.rb	(revision 39458)
@@ -49,8 +49,8 @@ module Abbrev https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/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/

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