Sha256: 07db8236be691b3794296a224008073fbbd490ff086d24060ee877d97aff5c42
Contents?: true
Size: 494 Bytes
Versions: 12
Compression:
Stored size: 494 Bytes
Contents
module Sources # Source wrappers can be used to rewrite data before it goes into the index. # # For example if you want to normalize data. # module Wrappers # :nodoc:all class Base attr_reader :source # Wraps an indexing category. # def initialize source @source = source end # Default is delegation for all methods # delegate :harvest, :connect_backend, :take_snapshot, :key_format, :to => :source end end end
Version data entries
12 entries across 12 versions & 1 rubygems