Skip to content

Commit

Permalink
* golf_prelude.rb (String#/): define / as split, as association of
Browse files Browse the repository at this point in the history
	  Array#*.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
unak committed Dec 30, 2007
1 parent 75ee1d5 commit 21789d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sun Dec 30 23:48:00 2007 NAKAMURA Usaku <[email protected]>

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

Sun Dec 30 23:19:06 2007 WATANABE Hirofumi <[email protected]>

* golf_prelude.rb (@@golf_hash): for performance improvement.
Expand Down
4 changes: 4 additions & 0 deletions golf_prelude.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ class Integer
alias each times
include Enumerable
end

class String
alias / split
end

0 comments on commit 21789d5

Please sign in to comment.