Module: Justools

Defined in:
lib/justools.rb,
lib/justools/core_ext/array/args_and_opts.rb

Constant Summary collapse

ARGS_AND_OPTS_REGEXP =
/^#{%w(arg(?:ument)?s opt(?:ion)?s).
zip(Array.new(2, "(?:_with_(\\w+))?")).
map(&:join) * '_and_'}!?$/