Class: Zit::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/zit.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ Error

Returns a new instance of Error.



19
20
21
22
# File 'lib/zit.rb', line 19

def initialize(msg)
  puts "Error: #{msg}"
  exit
end