class TTY::Table::Operation::Filter

@api private
A class responsible for transforming table field

def call(field, row, col)

Other tags:
    Api: - public

Parameters:
  • col (Integer) --
  • row (Integer) --
  • field (TTY::Table::Field) --
def call(field, row, col)
  @filter.call(field.content, row, col)
end

def initialize(filter)

Other tags:
    Api: - public
def initialize(filter)
  @filter = filter
end