Module: Libretto

Defined in:
lib/libretto.rb,
lib/libretto/version.rb

Constant Summary collapse

VERSION =
'2.0'

Instance Method Summary collapse

Instance Method Details

#error(error = "") ⇒ Object



12
13
14
15
16
# File 'lib/libretto.rb', line 12

def error (error="")
  print Rainbow("Error: ").inverse.red
  print error
  print " "
end

#exitObject



18
19
20
# File 'lib/libretto.rb', line 18

def exit
  Process.exit(0)
end