class Cl::RequiresOpts
Public Class Methods
new(opts)
click to toggle source
Calls superclass method
# File lib/cl/errors.rb, line 74 def initialize(opts) msg = opts.size == 1 ? :requires_opt : :requires_opts opts = opts.map { |one, other| "#{one} (required by #{other})" }.join(', ') super(msg, opts) end