Class: PDF::Reader::Filter::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/pdf/reader/filter/null.rb

Overview

implementation of the null stream filter

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Null

Returns a new instance of Null.



7
8
9
# File 'lib/pdf/reader/filter/null.rb', line 7

def initialize(options = {})
  @options = options
end

Instance Method Details

#filter(data) ⇒ Object



11
12
13
# File 'lib/pdf/reader/filter/null.rb', line 11

def filter(data)
  data
end