aboutsummaryrefslogtreecommitdiffstats
path: root/sample/trick2013/yhara/remarks.en.markdown
blob: bd821e882c46a7d31f25cc650473f6ca7f57fbad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
### 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.