Class: CsvContent
- Inherits:
-
Object
- Object
- CsvContent
- Includes:
- ActionView::Helpers::FormTagHelper, ActionView::Helpers::TagHelper
- Defined in:
- lib/data_grid/csv_exporter.rb
Overview
Module used to export data to CSV
Instance Method Summary collapse
- #image_tag(name, options = nil) ⇒ Object
- #link_to(name, options = nil, extra = nil) ⇒ Object
- #raw(s = '') ⇒ Object
Instance Method Details
#image_tag(name, options = nil) ⇒ Object
7 8 9 |
# File 'lib/data_grid/csv_exporter.rb', line 7 def image_tag name, = nil '' end |
#link_to(name, options = nil, extra = nil) ⇒ Object
11 12 13 |
# File 'lib/data_grid/csv_exporter.rb', line 11 def link_to name, =nil, extra=nil name end |
#raw(s = '') ⇒ Object
15 16 17 |
# File 'lib/data_grid/csv_exporter.rb', line 15 def raw s='' s.to_s.gsub('<br />', ', ') end |