Class: Wink::CLI

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argvObject

Returns the value of attribute argv.



5
6
7
# File 'lib/wink/cli.rb', line 5

def argv
  @argv
end

Instance Method Details

#runObject



11
12
13
# File 'lib/wink/cli.rb', line 11

def run
  puts 'Hola!'
end