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 /lib/abbrev.rb | |
parent | 254dc20a470ed6516838741afa876557f0f5a9f2 (diff) | |
download | ruby-7ceb188443d1ff9cf7df916cba42f29025273698.tar.gz |
* 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
Diffstat (limited to 'lib/abbrev.rb')
-rwxr-xr-x | lib/abbrev.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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' |