Sha256: c39693fe3ca86e0c31102b5cbb04d2e70923b8db96e82138679466ee6bff22c2
Contents?: true
Size: 375 Bytes
Versions: 46
Compression:
Stored size: 375 Bytes
Contents
package Javonet::Core::Handler::HandlerDictionary; use strict; use warnings FATAL => 'all'; use Moose; our %handler_dict; sub add_handler_to_dict { my $command_type = shift; my $handler = shift; $handler_dict{$command_type} = $handler; } sub get_handler { my $command_type = shift; my $handler = $handler_dict{$command_type}; return $handler; } 1;
Version data entries
46 entries across 23 versions & 1 rubygems