Class: Simplemsg::Application

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

Instance Method Summary collapse

Instance Method Details

#hello(name = "Joe") ⇒ Object



11
12
13
14
# File 'lib/simplemsg.rb', line 11

def hello(name = "Joe")
  puts "Hello #{name}"
  puts "My Wish: #{options[:wish]}" if options[:wish]
end