diff options
| author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-24 05:06:42 +0000 |
|---|---|---|
| committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-24 05:06:42 +0000 |
| commit | 339999b1c2854708ad2354c19466671e31154b5e (patch) | |
| tree | 6268bc2272bc18974e19fe9fb2742df21f01e5bd | |
| parent | 5936806c663ea8ba5c560936a78bb214c26ab612 (diff) | |
* lib/abbrev.rb: Add words parameter to Abbrev::abbrev
Patch by Devin Weaver [Backport #7927]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | lib/abbrev.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Fri Feb 22 02:33:00 2013 Zachary Scott <zachary@zacharyscott.net> + + * 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@zacharyscott.net> * ext/pty/pty.c: Documentation for the PTY module [Backport #7928] diff --git a/lib/abbrev.rb b/lib/abbrev.rb index d4f8196f49..841f6d980e 100755 --- a/lib/abbrev.rb +++ b/lib/abbrev.rb @@ -49,8 +49,8 @@ module Abbrev # 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' |
