Class: Spree::TaxonDrop
- Inherits:
-
Clot::BaseDrop
- Object
- Clot::BaseDrop
- Spree::TaxonDrop
- Defined in:
- app/liquid/drops/taxon_drop.rb
Instance Method Summary collapse
- #ancestors ⇒ Object
- #children ⇒ Object
- #permalink ⇒ Object
- #self_and_ancestors ⇒ Object
- #siblings ⇒ Object
Instance Method Details
#ancestors ⇒ Object
13 14 15 |
# File 'app/liquid/drops/taxon_drop.rb', line 13 def ancestors @source.ancestors end |
#children ⇒ Object
17 18 19 |
# File 'app/liquid/drops/taxon_drop.rb', line 17 def children @source.children end |
#permalink ⇒ Object
21 22 23 |
# File 'app/liquid/drops/taxon_drop.rb', line 21 def permalink @source.permalink end |
#self_and_ancestors ⇒ Object
9 10 11 |
# File 'app/liquid/drops/taxon_drop.rb', line 9 def self_and_ancestors @source.self_and_ancestors end |
#siblings ⇒ Object
5 6 7 |
# File 'app/liquid/drops/taxon_drop.rb', line 5 def siblings @source.siblings end |