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.



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

#cellsObject

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_classObject

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

#tagObject

Returns the value of attribute tag.



34
35
36
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 34

def tag
  @tag
end