class TableTransform::Table::Cell

Cell within Table::Row

Public Instance Methods

include_any?(list) click to toggle source

@returns true if this cell includes any of the given values in list

# File lib/table_transform/table.rb, line 180
def include_any?(list)
  list.inject(false){|res, x| res | (self.include? x)}
end