Class: RailsDataExplorer::Utils::RdeTable

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_data_explorer/utils/rde_table.rb

Overview

Responsibilities:

* Provide classes to describe tables:
   rde_table.rows
     rde_row.css_class
     rde_row.tag
     rde_row.cells
       rde_cell.css_class
       rde_cell.ruby_formatter
       rde_cell.style
       rde_cell.tag
       rde_cell.title
       rde_cell.value

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rows) ⇒ RdeTable

Returns a new instance of RdeTable.



23
24
25
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 23

def initialize(rows)
  @rows = rows
end

Instance Attribute Details

#rowsObject

Returns the value of attribute rows.



21
22
23
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 21

def rows
  @rows
end