Sha256: 0422d46c87d398f9110b670bb9a9af22caedcdb8a65ef7dffc03efe05249a5cc
Contents?: true
Size: 456 Bytes
Versions: 8
Compression:
Stored size: 456 Bytes
Contents
require 'active_fedora/noid/version' require 'active_fedora/noid/config' require 'active_fedora/noid/service' require 'active_fedora/noid/synchronized_minter' module ActiveFedora module Noid class << self def configure(&block) yield config end def config @config ||= Config.new end def treeify(identifier) (identifier.scan(/..?/).first(4) + [identifier]).join('/') end end end end
Version data entries
8 entries across 8 versions & 1 rubygems