Top Level Namespace

Defined Under Namespace

Modules: Oode Classes: Numeric, String

Constant Summary collapse

SSH_ERROR =
"Something went wrong with your SSH connection. Please file a bug report at:\n\n  http://github.com/xoebus/oode/issues\n\nwith your error message.\n"
SIZE_WARNING =
"Your file is pretty big: (%s).\nIt may take a while to print... (don't blame me!)\n"

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