Sha256: 4919a117af51304e418fdd22a94c44a71a859a6e6082c8d0c9546909dbb7164e
Contents?: true
Size: 1.74 KB
Versions: 1
Compression:
Stored size: 1.74 KB
Contents
require 'easy_opt_parser/domain/no_required_option' require 'easy_opt_parser/domain/required_option' require 'easy_opt_parser' def given_a_required_option EOP::RequiredOption.new(name: 'path', short: '-p', long: '--path', description: 'Some description here') end def given_options [ EOP::RequiredOption.new(name: 'path', short: '-p', long: '--path', description: 'Some description here') ] end def given_duplicated_options_by_name [ EOP::RequiredOption.new(name: 'path', short: '-p', long: '--path', description: 'Some description here'), EOP::RequiredOption.new(name: 'path', short: '-o', long: '--other', description: 'Some other description here') ] end def given_duplicated_options_by_short [ EOP::RequiredOption.new(name: 'path', short: '-p', long: '--path', description: 'Some description here'), EOP::RequiredOption.new(name: 'other_path', short: '-p', long: '--other', description: 'Some other description here') ] end def given_duplicated_options_by_long [ EOP::RequiredOption.new(name: 'path', short: '-p', long: '--path', description: 'Some description here'), EOP::RequiredOption.new(name: 'other_path', short: '-o', long: '--path', description: 'Some other description here') ] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
easy_opt_parser-0.0.1 | tests/test_helper.rb |