Skip to content

Instantly share code, notes, and snippets.

@zonuexe
Created November 15, 2011 04:20
Show Gist options
  • Save zonuexe/1366126 to your computer and use it in GitHub Desktop.
Save zonuexe/1366126 to your computer and use it in GitHub Desktop.
はいどなた
scriptor = ->(*args){puts args.join("\n")}
title = ->(text){"『#{text}』\n"}
paragraph = ->(*args){args.join("\n")+"\n"}
chara = ->(name){
->(text){"#{name}「#{text}」"}
}
ryu = chara[:リュウ]
tak = chara[:たかし]
scriptor[
title[:俺より強い奴に、会いに行く],
paragraph[
:ピンポーン,
ryu[:こんにちは],
tak[:はいどなた]
],paragraph[
ryu[:いまちょっといいですか],
tak[:これから出かけます]
],paragraph[
ryu[:午後出勤ですか?],
tak[:はい]
],paragraph[
ryu[:強そうですね],
tak[:なにがですか]
],paragraph[
ryu[:態度が]
],paragraph[
:リュウは、自分より強そうな奴に、会いにいったのだった。 完
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment