Sha256: d39d064e69bbbe3b6103ceb273d46121ab036573a985adae68473e4cd6dcaa27

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

module Kuzira
  class UnknownAttributeError < NoMethodError
    attr_reader :object, :attribute

    def initialize(object, attribute)
      @object = object
      @attribute = attribute
      super("unknown attribute '#{attribute}' for #{@object.class}.")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kuzira-0.1.0 lib/kuzira/errors.rb