1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
zzak 2013-02-21 17:35:32 +00:00
parent 254dc20a47
commit 7ceb188443
2 changed files with 7 additions and 2 deletions

View file

@ -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.

View file

@ -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'