Class: Yapo::Helpers::CustomErrors::ErrorMessage
- Defined in:
- lib/yapo/helpers/custom_errors.rb
Instance Method Summary collapse
-
#initialize ⇒ ErrorMessage
constructor
A new instance of ErrorMessage.
- #print(message) ⇒ Object
Methods inherited from Command
#command, #exec_exist?, #execute, #generator, #pastel, #platform, #prompt, #screen, #which
Constructor Details
#initialize ⇒ ErrorMessage
Returns a new instance of ErrorMessage.
9 10 |
# File 'lib/yapo/helpers/custom_errors.rb', line 9 def initialize end |
Instance Method Details
#print(message) ⇒ Object
12 13 14 |
# File 'lib/yapo/helpers/custom_errors.rb', line 12 def print() puts pastel.red() end |