Module: Statistrano::Shell

Extended by:
HereOrThere
Defined in:
lib/statistrano/shell.rb

Class Method Summary collapse

Class Method Details

.get_input(message) ⇒ String

get input from the command line

Returns:

  • (String)


9
10
11
12
# File 'lib/statistrano/shell.rb', line 9

def get_input message
  print message
  $stdin.gets.chomp
end