Class: CsvContent

Inherits:
Object
  • Object
show all
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

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, options = nil
  ''
end


11
12
13
# File 'lib/data_grid/csv_exporter.rb', line 11

def link_to name, options=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