Exception: BigRecord::AttributeAssignmentError

Inherits:
BigRecordError show all
Defined in:
lib/big_record/model.rb

Overview

:nodoc:

Instance Attribute Summary

Instance Method Summary

Constructor Details

- (AttributeAssignmentError) initialize(message, exception, attribute)

A new instance of AttributeAssignmentError



42
43
44
45
46
# File 'lib/big_record/model.rb', line 42

def initialize(message, exception, attribute)
  @exception = exception
  @attribute = attribute
  @message = message
end

Instance Attribute Details

- (Object) attribute (readonly)

Returns the value of attribute attribute



41
42
43
# File 'lib/big_record/model.rb', line 41

def attribute
  @attribute
end

- (Object) exception (readonly)

Returns the value of attribute exception



41
42
43
# File 'lib/big_record/model.rb', line 41

def exception
  @exception
end