Top Level Namespace
Defined Under Namespace
Modules: Oode
Classes: Numeric, String
Constant Summary
collapse
- SSH_ERROR =
<<ERROR
Something went wrong with your SSH connection. Please file a bug report at:
http://github.com/xoebus/oode/issues
with your error message.
ERROR
- SIZE_WARNING =
<<WARNING
Your file is pretty big: (%s).
It may take a while to print... (don't blame me!)
WARNING
Instance Method Summary
collapse
Instance Method Details
#error(message) ⇒ Object
19
20
21
|
# File 'lib/oode/ext/ext.rb', line 19
def error message
abort "ERROR: #{message}".red
end
|
#notify(message) ⇒ Object
23
24
25
|
# File 'lib/oode/ext/ext.rb', line 23
def notify message
puts "INFO: #{message}".yellow
end
|
#warning(message) ⇒ Object
27
28
29
|
# File 'lib/oode/ext/ext.rb', line 27
def warning message
puts "WARN: #{message}".purple
end
|