Module: Graft::Xml::Model

Included in:
EmptyXmlModel, XmlModelWithAttributeType, XmlModelWithAttributes
Defined in:
lib/graft/lib/graft/xml/model.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



40
41
42
43
44
45
# File 'lib/graft/lib/graft/xml/model.rb', line 40

def self.included(other)
  other.send(:extend, Graft::Model::ClassMethods)
  other.send(:extend, Graft::Xml::Model::ClassMethods)
  other.send(:include, Graft::Model::InstanceMethods)
  other.send(:include, Graft::Xml::Model::InstanceMethods)
end