Module: Property::Base

Defined in:
lib/property/base.rb

Overview

This module is used when we need to access the properties in the properties storage model (to compare versions for example). Including this module has the same effect as including ‘Property’ but without the hooks (validation, save, etc).

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/property/base.rb', line 7

def self.included(base)
  base.class_eval do
    include Attribute::Base
    include Serialization::JSON
    include Declaration::Base
    include Dirty
  end
end