Sha256: 4203cc960d6a3224e1fbe0f72cbdb54e276f8fed676914f927800dfaa0a69355
Contents?: true
Size: 476 Bytes
Versions: 53
Compression:
Stored size: 476 Bytes
Contents
require_relative 'scripting/args_helpers' require_relative 'scripting/argument' require_relative 'scripting/arguments' module Eco class CLI class Scripting include Scripting::ArgsHelpers def args_contain?(*values) match?(ARGV, patterns, [:any, :or, :insensitive, :pattern]) end def modifiers(*values) values.select { |arg| is_modifier?(arg) } end end end end SCR = Eco::CLI::Scripting.new
Version data entries
53 entries across 53 versions & 1 rubygems