Class: ParticleCMD::Result
- Inherits:
-
Object
- Object
- ParticleCMD::Result
- Defined in:
- lib/particlecmd/result.rb
Instance Attribute Summary collapse
-
#extra ⇒ Object
Returns the value of attribute extra.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#options ⇒ Object
Returns the value of attribute options.
-
#positionals ⇒ Object
Returns the value of attribute positionals.
Instance Method Summary collapse
-
#initialize ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize ⇒ Result
Returns a new instance of Result.
4 5 6 7 8 9 |
# File 'lib/particlecmd/result.rb', line 4 def initialize @extra = [] @positionals = {} @flags = {} @options = {} end |
Instance Attribute Details
#extra ⇒ Object
Returns the value of attribute extra.
2 3 4 |
# File 'lib/particlecmd/result.rb', line 2 def extra @extra end |
#flags ⇒ Object
Returns the value of attribute flags.
2 3 4 |
# File 'lib/particlecmd/result.rb', line 2 def flags @flags end |
#options ⇒ Object
Returns the value of attribute options.
2 3 4 |
# File 'lib/particlecmd/result.rb', line 2 def @options end |
#positionals ⇒ Object
Returns the value of attribute positionals.
2 3 4 |
# File 'lib/particlecmd/result.rb', line 2 def positionals @positionals end |