moduleActiveSupport#:nodoc:moduleCoreExtensions#:nodoc:modulePathname#:nodoc:moduleCleanWithin# Clean the paths contained in the provided string.defclean_within(string)string.gsub(%r{[\w. ]+(/[\w. ]+)+(\.rb)?(\b|$)})do|path|new(path).cleanpathendendendendendend