Class: TableCreator::ColGroup
- Inherits:
-
Object
- Object
- TableCreator::ColGroup
- Includes:
- ActionView::Helpers::TagHelper
- Defined in:
- lib/table_creator/col_group.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ColGroup
constructor
A new instance of ColGroup.
- #to_html ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ ColGroup
Returns a new instance of ColGroup.
7 8 9 |
# File 'lib/table_creator/col_group.rb', line 7 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/table_creator/col_group.rb', line 5 def @options end |
Instance Method Details
#to_html ⇒ Object
11 12 13 |
# File 'lib/table_creator/col_group.rb', line 11 def to_html content_tag :colgroup, end |