class ActionView::PathSet

def typecast(paths)

Experimental RBS support (using type sampling data from the type_fusion project).

def typecast: (Array[ActionView::FileSystemResolver] paths) -> Array[ActionView::FileSystemResolver]

This signature was generated using 3 samples from 1 application.

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