Clean the paths contained in the provided string.
# File lib/active_support/core_ext/pathname/clean_within.rb, line 6 def clean_within(string) string.gsub(%{[\w. ]+(/[\w. ]+)+(\.rb)?(\b|$)}) do |path| new(path).cleanpath end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.