Skip to content

Commit

Permalink
* golf_prelude.rb (Object.say): derived from Perl 5.10.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Dec 28, 2007
1 parent eb1014e commit f413b83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Fri Dec 28 20:18:42 2007 WATANABE Hirofumi <[email protected]>

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

Fri Dec 28 19:39:34 2007 NAKAMURA Usaku <[email protected]>

* encoding.c (rb_locale_encoding): should check return value from
Expand Down
2 changes: 2 additions & 0 deletions golf_prelude.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ def h(a='H', b='w', c='!')
def quine(src = $0)
SCRIPT_LINES__[src].join
end

alias say puts
end

class Integer
Expand Down

0 comments on commit f413b83

Please sign in to comment.