# File lib/cucumber/ast/location.rb, line 7definitialize(file, line)
@file = file||raise(ArgumentError, "file is mandatory")
@line = line||raise(ArgumentError, "line is mandatory")
end
Public Instance Methods
on_line(new_line)click to toggle source
# File lib/cucumber/ast/location.rb, line 16defon_line(new_line)
Location.new(file, new_line)
end
to_s()click to toggle source
# File lib/cucumber/ast/location.rb, line 12defto_s"#{file}:#{line}"end