Class: Openwsman::ObjectPath
- Inherits:
-
Object
- Object
- Openwsman::ObjectPath
- Defined in:
- lib/wbem/openwsman.rb
Overview
Capture namespace, classname, and properties as ObjectPath
Instance Attribute Summary collapse
-
#classname ⇒ Object
readonly
Returns the value of attribute classname.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
Instance Method Summary collapse
-
#initialize(namespace, classname = nil, properties = {}) ⇒ ObjectPath
constructor
A new instance of ObjectPath.
Constructor Details
#initialize(namespace, classname = nil, properties = {}) ⇒ ObjectPath
Returns a new instance of ObjectPath.
34 35 36 37 38 |
# File 'lib/wbem/openwsman.rb', line 34 def initialize namespace, classname = nil, properties = {} @namespace = namespace @classname = classname @properties = properties end |
Instance Attribute Details
#classname ⇒ Object (readonly)
Returns the value of attribute classname.
33 34 35 |
# File 'lib/wbem/openwsman.rb', line 33 def classname @classname end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
33 34 35 |
# File 'lib/wbem/openwsman.rb', line 33 def namespace @namespace end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties.
33 34 35 |
# File 'lib/wbem/openwsman.rb', line 33 def properties @properties end |