mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* golf_prelude.rb (Object.say): derived from Perl 5.10.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eb1014e4ae
commit
f413b83814
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Dec 28 20:18:42 2007 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* golf_prelude.rb (Object.say): derived from Perl 5.10.
|
||||
|
||||
Fri Dec 28 19:39:34 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* encoding.c (rb_locale_encoding): should check return value from
|
||||
|
|
|
@ -20,6 +20,8 @@ class Object
|
|||
def quine(src = $0)
|
||||
SCRIPT_LINES__[src].join
|
||||
end
|
||||
|
||||
alias say puts
|
||||
end
|
||||
|
||||
class Integer
|
||||
|
|
Loading…
Reference in a new issue