Module: Blitz::Helper
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#ask ⇒ Object
11 12 13 |
# File 'lib/blitz/helper.rb', line 11 def ask gets.strip end |
#error(msg) ⇒ Object
3 4 5 |
# File 'lib/blitz/helper.rb', line 3 def error msg $stderr.puts "!! #{msg}" end |
#msg(msg) ⇒ Object
7 8 9 |
# File 'lib/blitz/helper.rb', line 7 def msg msg puts msg end |