Module: Relaxo::Model

Defined in:
lib/relaxo/model.rb,
lib/relaxo/model/base.rb,
lib/relaxo/model/path.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/uuid.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 Classes: Key, Path, Recordset, SerializationError, TypeError, ValidationFailure

Constant Summary collapse

VERSION =
"0.19.0"

Class Method Summary collapse

Class Method Details

.included(child) ⇒ Object



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

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