Class: Cmpi::CMPIData

Inherits:
Object
  • Object
show all
Defined in:
lib/cmpi.rb,
ext/cmpi-bindings/cmpi_wrap.c

Overview

Proxy of C Cmpi::CMPIData struct

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



403
404
405
406
407
408
409
410
411
# File 'lib/cmpi.rb', line 403

def method_missing name, *args
#      STDERR.puts "CMPIData.%s? %0x" % [name, type]
  case type
  when Cmpi.instance
  value.inst.send(name,*args)
  when Cmpi.ref
  value.ref.send(name,*args)
  end
end