Module: Tmrw::Color

Included in:
ConsoleCommand, ContainersCommand, NamespacesCommand, PublishCommand, SwitchCommand
Defined in:
lib/tmrw/color.rb

Instance Method Summary collapse

Instance Method Details

#blue(text) ⇒ Object



13
14
15
# File 'lib/tmrw/color.rb', line 13

def blue(text)
  Hanami::Utils::ShellColor.call(text, color: :blue)
end

#green(text) ⇒ Object



5
6
7
# File 'lib/tmrw/color.rb', line 5

def green(text)
  Hanami::Utils::ShellColor.call(text, color: :green)
end

#red(text) ⇒ Object



9
10
11
# File 'lib/tmrw/color.rb', line 9

def red(text)
  Hanami::Utils::ShellColor.call(text, color: :red)
end