Module: Borrower::Util

Defined in:
lib/borrower/util.rb

Class Method Summary collapse

Class Method Details

.get_input(message) ⇒ String

get input from the command line

Returns:

  • (String)


7
8
9
10
# File 'lib/borrower/util.rb', line 7

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