class Streamer::Finder
Finder
maintains a consistent interface for all of the fact_providers It allows the Stream
to have a consistent finding pattern.
Attributes
fact_provider[R]
Public Class Methods
new(provider = nil)
click to toggle source
# File lib/streamer/finder.rb, line 9 def initialize(provider = nil) return @fact_provider = provider if provider @fact_provider = Streamer::FactProviders::HashProvider.new end