module Property::Index

Property::Declaration module is used to declare property definitions in a Class. The module also manages property inheritence in sub-classes.

Constants

FIELD_INDEX_REGEXP
KEY

Public Class Methods

included(base) click to toggle source
# File lib/property/index.rb, line 9
def self.included(base)
  base.class_eval do
    extend  ClassMethods
    include InstanceMethods
    before_save :property_field_index
    after_save  :property_index
    after_destroy :property_index_destroy
  end
end