Class: Lingo::Filter
- Inherits:
-
Object
- Object
- Lingo::Filter
- Defined in:
- lib/lingo/filter.rb,
lib/lingo/filter/pdf.rb,
lib/lingo/filter/xml.rb
Defined Under Namespace
Instance Method Summary collapse
- #close ⇒ Object
- #each ⇒ Object
-
#initialize(io, encoding = ENCODING) ⇒ Filter
constructor
A new instance of Filter.
Constructor Details
Instance Method Details
#close ⇒ Object
39 40 41 |
# File 'lib/lingo/filter.rb', line 39 def close @io.close end |
#each ⇒ Object
35 36 37 |
# File 'lib/lingo/filter.rb', line 35 def each raise NotImplementedError, 'must be implemented by subclass' end |