Class: Envo::ParsedCmd

Inherits:
Object
  • Object
show all
Defined in:
lib/envo/parsed_cmd.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cmdObject (readonly)

Returns the value of attribute cmd.



7
8
9
# File 'lib/envo/parsed_cmd.rb', line 7

def cmd
  @cmd
end

#optsObject

Returns the value of attribute opts.



8
9
10
# File 'lib/envo/parsed_cmd.rb', line 8

def opts
  @opts
end