Class: Optitron::Dsl::CmdParserDsl

Inherits:
AbstractDsl show all
Defined in:
lib/optitron/dsl.rb

Instance Method Summary collapse

Methods inherited from AbstractDsl

#arg, #configure_with, #opt, #short_opts

Constructor Details

#initialize(root_dsl, command) ⇒ CmdParserDsl

Returns a new instance of CmdParserDsl.



39
40
41
42
# File 'lib/optitron/dsl.rb', line 39

def initialize(root_dsl, command)
  @root_dsl = root_dsl
  @target = command
end