Sha256: 43e502a3600026db9a665a96e562988bd3a8a33f9162ffcc0dd734f5442b4893
Contents?: true
Size: 453 Bytes
Versions: 14
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module EacCli module Runner 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 show_on_usage? options[:usage] end end end end
Version data entries
14 entries across 14 versions & 2 rubygems