Method: Bookwatch::Streams::FilterStream#initialize
- Defined in:
- lib/bookwatch/streams/filter_stream.rb
#initialize(matcher_regex, stream) ⇒ FilterStream
Returns a new instance of FilterStream.
4 5 6 7 |
# File 'lib/bookwatch/streams/filter_stream.rb', line 4 def initialize(matcher_regex, stream) @matcher_regex = matcher_regex @stream = stream end |