Slide 10
Slide 10 text
Usage and Implementation of Reish which an Unix shell for rubyist #
#10
10 RubyKaigi2015
Reishの文法 - 制御コマンド
Syntax of Reish - Control Command
• begin command
– begin/rescue/else/ensure/end
• if command
– if logical_exp [then;\n] sequence else sequence end
• while command
– while logical_exp [do;\n] sequence end
• その他、制御コマンド(control command)
– for, case/when, unless, break, next, redo, retry, raise,
return, yield
• 修飾子コマンド(modifier command)
– if修飾子、unless修飾子, while修飾子, until修飾子, rescue
修飾子