Class: OpenHAB::DSL::Imports::ComponentContext
- Inherits:
-
Object
- Object
- OpenHAB::DSL::Imports::ComponentContext
- Defined in:
- lib/rspec/openhab/dsl/imports.rb
Instance Attribute Summary collapse
-
#bundle_context ⇒ Object
readonly
Returns the value of attribute bundle_context.
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
Instance Method Summary collapse
-
#initialize(bundle_context) ⇒ ComponentContext
constructor
A new instance of ComponentContext.
Constructor Details
#initialize(bundle_context) ⇒ ComponentContext
Returns a new instance of ComponentContext.
115 116 117 118 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 115 def initialize(bundle_context) @properties = java.util.Hashtable.new @bundle_context = bundle_context end |
Instance Attribute Details
#bundle_context ⇒ Object (readonly)
Returns the value of attribute bundle_context.
113 114 115 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 113 def bundle_context @bundle_context end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties.
113 114 115 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 113 def properties @properties end |