method

inside_path?

Importance_0
v5.0.0.1 - 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 236
    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.