class ActionView::PathSet

def typecast(paths)

def typecast(paths)
  paths.map do |path|
    case path
    when Pathname, String
      FileSystemResolver.new path.to_s
    else
      path
    end
  end
end