Module: Magicka::Helper::ClassMethods
- Included in:
- Magicka::Helper
- Defined in:
- lib/magicka/helper/class_methods.rb
Overview
Class methods for Magicka::Helper
Instance Method Summary collapse
- 
  
    
      #with(aggregator_class, type = aggregator_class.type)  ⇒ Array<NilClass> 
    
    
  
  
  
  
  
  
  
  
  
    Adds a helper method magicka_ type.
Instance Method Details
#with(aggregator_class, type = aggregator_class.type) ⇒ Array<NilClass>
Adds a helper method magicka_type
The created method executes a block with a an aggragator
| 8 9 10 | # File 'lib/magicka/helper/class_methods.rb', line 8 def with(aggregator_class, type = aggregator_class.type) MethodBuilder.new(self).build_aggregator(aggregator_class, type) end |