Class: RSpec::OpenHAB::Core::Mocks::ThingHandlerFactory
- Inherits:
-
Object
- Object
- RSpec::OpenHAB::Core::Mocks::ThingHandlerFactory
- Defined in:
- lib/rspec/openhab/core/mocks/thing_handler.rb
Instance Method Summary collapse
Instance Method Details
#createHandler(thing) ⇒ Object
40 41 42 |
# File 'lib/rspec/openhab/core/mocks/thing_handler.rb', line 40 def createHandler(thing) ThingHandler.new(thing) end |
#supportsThingType(_type) ⇒ Object
36 37 38 |
# File 'lib/rspec/openhab/core/mocks/thing_handler.rb', line 36 def supportsThingType(_type) true end |