2015-07-31 【CODEPREP】はじめてのRuby 備忘録その2 CODEPREP ruby プログラミング学習 timesメソッド 整数.timesで整数分のループを続ける timesメソッドの書き方 10.times do puts "Hi there!" end #結果 Hi there! Hi there! Hi there! Hi there! Hi there! Hi there! Hi there! Hi there! Hi there! Hi there!