Module: Coyote::Strategies
- Defined in:
- lib/coyote/strategies.rb
Overview
Namespace for site/CMS-specific Coyote code
Class Method Summary collapse
-
.all ⇒ Array<Class>
A list of all strategy classes.
Class Method Details
.all ⇒ Array<Class>
Returns a list of all strategy classes
10 11 12 13 14 |
# File 'lib/coyote/strategies.rb', line 10 def all constants.map do |constant_name| const_get(constant_name) end end |