Module: JsImagePaths::Processor
- Defined in:
- lib/js_image_paths/processor.rb
Class Method Summary collapse
Class Method Details
.call(input) ⇒ Object
3 4 5 6 7 |
# File 'lib/js_image_paths/processor.rb', line 3 def self.call(input) JsImagePaths::Generator.context = input[:environment].context_class.new(input) if input[:name] == 'js_image_paths' {data: input[:data]} end |