class ArticleFixtureGen::Exe::Trollop::OptionParser

Parse command-line options using Trollop. Note that Trollop is one-shot stateful; it is apparently not possible to reset/rewind status once a command line has been parsed without writing directly to ARGV.

Public Class Methods

call() click to toggle source
# File lib/article_fixture_gen/exe/option_parser/trollop.rb, line 18
def self.call
  option_data = OptionsAndMods.call Internals.all_specs
  Internals.result_from option_data
end