Sha256: e3d98127592e403762d92ffa432a6513c70fc3e6609f64cff3d25289b684ae38

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require 'easy_opt_parser/domain/cli_option'

module EOP
  class NoRequiredOption < CLIOption
    def initialize(name:, short:, long:, description:, default_value: '')
      @name = name
      @short = short
      @long = long
      @description = description
      @default_value = default_value
      @required = false
    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/no_required_option.rb