module HashIdentable::Locator

Public Class Methods

find(key, find_method=:find) click to toggle source
# File lib/hash_identable/locator.rb, line 5
def self.find(key, find_method=:find)
  identity = Identity.find(key)
  return identity.klass_constant.send(find_method, identity.id)
end