2013-05-03から1日間の記事一覧
#Range cold_war=1946..1986 birthday_year=1974 if cold_war.include? birthday_year puts "include birthday_year" else puts "not include birthday_year" enda="a".."c" a.each{|l| print "#{l}"} #abc puts "\n" a.step(2){|l| print "#{l}"} #=>ac put…