Sha256: 96ac0650464ba8b5c5f19e0cece27172859535085ffd386d5b4c48e59c645598
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
module Streamer # Finder maintains a consistent interface for all of the fact_providers # It allows the Stream to have a consistent finding pattern. class Finder extend Forwardable attr_reader :fact_provider delegate find: :fact_provider def initialize(provider = nil) return @fact_provider = provider if provider @fact_provider = Streamer::FactProviders::HashProvider.new end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
streamer-0.2.1 | lib/streamer/finder.rb |
streamer-0.2.0 | lib/streamer/finder.rb |
streamer-0.1.1 | lib/streamer/finder.rb |
streamer-0.1.0 | lib/streamer/finder.rb |