Module: OM::XML::Container

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

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ng_xmlObject

Returns the value of attribute ng_xml.



3
4
5
# File 'lib/om/xml/container.rb', line 3

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



24
25
26
# File 'lib/om/xml/container.rb', line 24

def self.included(klass)
  klass.extend(ClassMethods)
end

Instance Method Details

#to_xmlObject



28
29
30
# File 'lib/om/xml/container.rb', line 28

def to_xml
  ng_xml.to_xml
end