method
typecast!
v3.0.0 -
Show latest stable
- Class:
ActionView::PathSet
typecast!()protected
No documentation available.
# File actionpack/lib/action_view/paths.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] = FileSystemResolver.new(path)
end
end