class Cucumber::Ast::Table

def map_headers(mappings={})

Returns a new Table where the headers are redefined. See #map_headers!
def map_headers(mappings={})
  table = self.dup
  table.map_headers!(mappings)
  table
end