Class: BarkestCore::CsvHandler::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/barkest_core/handlers/csv_handler.rb

Class Method Summary collapse

Class Method Details

.call(template) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/barkest_core/handlers/csv_handler.rb', line 20

def self.call (template)
  %{
    BarkestCore::CsvHandler::CsvGenerator.generate do |csv|
      #{template.source}
    end
  }
end