Class: Racket::Helpers::File::Response
- Inherits:
-
Object
- Object
- Racket::Helpers::File::Response
- Defined in:
- lib/racket/helpers/file.rb
Overview
Class for sending files.
Instance Method Summary collapse
-
#initialize(utils, file, options) ⇒ Response
constructor
A new instance of Response.
-
#to_a ⇒ Array
Returns the current object as a Rack response array.
Constructor Details
Instance Method Details
#to_a ⇒ Array
Returns the current object as a Rack response array.
37 38 39 |
# File 'lib/racket/helpers/file.rb', line 37 def to_a @response.to_a end |