A script that looks for obsolete URIs still in the code base.

This commit is contained in:
j2blake 2013-10-21 17:01:57 -04:00
parent 1e2a9c575a
commit 1bf36caef7
6 changed files with 379 additions and 0 deletions

View file

@ -0,0 +1,21 @@
class Event
# ------------------------------------------------------------------------------------
private
# ------------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------
public
# ------------------------------------------------------------------------------------
def initialize(path, line_number, line, string)
@path = path
@line_number = line_number
@line = line
@string = string
@is_localname = string[0] == ?:
end
def to_s()
"#{@path} \n #{@line_number} #{@line} \n #{@string} #{@is_localname ? "Localname" : "URI"}"
end
end