Class: Vapid::Directives::Group
- Inherits:
-
Vapid::Directive
- Object
- Vapid::Directive
- Vapid::Directives::Group
- Defined in:
- lib/vapid/directives/group.rb
Overview
Group directive
Constant Summary collapse
- FILTER_METHODS =
[:limit, :order].freeze
Instance Attribute Summary
Attributes inherited from Vapid::Directive
Instance Method Summary collapse
Methods inherited from Vapid::Directive
destroyable?, #initialize, modifies_content?, previewable?, #render, serialize_input
Constructor Details
This class inherits a constructor from Vapid::Directive
Instance Method Details
#repeating? ⇒ Boolean
30 31 32 |
# File 'lib/vapid/directives/group.rb', line 30 def repeating? @args.any? { |a| a.first == "repeat" } end |