method
inside_path?
rails latest stable - Class:
ActionView::PathResolver
inside_path?(path, filename)private
No documentation available.
# File actionview/lib/action_view/template/resolver.rb, line 275
def inside_path?(path, filename)
filename = File.expand_path(filename)
path = File.join(path, "")
filename.start_with?(path)
end