Exception: Mongoid::Max::Denormalize::ConfigError
- Inherits:
-
StandardError
- Object
- StandardError
- Mongoid::Max::Denormalize::ConfigError
- Defined in:
- lib/mongoid/max/denormalize/config_error.rb
Instance Method Summary collapse
-
#initialize(summary, klass, relation = nil) ⇒ ConfigError
constructor
A new instance of ConfigError.
Constructor Details
#initialize(summary, klass, relation = nil) ⇒ ConfigError
Returns a new instance of ConfigError.
7 8 9 |
# File 'lib/mongoid/max/denormalize/config_error.rb', line 7 def initialize(summary, klass, relation=nil) super("[%s.denormalize%s] %s" % [klass, relation && " :#{relation}", summary]) end |