Class: Mongoid::Sadstory::Errors::MultiparameterAssignmentErrors
- Inherits:
-
Errors::MongoidError
- Object
- Errors::MongoidError
- Mongoid::Sadstory::Errors::MultiparameterAssignmentErrors
- Defined in:
- lib/mongoid/sadstory.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ MultiparameterAssignmentErrors
constructor
A new instance of MultiparameterAssignmentErrors.
Constructor Details
#initialize(errors) ⇒ MultiparameterAssignmentErrors
Returns a new instance of MultiparameterAssignmentErrors.
29 30 31 |
# File 'lib/mongoid/sadstory.rb', line 29 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
27 28 29 |
# File 'lib/mongoid/sadstory.rb', line 27 def errors @errors end |