Sha256: 3ef16703d58dd5f77c616a64758981215c679e842b796aac4575d2a97a613319
Contents?: true
Size: 342 Bytes
Versions: 1
Compression:
Stored size: 342 Bytes
Contents
require 'easy_opt_parser/domain/cli_option' module EOP class RequiredOption < CLIOption def initialize(name:, short:, long:, description:, default_value: '') @name = name @short = short @long = long @description = "#{description} *" @default_value = default_value @required = true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
easy_opt_parser-0.0.1 | lib/easy_opt_parser/domain/required_option.rb |