module Racket::Helpers::File
Helper module that handles files
Public Instance Methods
send_file(file, options = {})
click to toggle source
Sends the contents of a file to the client.
@param [String] file @param [Hash] options @return [Array]
# File lib/racket/helpers/file.rb, line 85 def send_file(file, options = {}) response = Response.new(Controller.context.utils, file, options).to_a respond!(*response) end