module ArticleFixtureGen::Exe::Trollop::OptionParser::Internals
Stateless methods
Public Class Methods
all_specs()
click to toggle source
NOTE: This is only “direct” user of `OptionSpec`, which is only
direct user of `OptionSpecItem`.
# File lib/article_fixture_gen/exe/option_parser/trollop.rb, line 27 def self.all_specs YAML.load_file 'data/all_specs.yml' end
result_from(option_data)
click to toggle source
# File lib/article_fixture_gen/exe/option_parser/trollop.rb, line 31 def self.result_from(option_data) # validate(option_data) Validator.call option_data Result.new modified: option_data.modified, options: option_data.options end