Class: Tmrw::SwitchCommand

Inherits:
Dry::CLI::Command
  • Object
show all
Includes:
Color
Defined in:
lib/tmrw/switch_command.rb

Instance Method Summary collapse

Methods included from Color

#blue, #green, #red

Instance Method Details

#call(name:) ⇒ Object



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

def call(name:, **)
  print "You have switched to ", green(name), " namespace\n"
end