Sha256: 34049fdf71aa4ada2cd179e111cacda9526431f8f7bb9e56f630199f83e37a09
Contents?: true
Size: 505 Bytes
Versions: 14
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module EacCli class Parser class Alternative module AnyOptions delegate :any_option?, to: :alternative # @return [EacCli::Definition::BooleanOption] if #any_option? is true. # @raise [EacCli::Parser::Error] if #any_option? is false. def any_option_collect_option any_option? ? alternative.any_options_option : raise_argv_current_invalid_option end end end end end
Version data entries
14 entries across 14 versions & 2 rubygems