place = ARGV[0] place = 'jp' unless place (0..11).each { |hour| (0..59).each { |min| puts sprintf("http://www.bijint.com/assets/pict/#{place}/pc/%02d%02d.jpg",hour,min) } }