Class CIM::Variant
In: lib/cim/variant.rb
Parent: Object

A Variant is a typed value

Methods

==   is_a?   new   to_s  

Attributes

type  [R] 
value  [R] 

Public Class methods

Creates a typed value

type: See CIM::Type value: A Ruby value

No attempt is made to check if the type matches the value.

Public Instance methods

Checks equality of the Variant with a Ruby value or another Variant

Check type against Ruby class

returns a string representation in MOF syntax format

[Validate]