Class: RailsDataExplorer::Utils::RdeTableCell
- Inherits:
-
Object
- Object
- RailsDataExplorer::Utils::RdeTableCell
- Defined in:
- lib/rails_data_explorer/utils/rde_table.rb
Instance Attribute Summary collapse
-
#css_class ⇒ Object
Returns the value of attribute css_class.
-
#ruby_formatter ⇒ Object
Returns the value of attribute ruby_formatter.
-
#style ⇒ Object
Returns the value of attribute style.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#title ⇒ Object
Returns the value of attribute title.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(tag, value, opts = {}) ⇒ RdeTableCell
constructor
A new instance of RdeTableCell.
Constructor Details
#initialize(tag, value, opts = {}) ⇒ RdeTableCell
Returns a new instance of RdeTableCell.
53 54 55 56 57 58 59 60 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 53 def initialize(tag, value, opts = {}) @tag = tag @value = value @css_class = opts[:css_class] @ruby_formatter = opts[:ruby_formatter] @style = opts[:style] @title = opts[:title] end |
Instance Attribute Details
#css_class ⇒ Object
Returns the value of attribute css_class.
48 49 50 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 48 def css_class @css_class end |
#ruby_formatter ⇒ Object
Returns the value of attribute ruby_formatter.
49 50 51 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 49 def ruby_formatter @ruby_formatter end |
#style ⇒ Object
Returns the value of attribute style.
50 51 52 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 50 def style @style end |
#tag ⇒ Object
Returns the value of attribute tag.
46 47 48 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 46 def tag @tag end |
#title ⇒ Object
Returns the value of attribute title.
51 52 53 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 51 def title @title end |
#value ⇒ Object
Returns the value of attribute value.
47 48 49 |
# File 'lib/rails_data_explorer/utils/rde_table.rb', line 47 def value @value end |