summaryrefslogtreecommitdiff
path: root/jni/ruby/sample/trick2013/yhara/remarks.en.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/sample/trick2013/yhara/remarks.en.markdown')
-rw-r--r--jni/ruby/sample/trick2013/yhara/remarks.en.markdown23
1 files changed, 23 insertions, 0 deletions
diff --git a/jni/ruby/sample/trick2013/yhara/remarks.en.markdown b/jni/ruby/sample/trick2013/yhara/remarks.en.markdown
new file mode 100644
index 0000000..bd821e8
--- /dev/null
+++ b/jni/ruby/sample/trick2013/yhara/remarks.en.markdown
@@ -0,0 +1,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.