Module: Reactive::RubiGenAffiliateMethod

Defined in:
lib/reactive-dev/rubigen_plugin_sources.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#affiliates(name, args, options) ⇒ Object



38
39
40
41
42
43
44
# File 'lib/reactive-dev/rubigen_plugin_sources.rb', line 38

def affiliates(name, args, options)
  klass.sources.collect {|source| source.collect}.flatten.each do |spec|
    logger.affiliate(spec.name) do
      self.class.new(spec.klass.new(args.dup, options)).invoke!
    end
  end
end