以åãããã£ã¨çåã«æã£ã¦ããäºããã£ãã ruby ã®å¾ç½® if/unless ã§æ¡ä»¶ãå½ã«ãªã£ãå ´åã§ãä»£å ¥æ§æãå®è¡ãããã®ã¯ã©ããã¦ã ãã ä¾ãã°ä»¥ä¸ã®ã³ã¼ãã irb ã pry ã§å®è¡ãã¦ã¿ã¦æ¬²ããã a = 1 if false ç¶ã㦠a ãã¿ã¤ãããããã㨠nil ã表示ãããã åã®ããã¾ã§ã®ç解ã ã¨å¾ç½®if/unlessã¯ãã¹ãã¼ãã¡ã³ãã«ä½ç¨ããã®ã§ãã®ã¹ãã¼ãã¡ã³ãèªä½ãç¡å¹ã«ãªããã¤ã¾ãä»£å ¥èªä½ãããªãã£ãäºã«ãªãã¨ããç解ã ã£ããruby ã®ãã¼ãµã®ã½ã¼ã¹ã³ã¼ããè¦ã¦ãå¾ç½®ifã¯ã¹ãã¼ãã¡ã³ãã«ä½ç¨ãã¦ããæ§ã ã£ãã | stmt modifier_if expr_value { /*%%%*/ $$ = new_if($3, remove_begin($1), 0); fixpos($$, $3); /*% $$ = dispatch2(if_mod, $
{{#tags}}- {{label}}
{{/tags}}