Module: Property::Attribute::Base

Defined in:
lib/property/attribute.rb

Overview

This is just a helper module that includes the necessary code for property access, but without the validation/save hooks.

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



25
26
27
28
29
30
31
32
33
# File 'lib/property/attribute.rb', line 25

def self.included(base)
  base.extend ClassMethods

  base.class_eval do
    include InstanceMethods

    store_properties_in self
  end
end