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