Class: WBEM::CIMFloat

Inherits:
CIMType show all
Defined in:
lib/wbem/cim_types.rb

Overview

CIM float types

Direct Known Subclasses

Real32, Real64

Instance Attribute Summary

Attributes inherited from CIMType

#cimtype, #value

Instance Method Summary collapse

Methods inherited from CIMType

#<=>, #to_s

Constructor Details

#initialize(arg, cimtype) ⇒ CIMFloat

Returns a new instance of CIMFloat.



100
101
102
# File 'lib/wbem/cim_types.rb', line 100

def initialize(arg, cimtype)
    super(cimtype, Float(arg))
end