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

* golf_prelude.rb (String#/): define / as split, as association of

Array#*.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-12-30 14:49:22 +00:00
parent 75ee1d5252
commit 21789d5331
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sun Dec 30 23:48:00 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* golf_prelude.rb (String#/): define / as split, as association of
Array#*.
Sun Dec 30 23:19:06 2007 WATANABE Hirofumi <eban@ruby-lang.org>
* golf_prelude.rb (@@golf_hash): for performance improvement.

View file

@ -28,3 +28,7 @@ class Integer
alias each times
include Enumerable
end
class String
alias / split
end