Class: OpenHAB::DSL::Imports::SafeCaller
- Inherits:
-
Object
- Object
- OpenHAB::DSL::Imports::SafeCaller
- Defined in:
- lib/rspec/openhab/dsl/imports.rb
Instance Method Summary collapse
- #build ⇒ Object
- #create(target, _interface_type) ⇒ Object
- #on_exception(_handler) ⇒ Object
- #on_timeout(_handler) ⇒ Object
- #with_async ⇒ Object
- #with_identifier(_identifier) ⇒ Object
- #with_timeout(_timeout) ⇒ Object
Instance Method Details
#build ⇒ Object
253 254 255 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 253 def build @target end |
#create(target, _interface_type) ⇒ Object
248 249 250 251 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 248 def create(target, _interface_type) @target = target self end |
#on_exception(_handler) ⇒ Object
265 266 267 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 265 def on_exception(_handler) self end |
#on_timeout(_handler) ⇒ Object
269 270 271 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 269 def on_timeout(_handler) self end |
#with_async ⇒ Object
273 274 275 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 273 def with_async self end |
#with_identifier(_identifier) ⇒ Object
261 262 263 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 261 def with_identifier(_identifier) self end |
#with_timeout(_timeout) ⇒ Object
257 258 259 |
# File 'lib/rspec/openhab/dsl/imports.rb', line 257 def with_timeout(_timeout) self end |