Module: Skyline::SectionItem
- Defined in:
- lib/skyline/section_item.rb
Overview
Defines the SectionItem interface. Include this module in all your sections.
If you’re creating your Section within the Skyline module (you probably shouldn’t), it will automatically sets your models table name to ‘skyline_sections_#basebase.table_name`
Instance Method Summary collapse
-
#to_text ⇒ String
abstract
The to_text method is needed for searching and other string operations which just want the content of this section without any markup.
Instance Method Details
#to_text ⇒ String
This method is abstract.
Implement in your own section
The to_text method is needed for searching and other string operations which just want the content of this section without any markup.
32 33 34 |
# File 'lib/skyline/section_item.rb', line 32 def to_text "" end |