Method: TableSetting::Sheet#to_html
- Defined in:
- lib/table_setting/sheet.rb
#to_html ⇒ Object
58 59 60 61 62 63 64 65 66 67 |
# File 'lib/table_setting/sheet.rb', line 58 def to_html <<-HTML <style type="text/css"> #{css_styles} </style> <table class="grid-sheet"> #{rows.map(&:to_html).join("\n")} </table> HTML end |