Class: Breeze::SectionStyle
- Inherits:
-
Style
- Object
- ActiveYaml
- SharedBase
- Style
- Breeze::SectionStyle
- Defined in:
- app/models/breeze/section_style.rb
Instance Attribute Summary
Attributes inherited from ActiveYaml
Instance Method Summary collapse
Methods inherited from Style
Methods inherited from SharedBase
Methods inherited from ActiveYaml
all, append, define_access, define_association, delete, fields, find, find_all, find_by, first, full_path, #id, #id=, #initialize, load_file, #persisted?, primary_key, reload, save_all, set_root_path, the_meta_class
Constructor Details
This class inherits a constructor from Breeze::ActiveYaml
Instance Method Details
#has_cards? ⇒ Boolean
8 9 10 |
# File 'app/models/breeze/section_style.rb', line 8 def has_cards? cards end |
#section_preview ⇒ Object
12 13 14 |
# File 'app/models/breeze/section_style.rb', line 12 def section_preview "breeze/section_preview/" + template end |