Class: Kozo::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/kozo/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration, *args) ⇒ Command

Returns a new instance of Command.



10
11
12
13
# File 'lib/kozo/command.rb', line 10

def initialize(configuration, *args)
  @configuration = configuration
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



7
8
9
# File 'lib/kozo/command.rb', line 7

def args
  @args
end

#configurationObject

Returns the value of attribute configuration.



8
9
10
# File 'lib/kozo/command.rb', line 8

def configuration
  @configuration
end

Instance Method Details

#startObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/kozo/command.rb', line 15

def start
  raise NotImplementedError
end