Method: App::Config#forward

Defined in:
lib/app-ctx.rb

#forward(target) ⇒ Object

continue processing of command line with next argument from cmdline



45
46
47
48
49
50
51
# File 'lib/app-ctx.rb', line 45

def forward(target)
    begin
        (op = argv.shift) && target.send(op, self)
    rescue ArgumentError => e
        target.send(op)
    end
end