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.
33 34 35 36 37 |
# File 'lib/rails-data-explorer/utils/rde_table.rb', line 33 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.
29 30 31 |
# File 'lib/rails-data-explorer/utils/rde_table.rb', line 29 def cells @cells end |
#css_class ⇒ Object
Returns the value of attribute css_class.
30 31 32 |
# File 'lib/rails-data-explorer/utils/rde_table.rb', line 30 def css_class @css_class end |
#tag ⇒ Object
Returns the value of attribute tag.
31 32 33 |
# File 'lib/rails-data-explorer/utils/rde_table.rb', line 31 def tag @tag end |