load_default_data.rake.diff

add STDOUT.flush - Kazuhiro Nishiyama, 2009-03-11 03:35

Download (450 Bytes)

View differences:

lib/tasks/load_default_data.rake 2009-03-11 11:24:58.000000000 +0900
10 10
      print "Select language: "
11 11
      print GLoc.valid_languages.sort {|x,y| x.to_s <=> y.to_s }.join(", ")
12 12
      print " [#{GLoc.current_language}] "
13
      STDOUT.flush
13 14
      lang = STDIN.gets.chomp!
14 15
      break if lang.empty?
15 16
      break if set_language_if_valid(lang)