class Cl::InvalidFormat

Public Class Methods

new(opts) click to toggle source
Calls superclass method
# File lib/cl/errors.rb, line 89
def initialize(opts)
  opts = opts.map { |opt, format| "#{opt} (format: #{format})" }.join(', ')
  super(:invalid_format, opts)
end