Sha256: 0dd560ee5696d61486b895bbe06d854ef6389b905fed021c1c883a4c706b4d53
Contents?: true
Size: 525 Bytes
Versions: 26
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module EacCli class Definition class BaseOption attr_reader :short, :long, :description, :options def initialize(short, long, description, options = {}) @short = short @long = long @description = description @options = options.with_indifferent_access end def identifier long.to_s.variableize.to_sym end def show_on_usage? options[:usage] end end end end
Version data entries
26 entries across 26 versions & 3 rubygems