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

ruby-changes:3278

From: ko1@a...
Date: 28 Dec 2007 20:21:13 +0900
Subject: [ruby-changes:3278] eban - Ruby:r14771 (trunk): * golf_prelude.rb (Object.say): derived from Perl 5.10.

eban	2007-12-28 20:20:59 +0900 (Fri, 28 Dec 2007)

  New Revision: 14771

  Modified files:
    trunk/ChangeLog
    trunk/golf_prelude.rb

  Log:
    * golf_prelude.rb (Object.say): derived from Perl 5.10.


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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14770)
+++ ChangeLog	(revision 14771)
@@ -1,3 +1,7 @@
+Fri Dec 28 20:18:42 2007  WATANABE Hirofumi  <eban@r...>
+
+	* golf_prelude.rb (Object.say): derived from Perl 5.10.
+
 Fri Dec 28 19:39:34 2007  NAKAMURA Usaku  <usa@r...>
 
 	* encoding.c (rb_locale_encoding): should check return value from
Index: golf_prelude.rb
===================================================================
--- golf_prelude.rb	(revision 14770)
+++ golf_prelude.rb	(revision 14771)
@@ -20,6 +20,8 @@
   def quine(src = $0)
     SCRIPT_LINES__[src].join
   end
+
+  alias say puts
 end
 
 class Integer

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

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