Class: TableInspector::Table
- Inherits:
-
Object
- Object
- TableInspector::Table
- Defined in:
- lib/table_inspector/table.rb
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#presenter ⇒ Object
readonly
Returns the value of attribute presenter.
-
#presenter_option ⇒ Object
readonly
Returns the value of attribute presenter_option.
Instance Method Summary collapse
-
#initialize(klass, presenter_option) ⇒ Table
constructor
A new instance of Table.
- #render ⇒ Object
Constructor Details
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
4 5 6 |
# File 'lib/table_inspector/table.rb', line 4 def klass @klass end |
#presenter ⇒ Object (readonly)
Returns the value of attribute presenter.
4 5 6 |
# File 'lib/table_inspector/table.rb', line 4 def presenter @presenter end |
#presenter_option ⇒ Object (readonly)
Returns the value of attribute presenter_option.
4 5 6 |
# File 'lib/table_inspector/table.rb', line 4 def presenter_option @presenter_option end |
Instance Method Details
#render ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/table_inspector/table.rb', line 13 def render break_line # empty line render_title render_body break_line # empty line render_indexes break_line # empty line end |