Module: Sunzi::Utility
- Defined in:
- lib/sunzi/utility.rb
Instance Method Summary collapse
Instance Method Details
permalink #abort_with(text) ⇒ Object
[View source]
3 4 5 6 |
# File 'lib/sunzi/utility.rb', line 3 def abort_with(text) Logger.error text abort end |
permalink #exit_with(text) ⇒ Object
[View source]
8 9 10 11 |
# File 'lib/sunzi/utility.rb', line 8 def exit_with(text) Logger.success text exit end |
permalink #say(text) ⇒ Object
[View source]
13 14 15 |
# File 'lib/sunzi/utility.rb', line 13 def say(text) Logger.info text end |