# File lib/puppet/type/file.rb, line 295 295: def self.[](path) 296: return nil unless path 297: super(path.gsub(/\/+/, '/').sub(/\/$/, '')) 298: end