Class: ArticleFixtureGen::Exe::Trollop::OptionParser

Inherits:
Object
  • Object
show all
Defined in:
lib/article_fixture_gen/exe/option_parser/trollop.rb

Overview

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.

Class Method Summary collapse

Class Method Details

.callObject



18
19
20
21
# 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