Module: InfoHelpers

Defined in:
lib/potassium/helpers/info-helpers.rb

Instance Method Summary collapse

Instance Method Details

#error(message) ⇒ Object



7
8
9
10
# File 'lib/potassium/helpers/info-helpers.rb', line 7

def error(message)
  say(message, :red)
  false
end

#info(message) ⇒ Object



12
13
14
15
# File 'lib/potassium/helpers/info-helpers.rb', line 12

def info(message)
  say(message, :yellow)
  true
end

#success(message) ⇒ Object



2
3
4
5
# File 'lib/potassium/helpers/info-helpers.rb', line 2

def success(message)
  say(message, :green)
  true
end