1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/sample/trick2013/yhara/remarks.en.markdown
mame e8052778c1 * sample/trick2013/: added the award-winning entries of TRICK 2013.
See https://github.com/tric/trick2013 for the contest outline.
  (Matz has approved the attachment.)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 03:45:15 +00:00

517 B

Remarks

Just run it with no argument:

ruby entry.rb

I confirmed the following implementations/platforms:

  • ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.1]

Description

It prints JUST ANOTHER RUBY HACKER¡£

Internals

This script uses characters in constants in Object class. It intentionally raises some exceptions. The second 'U' comes from RUBY_COPYRIGHT, "Yukihiro Matsumoto".

Limitation

This program does not work on JRuby because "return" does not raise an exception.