Module: Semmy::Shell

Extended by:
Shell
Included in:
Shell
Defined in:
lib/semmy/shell.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#silenceObject

Returns the value of attribute silence.



7
8
9
# File 'lib/semmy/shell.rb', line 7

def silence
  @silence
end

Instance Method Details

#error(text) ⇒ Object



13
14
15
# File 'lib/semmy/shell.rb', line 13

def error(text)
  say(text, :red)
end

#info(text) ⇒ Object



9
10
11
# File 'lib/semmy/shell.rb', line 9

def info(text)
  say(text, :green)
end

#sub_process_output(text) ⇒ Object



17
18
19
# File 'lib/semmy/shell.rb', line 17

def sub_process_output(text)
  say(text, :yellow)
end