Class: Command

Inherits:
Object
  • Object
show all
Defined in:
lib/gpi/classes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, pcount, options) ⇒ Command

Returns a new instance of Command.



4
5
6
7
8
# File 'lib/gpi/classes.rb', line 4

def initialize(name, pcount, options)
  @name = name
  @pcount = pcount
  @options = options
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/gpi/classes.rb', line 2

def name
  @name
end

#optionsObject

Returns the value of attribute options.



2
3
4
# File 'lib/gpi/classes.rb', line 2

def options
  @options
end

#pcountObject

Returns the value of attribute pcount.



2
3
4
# File 'lib/gpi/classes.rb', line 2

def pcount
  @pcount
end