class Portable::Modeling::DataTable
Defines all the options for the data grid within an export like columns, whether or not you want to include headers, and more.
Attributes
auto[R]
auto?[R]
columns[R]
include_headers[R]
include_headers?[R]
Public Class Methods
new(auto: true, columns: [], include_headers: true)
click to toggle source
# File lib/portable/modeling/data_table.rb, line 24 def initialize(auto: true, columns: [], include_headers: true) @auto = auto || false @columns = Column.array(columns) @include_headers = include_headers || false freeze end