Class: HandlerDictionary

Inherits:
Object
  • Object
show all
Defined in:
lib/javonet-ruby-sdk/core/handler/handler_dictionary.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/handler_dictionary.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/handler_dictionary.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/handler_dictionary.rb

Class Method Summary collapse

Class Method Details

.add_handler_to_dict(command_type, handler) ⇒ Object



5
6
7
# File 'lib/javonet-ruby-sdk/core/handler/handler_dictionary.rb', line 5

def self.add_handler_to_dict(command_type, handler)
  $handler_dict[command_type] = handler
end