Class: Wink::CLI
- Inherits:
-
Object
- Object
- Wink::CLI
- Defined in:
- lib/wink/cli.rb
Instance Attribute Summary collapse
-
#argv ⇒ Object
Returns the value of attribute argv.
Instance Method Summary collapse
-
#initialize(argv) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ CLI
Returns a new instance of CLI.
7 8 9 |
# File 'lib/wink/cli.rb', line 7 def initialize(argv) self.argv = argv end |
Instance Attribute Details
#argv ⇒ Object
Returns the value of attribute argv.
5 6 7 |
# File 'lib/wink/cli.rb', line 5 def argv @argv end |
Instance Method Details
#run ⇒ Object
11 12 13 |
# File 'lib/wink/cli.rb', line 11 def run puts 'Hola!' end |