Class: RSpec::OpenHAB::Core::Mocks::SynchronousExecutorMap

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/rspec/openhab/core/mocks/synchronous_executor.rb

Instance Method Summary collapse

Instance Method Details

#get(_key) ⇒ Object



45
46
47
# File 'lib/rspec/openhab/core/mocks/synchronous_executor.rb', line 45

def get(_key)
  SynchronousExecutor.instance
end

#key_setObject



49
50
51
# File 'lib/rspec/openhab/core/mocks/synchronous_executor.rb', line 49

def key_set
  java.util.HashSet.new
end