ã¯ããã« æ¬ææ¸ã¯ãRubyã«ããã³ã¼ãã£ã³ã°ãè¡ãéã®è¦ç´ã«ã¤ãã¦è¿°ã¹ãã å®éã®ããã¸ã§ã¯ãã«é©ç¨ããéã«ã¯ããã®ã³ã¼ãã£ã³ã°è¦ç´ãã«ã¹ã¿ ãã¤ãºãã¦ç¨ãããã¨ãæ¨å¥¨ããã ã½ã¼ã¹ã³ã¼ãã®æ´å½¢ ã¤ã³ãã³ã ããã°ã©ã ãèªã¿ããããããããã¤ã³ãã³ããé©å®è¡ããã¤ã³ãã³ã å¹ ã¯2ã¨ãããã¾ããã¤ã³ãã³ãã«ã¯ã¹ãã¼ã¹ã®ã¿ã使ç¨ããã¿ãã¯ä½¿ç¨ ããªãã(ç°å¢ã«ããã¿ãå¹ ãç°ãªãããã) ä¾: if x > 0 if y > 0 puts "x > 0 && y > 0" end end ä¸è¡ã®æ¡æ° ä¸è¡ã®æ¡æ°ã¯æ大80æ¡ã¾ã§ã¨ããã ç©ºè¡ è¤æ°ã®ã¯ã©ã¹ã®åºåã«ã¯ç©ºè¡ãæ¿å ¥ããã ä¾: class Foo ... end class Bar ... end 誤ã£ãä¾: class Foo ... end class Bar ... end ã¾ããã¯ã©ã¹å ã®åæ§æè¦ç´ ã®åºåã«ã空è¡ãæ¿å ¥ããã
{{#tags}}- {{label}}
{{/tags}}