Sha256: 5f19485bf0de6c4f8a0a9cbce4b162d58d646b107b8daa07be862399980d0a76
Contents?: true
Size: 783 Bytes
Versions: 11
Compression:
Stored size: 783 Bytes
Contents
class CustomPost < ActiveRecord::Base self.table_name = :posts include SpreadsheetArchitect def spreadsheet_columns [ :name, ['The Content', :content], :created_at, ['Created At Date', created_at.to_date], [:asd, 'tadaaa'] ] end SPREADSHEET_OPTIONS = { headers: true, header_style: {background_color: 'AAAAAA', color: 'FFFFFF', align: :center, font_name: 'Arial', font_size: 10, bold: false, italic: false, underline: false}, row_style: {background_color: nil, color: '000000', align: :left, font_name: 'Arial', font_size: 10, bold: false, italic: false, underline: false}, sheet_name: 'My Project Export', column_styles: [], range_styles: [], merges: [], borders: [], column_types: [] } end
Version data entries
11 entries across 11 versions & 1 rubygems