Class: Orphic::Mjolnir

Inherits:
Thor
  • Object
show all
Defined in:
lib/orphic/cli.rb

Instance Method Summary collapse

Instance Method Details

#hello(name) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/orphic/cli.rb', line 17

def hello( name )
  greeting = "Hello, #{name}"
  greeting.upcase! if options[:upcase]
  CLI::UI::Frame.open( greeting ) do
    puts greeting + " from the frame"
  end
end