Top Level Namespace
Defined Under Namespace
Modules: ApiSketch
Instance Method Summary collapse
-
#puts_error(message) ⇒ Object
Output error message to console.
-
#puts_info(message) ⇒ Object
Output info message to console.
-
#puts_warning(message) ⇒ Object
Output warning message to console.
Instance Method Details
#puts_error(message) ⇒ Object
Output error message to console.
18 19 20 21 |
# File 'lib/api_sketch/helpers.rb', line 18 def puts_error() $stderr.puts "\e[31m[ERROR] #{}\e[0m" if ApiSketch::Config[:debug] exit(1) end |