A script that looks for obsolete URIs still in the code base.
This commit is contained in:
parent
1e2a9c575a
commit
1bf36caef7
6 changed files with 379 additions and 0 deletions
21
utilities/ISF-transition/obsoleteUris/event.rb
Normal file
21
utilities/ISF-transition/obsoleteUris/event.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue