Module: OM::XML

Defined in:
lib/om.rb,
lib/om/xml.rb

Defined Under Namespace

Modules: Accessors, Container, Properties, PropertyValueOperators, Validation Classes: ParentNodeNotFoundError

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#ng_xmlObject

Returns the value of attribute ng_xml.



9
10
11
# File 'lib/om/xml.rb', line 9

def ng_xml
  @ng_xml
end

Class Method Details

.included(klass) ⇒ Object

Instance Methods – These methods will be available on instances of classes that include this module



13
14
15
16
17
18
19
20
21
# File 'lib/om/xml.rb', line 13

def self.included(klass)
  klass.send(:include, OM::XML::Container)
  klass.send(:include, OM::XML::Accessors)
  klass.send(:include, OM::XML::Validation)
  klass.send(:include, OM::XML::Properties)
  klass.send(:include, OM::XML::PropertyValueOperators)

  # klass.send(:include, OM::XML::Schema)
end