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
50 hash-like operations. See L<MooseX::AttributeHelpers::MethodProvider::Hash>
53 =head1 PROVIDED METHODS
55 The methods for this metaclass are provided by
56 L<MooseX::AttributeHelpers::MethodProvider::Hash>.
60 All complex software has bugs lurking in it, and this module is no
61 exception. If you find a bug please either email me, or add the bug
66 Stevan Little E<lt>stevan@iinteractive.comE<gt>
68 =head1 COPYRIGHT AND LICENSE
70 Copyright 2007-2008 by Infinity Interactive, Inc.
72 L<http://www.iinteractive.com>
74 This library is free software; you can redistribute it and/or modify
75 it under the same terms as Perl itself.