class ActiveFedora::UnknownAttributeError

Raised when attempting to access an attribute that has not been defined

Attributes

attribute[R]
record[R]

Public Class Methods

new(record, attribute, klass = nil) click to toggle source
Calls superclass method
# File lib/active_fedora/errors.rb, line 14
def initialize(record, attribute, klass = nil)
  @record = record
  @attribute = attribute
  super("unknown attribute '#{attribute}' for #{klass || @record.class}.")
end