Module: Sambot::Domain::Common::UI

Included in:
Commands::Cookbook
Defined in:
lib/sambot/domain/common/ui.rb

Instance Method Summary collapse

Instance Method Details

#debug(msg) ⇒ Object



6
7
8
# File 'lib/sambot/domain/common/ui.rb', line 6

def debug(msg)
  say("debug: #{msg}", :yellow)
end

#error(msg) ⇒ Object



14
15
16
# File 'lib/sambot/domain/common/ui.rb', line 14

def error(msg)
  say("error: #{msg}", :red)
end

#info(msg) ⇒ Object



10
11
12
# File 'lib/sambot/domain/common/ui.rb', line 10

def info(msg)
  say(" info: #{msg}", :green)
end