module Cucumber::Ast::HasLocation
def file
def file location.file end
def file_colon_line
def file_colon_line location.to_s end
def line
def line location.line end
def location
def location raise('Please set @location in the constructor') unless @location raise("@location must be an Ast::Location but is a #{@location.class}") unless @location.is_a?(Location) @location end