class ROM::MapperRegistry

@private

Public Class Methods

element_not_found_error() click to toggle source

@api private

# File lib/rom/mapper_registry.rb, line 11
def self.element_not_found_error
  MapperMissingError
end

Public Instance Methods

[](*args) click to toggle source

@see Registry @api public

Calls superclass method
# File lib/rom/mapper_registry.rb, line 23
def [](*args)
  if args[0].is_a?(Symbol)
    super
  else
    cache.fetch_or_store(args.hash) { compiler.(*args) }
  end
end