Class: Command
- Inherits:
-
Object
- Object
- Command
- Defined in:
- lib/gpi/classes.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#pcount ⇒ Object
Returns the value of attribute pcount.
Instance Method Summary collapse
-
#initialize(name, pcount, options) ⇒ Command
constructor
A new instance of Command.
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, ) @name = name @pcount = pcount @options = end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/gpi/classes.rb', line 2 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
2 3 4 |
# File 'lib/gpi/classes.rb', line 2 def @options end |
#pcount ⇒ Object
Returns the value of attribute pcount.
2 3 4 |
# File 'lib/gpi/classes.rb', line 2 def pcount @pcount end |