Class: TroleGroups::Macros::Configuration::StrategyLoader
- Inherits:
-
BaseLoader
- Object
- BaseLoader
- TroleGroups::Macros::Configuration::StrategyLoader
- Defined in:
- lib/trole_groups/macros/configuration/strategy_loader.rb
Instance Attribute Summary
Attributes inherited from BaseLoader
Instance Method Summary collapse
-
#initialize(strategy, orm) ⇒ StrategyLoader
constructor
A new instance of StrategyLoader.
- #strategy_module ⇒ Object
Methods inherited from BaseLoader
#base_class, #namespace, #orm_namespace, #try_module
Constructor Details
#initialize(strategy, orm) ⇒ StrategyLoader
Returns a new instance of StrategyLoader.
5 6 7 |
# File 'lib/trole_groups/macros/configuration/strategy_loader.rb', line 5 def initialize strategy, orm super end |
Instance Method Details
#strategy_module ⇒ Object
9 10 11 |
# File 'lib/trole_groups/macros/configuration/strategy_loader.rb', line 9 def strategy_module @strategy_module ||= orm_strategy_module || generic_strategy_module end |