class Lingo::Filter

Public Class Methods

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

Public Instance Methods

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