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

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

Instance Method Summary collapse

Instance Method Details

#get(_key) ⇒ Object



54
55
56
# File 'lib/openhab/rspec/mocks/synchronous_executor.rb', line 54

def get(_key)
  SynchronousExecutor.instance
end

#key_setObject



58
59
60
# File 'lib/openhab/rspec/mocks/synchronous_executor.rb', line 58

def key_set
  java.util.HashSet.new
end