Class: RailsDataExplorer::Utils::RdeTableRow
- Inherits:
-
Object
- Object
- RailsDataExplorer::Utils::RdeTableRow
- Defined in:
- lib/rails_data_explorer/utils/rde_table.rb
Instance Attribute Summary collapse
-
#cells ⇒ Object
Returns the value of attribute cells.
-
#css_class ⇒ Object
Returns the value of attribute css_class.
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(tag, cells, opts = {}) ⇒ RdeTableRow
constructor
A new instance of RdeTableRow.
Constructor Details
#initialize(tag, cells, opts = {}) ⇒ RdeTableRow
Returns a new instance of RdeTableRow.
36 37 38 39 40 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 36 def initialize(tag, cells, opts = {}) @tag = tag @cells =cells @css_class = opts[:css_class] end |
Instance Attribute Details
#cells ⇒ Object
Returns the value of attribute cells.
32 33 34 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 32 def cells @cells end |
#css_class ⇒ Object
Returns the value of attribute css_class.
33 34 35 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 33 def css_class @css_class end |
#tag ⇒ Object
Returns the value of attribute tag.
34 35 36 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 34 def tag @tag end |