class Cl::RequiredsOpts

Public Class Methods

new(opts) click to toggle source
Calls superclass method
# File lib/cl/errors.rb, line 67
def initialize(opts)
  opts = opts.map { |alts| alts.map { |alt| Array(alt).join(' and ') }.join(', or ' ) }
  super(:requires_opts, opts.join('; '))
end