lib/i2w/data_object/attributes/finalizer.rb
def call
          collect_attributes.tap do |attributes|
            do_class.const_set(:GeneratedAttributeMethods, define_attribute_methods_module(attributes))
            do_class.include(do_class::GeneratedAttributeMethods)
          end
        end
# sets up our do_class with attribute reader/writers, and returns all the attributes with their meta info
sets up our do_class with attribute reader/writers, and returns all the attributes with their meta info
sets up our do_class with attribute reader / writers and returns all the attributes with their meta info
def call
          collect_attributes.tap do |attributes|
            do_class.const_set(:GeneratedAttributeMethods, define_attribute_methods_module(attributes))
            do_class.include(do_class::GeneratedAttributeMethods)
          end
        end
def call collect_attributes . tap do | attributes | do_class . const_set ( :GeneratedAttributeMethods , define_attribute_methods_module ( attributes ) ) do_class . include ( do_class :: GeneratedAttributeMethods ) end end
sets up our do_class with attribute reader/writers, and returns all the attributes with their meta info
sets up our do_class with attribute reader / writers and returns all the attributes with their meta info