Module: Phlexi::Table::Options::Captions
- Included in:
- Base
- Defined in:
- lib/phlexi/table/options/captions.rb
Instance Method Summary collapse
Instance Method Details
#has_table_caption? ⇒ Boolean
16 17 18 |
# File 'lib/phlexi/table/options/captions.rb', line 16 def .present? end |
#table_caption(caption = nil) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/phlexi/table/options/captions.rb', line 7 def ( = nil) if .nil? [:caption] else [:caption] = self end end |