Sha256: fb6e001fca91d222c9fc48b0b28fe0a1d74737091f460b0b53bc27222b9d7eaf

Contents?: true

Size: 296 Bytes

Versions: 5

Compression:

Stored size: 296 Bytes

Contents

# encoding: utf-8
module Mongoid
  module Max
    module Denormalize
      class ConfigError < ::StandardError

        def initialize(summary, klass, relation=nil)
          super("[%s.denormalize%s] %s" % [klass, relation && " :#{relation}", summary])
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mongoid_max_denormalize-0.0.7 lib/mongoid/max/denormalize/config_error.rb
mongoid_max_denormalize-0.0.6 lib/mongoid/max/denormalize/config_error.rb
mongoid_max_denormalize-0.0.5 lib/mongoid/max/denormalize/config_error.rb
mongoid_max_denormalize-0.0.4 lib/mongoid/max/denormalize/config_error.rb
mongoid_max_denormalize-0.0.3 lib/mongoid/max/denormalize/config_error.rb