Method: Refile.processors
- Defined in:
- lib/refile.rb
.processors ⇒ Hash{String => Proc}
A global registry of processors. These will be used by the Rack application to manipulate files prior to serving them up to the user, based on options sent trough the URL. This can be used for example to resize images or to convert files to another file format.
145 146 147 |
# File 'lib/refile.rb', line 145 def processors @processors ||= {} end |