Class: Gaman::Foo
- Inherits:
-
Thor
- Object
- Thor
- Gaman::Foo
- 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 (name) greeting = "Hello, #{name}" greeting.upcase! if [:upcase] puts greeting end |