Class: Escalator::Throw
- Inherits:
-
Object
- Object
- Escalator::Throw
- Defined in:
- lib/escalator/throw.rb
Class Method Summary collapse
Class Method Details
.error(message) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/escalator/throw.rb', line 7 def error puts puts .ansi.red puts exit -1 end |
.note(message) ⇒ Object
14 15 16 17 |
# File 'lib/escalator/throw.rb', line 14 def note puts puts .ansi.green end |