Class: Zit::Error
- Inherits:
-
Object
- Object
- Zit::Error
- Defined in:
- lib/zit.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ Error
constructor
A new instance of Error.
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 |