class Rack::Files
def initialize(root, headers = {}, default_mime = 'text/plain')
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (String root, ?Hash headers, ?String default_mime) -> void
This signature was generated using 2 samples from 1 application.
def initialize(root, headers = {}, default_mime = 'text/plain') @root = (::File.expand_path(root) if root) @headers = headers @default_mime = default_mime @head = Rack::Head.new(lambda { |env| get env }) end