method

escape_entry

rails latest stable - Class: ActionView::PathResolver

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

escape_entry(entry)
private

No documentation available.

# File actionview/lib/action_view/template/resolver.rb, line 302
      def escape_entry(entry)
        entry.gsub(/[*?{}\[\]]/, '\\\&')
      end