Top Level Namespace

Defined Under Namespace

Modules: Optopus Classes: OptionParser

Instance Method Summary collapse

Instance Method Details

#optopus(&block) ⇒ Object

Optopus



317
318
319
320
321
# File 'lib/optopus.rb', line 317

def optopus(&block)
  opts = Optopus::Options.new
  Optopus::DefinerContext.evaluate(opts, &block)
  opts.parse!
end