class GlobalID::Locator::BlockLocator
def initialize(block)
def initialize(block) @locator = block end
def locate(gid)
def locate(gid) @locator.call(gid) end
def locate_many(gids, options = {})
def locate_many(gids, options = {}) gids.map { |gid| locate(gid) } end