Class: Gaman::Foo

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

Instance Method Summary collapse

Instance Method Details

#bar(name) ⇒ Object



19
20
21
22
23
# File 'lib/gaman/cli.rb', line 19

def bar(name)
  greeting = "Hello, #{name}"
  greeting.upcase! if options[:upcase]
  puts greeting
end