Sha256: 114c94dd8a73d3a2306afec2e7a54d5913f4dbc37bbdf3675183f8f6355383d9
Contents?: true
Size: 407 Bytes
Versions: 6
Compression:
Stored size: 407 Bytes
Contents
# frozen_string_literal: true require 'eac_cli/definition/option' module EacCli class Definition class ArgumentOption < ::EacCli::Definition::Option def argument? true end def build_value(new_value, previous_value) repeat? ? previous_value + [new_value] : new_value end def default_default_value repeat? ? [] : nil end end end end
Version data entries
6 entries across 6 versions & 2 rubygems