class Sprockets::FileReader

def self.call(input)

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

def self.call: (Hash input) -> Hash

This signature was generated using 1 sample from 1 application.

def self.call(input)
  env = input[:environment]
  data = env.read_file(input[:filename], input[:content_type])
  dependencies = Set.new(input[:metadata][:dependencies])
  dependencies += [env.build_file_digest_uri(input[:filename])]
  { data: data, dependencies: dependencies }
end