summaryrefslogtreecommitdiff
path: root/sample/trick2013/yhara/remarks.markdown
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-25 03:45:15 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-25 03:45:15 +0000
commite8052778c18eef07e5ef3403e234923ed5018333 (patch)
tree26b6031c117202b00f1b260df100e0e245e8f178 /sample/trick2013/yhara/remarks.markdown
parent1e7a929c1d44d7a368fbe379211183ac6c972920 (diff)
* 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
Diffstat (limited to 'sample/trick2013/yhara/remarks.markdown')
-rw-r--r--sample/trick2013/yhara/remarks.markdown24
1 files changed, 24 insertions, 0 deletions
diff --git a/sample/trick2013/yhara/remarks.markdown b/sample/trick2013/yhara/remarks.markdown
new file mode 100644
index 0000000000..99cb4b557c
--- /dev/null
+++ b/sample/trick2013/yhara/remarks.markdown
@@ -0,0 +1,24 @@
+### Remarks
+
+引数なしで普通に実行してください。
+
+ ruby entry.rb
+
+以下の実装・プラットフォームで動作確認しています。
+
+* ruby 2.0.0p0 (2013-02-24 revision 39474) [x86\_64-darwin12.2.1]
+
+### Description
+
+JUST ANOTHER RUBY HACKERと表示します。
+
+### Internals
+
+Objectクラスの定数から文字を拾っています。
+そのために、意図的に例外を起こしています。
+「U」が一つしか見つからなかったので、もう一個はRUBY\_COPYRIGHTの
+「Yukihiro Matsumoto」から取っています。
+
+### Limitation
+
+JRubyはreturnがエラーにならなくて、動きませんでした。