Class: Ppl::Application::Command

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/ppl/application/command.rb', line 5

def description
  @description
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/ppl/application/command.rb', line 4

def name
  @name
end

#storageObject

Returns the value of attribute storage.



6
7
8
# File 'lib/ppl/application/command.rb', line 6

def storage
  @storage
end

Instance Method Details

#execute(input, output) ⇒ Object

Raises:

  • (NotImplementedError)


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

def execute(input, output)
  raise NotImplementedError
end

#options(parser, options) ⇒ Object



12
13
# File 'lib/ppl/application/command.rb', line 12

def options(parser, options)
end