Class: WmiLite::Wmi::Instance

### Home Classes Methods

### In Files

- lib/wmi-lite/wmi_instance.rb

### Parent

Object

### Methods

- ::new
- #[]

### Class/Module Index

Quicksearch

- WmiLite
- WmiLite::Wmi
- WmiLite::Wmi::Instance
- WmiLite::WmiException

No matching classes.

# WmiLite::Wmi::Instance

### Attributes

wmi_ole_object[R]

### Public Class Methods

new(wmi_ole_object) click to toggle source

    # File lib/wmi-lite/wmi_instance.rb, line 24
    def initialize(wmi_ole_object)
      @wmi_ole_object = wmi_ole_object
      @property_map = wmi_ole_object_to_hash(wmi_ole_object)
    end

### Public Instance Methods

[](key) click to toggle source

    # File lib/wmi-lite/wmi_instance.rb, line 29
    def [](key)
      @property_map[key.downcase]
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.