method

inside_path?

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActionView::PathResolver
inside_path?(path, filename) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/template/resolver.rb, line 231
    def inside_path?(path, filename)
      filename = File.expand_path(filename)
      path = File.join(path, '')
      filename.start_with?(path)
    end
Register or log in to add new notes.