[前][次][番号順一覧][スレッド一覧]

ruby-changes:3309

From: ko1@a...
Date: 30 Dec 2007 23:49:36 +0900
Subject: [ruby-changes:3309] usa - Ruby:r14802 (trunk): * golf_prelude.rb (String#/): define / as split, as association of

usa	2007-12-30 23:49:22 +0900 (Sun, 30 Dec 2007)

  New Revision: 14802

  Modified files:
    trunk/ChangeLog
    trunk/golf_prelude.rb

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


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/golf_prelude.rb?r1=14802&r2=14801
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14802&r2=14801

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14801)
+++ ChangeLog	(revision 14802)
@@ -1,3 +1,8 @@
+Sun Dec 30 23:48:00 2007  NAKAMURA Usaku  <usa@r...>
+
+	* golf_prelude.rb (String#/): define / as split, as association of
+	  Array#*.
+
 Sun Dec 30 23:19:06 2007  WATANABE Hirofumi  <eban@r...>
 
 	* golf_prelude.rb (@@golf_hash): for performance improvement.
Index: golf_prelude.rb
===================================================================
--- golf_prelude.rb	(revision 14801)
+++ golf_prelude.rb	(revision 14802)
@@ -28,3 +28,7 @@
   alias each times
   include Enumerable
 end
+
+class String
+  alias / split
+end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]