Class: Yapo::Helpers::CustomErrors::ErrorMessage

Inherits:
Command
  • Object
show all
Defined in:
lib/yapo/helpers/custom_errors.rb

Instance Method Summary collapse

Methods inherited from Command

#command, #exec_exist?, #execute, #generator, #pastel, #platform, #prompt, #screen, #which

Constructor Details

#initializeErrorMessage

Returns a new instance of ErrorMessage.



9
10
# File 'lib/yapo/helpers/custom_errors.rb', line 9

def initialize
end

Instance Method Details



12
13
14
# File 'lib/yapo/helpers/custom_errors.rb', line 12

def print(message)
  puts pastel.red(message)
end