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