class Bright::UnknownAttributeError

Attributes

attribute[R]
record[R]

Public Class Methods

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