Sha256: c13c3961d586db0960993b65673187760211a466c410b161b5964f843f76c1d1
Contents?: true
Size: 662 Bytes
Versions: 246
Compression:
Stored size: 662 Bytes
Contents
# frozen_string_literal: true module EacCli class Parser class Alternative module OptionArgument private attr_accessor :argument_option def argument_option_collect_argv(option) self.argument_option = option self.phase = PHASE_OPTION_ARGUMENT end def option_argument_collect(option, value) collector.collect(option, value) self.argument_option = nil self.phase = PHASE_ANY option end def option_argument_collect_argv_value option_argument_collect(argument_option, argv_enum.peek) end end end end end
Version data entries
246 entries across 246 versions & 4 rubygems