Class: RailsDataExplorer::Utils::RdeTableRow

Inherits:
Object
  • Object
show all
Defined in:
lib/rails-data-explorer/utils/rde_table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cellsObject

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_classObject

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

#tagObject

Returns the value of attribute tag.



31
32
33
# File 'lib/rails-data-explorer/utils/rde_table.rb', line 31

def tag
  @tag
end