class Cucumber::Ast::Location
def initialize(file, line)
def initialize(file, line) @file = file || raise(ArgumentError, "file is mandatory") @line = line || raise(ArgumentError, "line is mandatory") end
def on_line(new_line)
def on_line(new_line) Location.new(file, new_line) end
def to_s
def to_s "#{file}:#{line}" end