Sha256: 8ca9689bf148a02aacd4a80a39e8de08061be9087b67d6e933d39061ace6981f
Contents?: true
Size: 588 Bytes
Versions: 3
Compression:
Stored size: 588 Bytes
Contents
require 'logger' require 'marc4j4r' $LOG = Logger.new(STDOUT) $LOG.level = Logger::WARN require "marcspec/customspec" require "marcspec/solrfieldspec" require "marcspec/constantspec" require "marcspec/kvmap" require "marcspec/multivaluemap" require "marcspec/specset" require "marcspec/marcfieldspec" # Build up a little module to include in MARC4J4R::Record that # gives us a way to cache computed values within the record itself # It's just a hash. module CacheSpot def cachespot @_cachespot ||= {} return @_cachespot end end MARC4J4R::Record.send(:include, CacheSpot)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
marcspec-1.1.1 | lib/marcspec.rb |
marcspec-1.1.0 | lib/marcspec.rb |
marcspec-1.0.0 | lib/marcspec.rb |