Sha256: 86c027fc9795eca9ddda052ca799e65e0406d0068f98f4d610284c8193e950ed
Contents?: true
Size: 421 Bytes
Versions: 12
Compression:
Stored size: 421 Bytes
Contents
package Javonet::Core::Handler::HandlerDictionary; use strict; use warnings FATAL => 'all'; use lib 'lib'; 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; } no Moose; 1;
Version data entries
12 entries across 12 versions & 1 rubygems