lib/moribus/extensions/has_aggregated_extension.rb
# Define the delegation module for a reflection, available through
# #delegated_attribute_methods* method.
Define the delegation module for a reflection, available through
delegated_attribute_methods* method.
Define the delegation module for a reflection available through delegated_attribute_methods * method .
def define_delegation_module(reflection)
          reflection.define_singleton_method(:delegated_attribute_methods) do
            @delegated_attribute_methods ||= Module.new
          end
        end
def define_delegation_module ( reflection ) reflection . define_singleton_method ( :delegated_attribute_methods ) do @delegated_attribute_methods ||= Module . new end end
Define the delegation module for a reflection, available through
delegated_attribute_methods* method.
Define the delegation module for a reflection available through delegated_attribute_methods * method .
reflection