Module: Blitz::Helper

Included in:
Blitz, Command
Defined in:
lib/blitz/helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#askObject



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