lib/assert/file_line.rb in assert-2.19.0 vs lib/assert/file_line.rb in assert-2.19.1

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Assert class FileLine def self.parse(file_line_path) self.new(*(file_line_path.to_s.match(/(^[^\:]*)\:*(\d*).*$/) || [])[1..2]) end