summaryrefslogtreecommitdiff
path: root/golf_prelude.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-28 11:20:59 (GMT)
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-28 11:20:59 (GMT)
commitf413b838141884fef9cff48891b9a494d2d8f3aa (patch)
tree7e9f0d4bdecde276982a68c1a682be4603c7cf5f /golf_prelude.rb
parenteb1014e4aeb30b9ba18686d4c955cad7e0372108 (diff)
* 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
Diffstat (limited to 'golf_prelude.rb')
-rw-r--r--golf_prelude.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/golf_prelude.rb b/golf_prelude.rb
index 90d3582..eea08fe 100644
--- a/golf_prelude.rb
+++ b/golf_prelude.rb
@@ -20,6 +20,8 @@ class Object
def quine(src = $0)
SCRIPT_LINES__[src].join
end
+
+ alias say puts
end
class Integer