mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/abbrev.rb (Array#abbrev): add missing '"' in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0328ab1d0a
commit
f2c84d2da0
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Feb 16 00:14:04 2012 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||
|
||||
* lib/abbrev.rb (Array#abbrev): add missing '"' in documentation.
|
||||
|
||||
Wed Feb 15 22:20:19 2012 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||
|
||||
* cont.c (rb_fiber_reset_root_local_storage): add a new function to
|
||||
|
|
|
@ -84,7 +84,7 @@ class Array
|
|||
# the pattern or starting with the string are considered.
|
||||
#
|
||||
# %w{ car cone }.abbrev #=> { "ca" => "car", "car" => "car",
|
||||
# "co" => "cone", "con" => cone",
|
||||
# "co" => "cone", "con" => "cone",
|
||||
# "cone" => "cone" }
|
||||
def abbrev(pattern = nil)
|
||||
Abbrev::abbrev(self, pattern)
|
||||
|
|
Loading…
Reference in a new issue