class Lingo::Filter

Public Class Methods

new(io, encoding = ENCODING) click to toggle source
# File lib/lingo/filter.rb, line 30
def initialize(io, encoding = ENCODING)
  @io, @encoding = io, encoding
end

Public Instance Methods

close() click to toggle source
# File lib/lingo/filter.rb, line 38
def close
  @io.close
end
each() click to toggle source
# File lib/lingo/filter.rb, line 34
def each
  raise NotImplementedError, 'must be implemented by subclass'
end