method

typecast!

rails latest stable - Class: ActionView::PathSet

Method deprecated or moved

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

typecast!()
protected

No documentation available.

# File actionpack/lib/action_view/path_set.rb, line 34
    def typecast!
      each_with_index do |path, i|
        path = path.to_s if path.is_a?(Pathname)
        next unless path.is_a?(String)
        self[i] = OptimizedFileSystemResolver.new(path)
      end
    end