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.



9
10
11
# File 'lib/pdf/reader/filter/null.rb', line 9

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

Instance Method Details

#filter(data) ⇒ Object



13
14
15
# File 'lib/pdf/reader/filter/null.rb', line 13

def filter(data)
  data
end