Sha256: 2c86e5abed2d0074d33ca7a724d2cba6f4604238b5cc8236c00f18fb3a9bdd42
Contents?: true
Size: 394 Bytes
Versions: 23
Compression:
Stored size: 394 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
23 entries across 23 versions & 1 rubygems