class Cmpi::CMPIContext
CMPIContext gives the context for Provider operation
Public Instance Methods
[](at)
click to toggle source
# File ruby/cmpi.rb, line 343 def [] at if at.kind_of? Integer get_entry_at( at ) else get_entry( at.to_s ) end end
count()
click to toggle source
# File ruby/cmpi.rb, line 338 def count #can't use alias here because CMPIContext::get_entry_count is only defined after # initializing the provider (swig init code) get_entry_count end
each() { |get_entry_at(i)| ... }
click to toggle source
# File ruby/cmpi.rb, line 350 def each 0.upto(self.count-1) do |i| yield get_entry_at(i) end end