誤ããè¦è½ã¨ããããã¾ããã@hachi8833ã¾ã§ãç¥ãããã ããðã ãã£ãã ãªã©ã¤ãªã¼ãããã°ã©ãã³ã°è¨èªRubyãã«ä»¥ä¸ã®è¨è¿°ãããã¾ããã åæ¸p250ãã ããã§è¨ããã·ã£ãã¦ã¤ã³ã°ããæ°ã«ãªãã¾ãããRubyã§ã·ã£ãã¦ã¤ã³ã°ã¨ããã¨ã次ã«æ¸ãããããªãããã¯å¤æ°ï¼ããã§ã¯xï¼ããããã¯ã®å¤ã®ãã¼ã«ã«å¤æ°ãã·ã£ãã¦ã¤ã³ã°ãããã¨ãæãã¨æã£ã¦ããã®ã§ã å ã ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã®ã·ã£ãã¦ã¤ã³ã°ã«ã¤ãã¦æ¸ãã¤ããã§ããããå ã«ãããã¯å¤æ°ã®ã·ã£ãã¦ã¤ã³ã°ã«ã¤ãã¦èª¿ã¹ããã¨ã«ãã¾ããã Rubyã®ããããã¯å¤æ°ã«ããã·ã£ãã¦ã¤ã³ã°ã 以ä¸ã¯ã·ã£ãã¦ã¤ã³ã°ã§ããå¼ãåãã«åºããããããã¯å¤æ°ã®ã·ã£ãã¦ã¤ã³ã°ã§ãã x = 42 3.times { |x| puts "x is #{x}" } ãããã¯{ |x| puts "x is #{x}" }å ã®xã¯ããã®å¤ã®ååã®ãã¶ã£ããã¼
{{#tags}}- {{label}}
{{/tags}}