lib/aranha/parsers/source_address/file.rb in aranha-parsers-0.22.0 vs lib/aranha/parsers/source_address/file.rb in aranha-parsers-0.23.0
- old
+ new
@@ -13,10 +13,10 @@
source.to_s.start_with?("#{SCHEME}/", '/')
end
end
def initialize(source)
- super source.to_s.gsub(/\A#{Regexp.quote(SCHEME)}/, '')
+ super(source.to_s.gsub(/\A#{Regexp.quote(SCHEME)}/, ''))
end
def url
"#{SCHEME}#{source}"
end