Class: Swoop::CSVRenderer
- Defined in:
- lib/swoop/renderer/csv_renderer.rb
Instance Attribute Summary
Attributes inherited from Renderer
Instance Method Summary collapse
Methods inherited from Renderer
Constructor Details
This class inherits a constructor from Swoop::Renderer
Instance Method Details
#render ⇒ Object
7 8 9 10 |
# File 'lib/swoop/renderer/csv_renderer.rb', line 7 def render File.write(filename, csv) puts "CSV file successfully created at '#{filename}'" if File.file?(filename) end |