Class: Envo::ParsedCmd
- Inherits:
-
Object
- Object
- Envo::ParsedCmd
- Defined in:
- lib/envo/parsed_cmd.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
readonly
Returns the value of attribute cmd.
-
#opts ⇒ Object
Returns the value of attribute opts.
Instance Method Summary collapse
-
#initialize(cmd, opts) ⇒ ParsedCmd
constructor
A new instance of ParsedCmd.
Constructor Details
#initialize(cmd, opts) ⇒ ParsedCmd
Returns a new instance of ParsedCmd.
3 4 5 6 |
# File 'lib/envo/parsed_cmd.rb', line 3 def initialize(cmd, opts) @cmd = cmd @opts = opts end |
Instance Attribute Details
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
7 8 9 |
# File 'lib/envo/parsed_cmd.rb', line 7 def cmd @cmd end |
#opts ⇒ Object
Returns the value of attribute opts.
8 9 10 |
# File 'lib/envo/parsed_cmd.rb', line 8 def opts @opts end |