Sha256: 5b094fc8d09b2f84b45d74f6d3720b1cd9f06fca04d04cc081749e62c80730bf
Contents?: true
Size: 496 Bytes
Versions: 14
Compression:
Stored size: 496 Bytes
Contents
module Ezid class ProxyIdentifier warn "[DEPRECATION] `Ezid::ProxyIdentifier` is deprecated and will be removed in v2.0. Use `Ezid::Identifier` instead. (called from #{caller.first})" attr_reader :id attr_accessor :__real def initialize(id) @id = id @__real = nil end protected def method_missing(name, *args, &block) if __real.nil? self.__real = Identifier.find(id) end __real.send(name, *args, &block) end end end
Version data entries
14 entries across 14 versions & 1 rubygems