Class: WBEM::VALUE

Inherits:
CIMElement show all
Defined in:
lib/wbem/cim_xml.rb

Overview

Object value elements

Instance Method Summary collapse

Methods inherited from CIMElement

#add_elements, #add_optional_attribute, #add_optional_element, #setName, #toxml

Constructor Details

#initialize(pcdata) ⇒ VALUE

<!ELEMENT VALUE (#PCDATA)>

"""


249
250
251
252
# File 'lib/wbem/cim_xml.rb', line 249

def initialize(pcdata)
    super("VALUE")
    self.add_text(pcdata) unless pcdata.nil?
end