1 package MooseX::AttributeHelpers::Collection::Hash;
3 use MooseX::AttributeHelpers::MethodProvider::Collection::Hash;
5 extends 'MooseX::AttributeHelpers::Collection';
8 our $AUTHORITY = 'cpan:STEVAN';
11 method_provider => 'Collection::Hash',
12 shortcut => 'Collection::Hash',
25 MooseX::AttributeHelpers::Collection::Hash
31 use MooseX::AttributeHelpers;
34 metaclass => 'Collection::Hash',
36 isa => 'HashRef[Str]',
37 default => sub { {} },
39 'set' => 'set_option',
40 'get' => 'get_option',
41 'empty' => 'has_options',
42 'count' => 'num_options',
43 'delete' => 'delete_option',
49 This module provides an Hash attribute which provides a number of
52 =head1 PROVIDED METHODS
54 The methods for this metaclass are provided by
55 L<MooseX::AttributeHelpers::MethodProvider::Collection::Hash>.
59 All complex software has bugs lurking in it, and this module is no
60 exception. If you find a bug please either email me, or add the bug
65 Stevan Little E<lt>stevan@iinteractive.comE<gt>
67 =head1 COPYRIGHT AND LICENSE
69 Copyright 2007-2008 by Infinity Interactive, Inc.
71 L<http://www.iinteractive.com>
73 This library is free software; you can redistribute it and/or modify
74 it under the same terms as Perl itself.