lib/assert/file_line.rb in assert-2.17.0 vs lib/assert/file_line.rb in assert-2.18.0
- old
+ new
@@ -1,9 +1,7 @@
module Assert
-
class FileLine
-
def self.parse(file_line_path)
self.new(*(file_line_path.to_s.match(/(^[^\:]*)\:*(\d*).*$/) || [])[1..2])
end
attr_reader :file, :line
@@ -22,9 +20,7 @@
self.line == other_file_line.line
else
super
end
end
-
end
-
end