Class: MegaBar::ProfileTable
- Inherits:
-
Object
- Object
- MegaBar::ProfileTable
- Defined in:
- app/controllers/mega_bar/profile_table.rb
Instance Attribute Summary collapse
-
#app_format ⇒ Object
Returns the value of attribute app_format.
-
#app_wrapper ⇒ Object
Returns the value of attribute app_wrapper.
-
#app_wrapper_end ⇒ Object
Returns the value of attribute app_wrapper_end.
-
#field_header_wrapper ⇒ Object
Returns the value of attribute field_header_wrapper.
-
#field_header_wrapper_end ⇒ Object
Returns the value of attribute field_header_wrapper_end.
-
#field_wrapper ⇒ Object
Returns the value of attribute field_wrapper.
-
#field_wrapper_end ⇒ Object
Returns the value of attribute field_wrapper_end.
-
#record_wrapper ⇒ Object
Returns the value of attribute record_wrapper.
-
#record_wrapper_end ⇒ Object
Returns the value of attribute record_wrapper_end.
-
#separate_header_row ⇒ Object
Returns the value of attribute separate_header_row.
Instance Method Summary collapse
-
#initialize ⇒ ProfileTable
constructor
A new instance of ProfileTable.
Constructor Details
#initialize ⇒ ProfileTable
Returns a new instance of ProfileTable.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'app/controllers/mega_bar/profile_table.rb', line 14 def initialize @app_format = 'profile_table' @app_wrapper = '<table>' @app_wrapper_end = '</table>' @field_header_wrapper = '<th>' @field_header_wrapper_end = '</th>' @record_wrapper = '<tr>' @record_wrapper_end = '<th>' @field_wrapper = '<td>' @field_wrapper_end = '</td>' @separate_header_row = false end |
Instance Attribute Details
#app_format ⇒ Object
Returns the value of attribute app_format.
3 4 5 |
# File 'app/controllers/mega_bar/profile_table.rb', line 3 def app_format @app_format end |
#app_wrapper ⇒ Object
Returns the value of attribute app_wrapper.
4 5 6 |
# File 'app/controllers/mega_bar/profile_table.rb', line 4 def app_wrapper @app_wrapper end |
#app_wrapper_end ⇒ Object
Returns the value of attribute app_wrapper_end.
6 7 8 |
# File 'app/controllers/mega_bar/profile_table.rb', line 6 def app_wrapper_end @app_wrapper_end end |
#field_header_wrapper ⇒ Object
Returns the value of attribute field_header_wrapper.
5 6 7 |
# File 'app/controllers/mega_bar/profile_table.rb', line 5 def field_header_wrapper @field_header_wrapper end |
#field_header_wrapper_end ⇒ Object
Returns the value of attribute field_header_wrapper_end.
8 9 10 |
# File 'app/controllers/mega_bar/profile_table.rb', line 8 def field_header_wrapper_end @field_header_wrapper_end end |
#field_wrapper ⇒ Object
Returns the value of attribute field_wrapper.
11 12 13 |
# File 'app/controllers/mega_bar/profile_table.rb', line 11 def field_wrapper @field_wrapper end |
#field_wrapper_end ⇒ Object
Returns the value of attribute field_wrapper_end.
12 13 14 |
# File 'app/controllers/mega_bar/profile_table.rb', line 12 def field_wrapper_end @field_wrapper_end end |
#record_wrapper ⇒ Object
Returns the value of attribute record_wrapper.
9 10 11 |
# File 'app/controllers/mega_bar/profile_table.rb', line 9 def record_wrapper @record_wrapper end |
#record_wrapper_end ⇒ Object
Returns the value of attribute record_wrapper_end.
10 11 12 |
# File 'app/controllers/mega_bar/profile_table.rb', line 10 def record_wrapper_end @record_wrapper_end end |
#separate_header_row ⇒ Object
Returns the value of attribute separate_header_row.
13 14 15 |
# File 'app/controllers/mega_bar/profile_table.rb', line 13 def separate_header_row @separate_header_row end |