Module: Puter::UI

Defined in:
lib/puter/ui.rb

Instance Method Summary collapse

Instance Method Details

#error(message, color = :red) ⇒ Object



11
12
13
# File 'lib/puter/ui.rb', line 11

def error(message, color = :red)
  say(message, color)
end

#info(message, color = :bold) ⇒ Object



3
4
5
# File 'lib/puter/ui.rb', line 3

def info(message, color = :bold)
  say(message, color)
end

#remote_stderr(message, color = :orange) ⇒ Object



19
20
21
# File 'lib/puter/ui.rb', line 19

def remote_stderr(message, color = :orange)
  say(message, color)
end

#remote_stdout(message, color = :white) ⇒ Object



15
16
17
# File 'lib/puter/ui.rb', line 15

def remote_stdout(message, color = :white)
  say(message, color)
end

#warn(message, color = :yellow) ⇒ Object



7
8
9
# File 'lib/puter/ui.rb', line 7

def warn(message, color = :yellow)
  say(message, color)
end