diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-21 17:35:32 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-21 17:35:32 +0000 |
commit | 7ceb188443d1ff9cf7df916cba42f29025273698 (patch) | |
tree | de6f0de5c59ea05f7856f18ecf6d49dd3eb35fa0 | |
parent | 254dc20a470ed6516838741afa876557f0f5a9f2 (diff) |
* lib/abbrev.rb: Add words parameter to Abbrev::abbrev
Patch by Devin Weaver [Github documenting-ruby/ruby/#7]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39362 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 [Github documenting-ruby/ruby/#7] + Thu Feb 21 17:28:14 2013 NARUSE, Yui <naruse@ruby-lang.org> * tool/merger.rb: add interaction when only ChangeLog is modified. 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' |