Module: Relaxo::Model

Defined in:
lib/relaxo/model.rb,
lib/relaxo/model/base.rb,
lib/relaxo/model/version.rb,
lib/relaxo/model/document.rb,
lib/relaxo/model/component.rb,
lib/relaxo/model/recordset.rb,
lib/relaxo/model/properties/bcrypt.rb,
lib/relaxo/model/properties/latinum.rb,
lib/relaxo/model/properties/attribute.rb,
lib/relaxo/model/properties/composite.rb,
lib/relaxo/model/properties/bigdecimal.rb

Defined Under Namespace

Modules: Base, Component, Document, Properties, VERSION Classes: Error, Recordset, ValidationErrors

Class Method Summary collapse

Class Method Details

.included(child) ⇒ Object



29
30
31
32
33
34
35
# File 'lib/relaxo/model.rb', line 29

def self.included(child)
	# Include all available properties

	# $stderr.puts "#{self} included -> #{child} include Properties, Document"
	child.send(:include, Relaxo::Model::Properties)
	child.send(:include, Relaxo::Model::Document)
end