Class: OpenHAB::DSL::Imports::SafeCaller

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/openhab/dsl/imports.rb

Instance Method Summary collapse

Instance Method Details

#buildObject



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_asyncObject



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