Sha256: a21a13f70838c00acf2c467ffa16c65ab0659f63f15fb9cc8f9749b94fe8e512
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 Bytes
Contents
module Redlander class ParserProxy include StreamEnumerator def initialize(parser, content, options = {}) # TODO: consider a streaming content, as it may be large to fit in memory @parser = parser @content = content @options = options end private def reset_stream @stream = Stream.new(@parser, @content, @options) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
redlander-0.3.5 | lib/redlander/parser_proxy.rb |
redlander-0.3.3 | lib/redlander/parser_proxy.rb |
redlander-0.3.2 | lib/redlander/parser_proxy.rb |
redlander-0.3.1 | lib/redlander/parser_proxy.rb |