class Cucumber::Core::Ast::Location::Lines

def first_and_last(something)

def first_and_last(something)
  [0, -1].map(&something)
end