Module: Sambot::Domain::UI

Defined in:
lib/sambot/domain/ui.rb

Class Method Summary collapse

Class Method Details

.debug(msg) ⇒ Object



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

def self.debug(msg)
  Thor.new.say("debug: #{msg}", :yellow)
end

.error(msg) ⇒ Object



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

def self.error(msg)
  Thor.new.say("error: #{msg}", :red)
end

.info(msg) ⇒ Object



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

def self.info(msg)
  Thor.new.say(" info: #{msg}", :green)
end