~ubuntu-branches/ubuntu/trusty/libmoosex-has-sugar-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to t/04_values/DEverything.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Yu
  • Date: 2009-09-02 06:01:07 UTC
  • Revision ID: james.westby@ubuntu.com-20090902060107-b3hlktesdbkx44p3
Tags: upstream-0.0404
ImportĀ upstreamĀ versionĀ 0.0404

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package DEverything;
 
2
our $VERSION = '0.0404';
 
3
 
 
4
 
 
5
# $Id:$
 
6
use strict;
 
7
use warnings;
 
8
use Moose;
 
9
use MooseX::Has::Sugar;
 
10
use namespace::autoclean;
 
11
 
 
12
sub generated {
 
13
    {
 
14
        isa => 'Str',
 
15
        ro, required, lazy, lazy_build, coerce, weak_ref, auto_deref
 
16
    };
 
17
}
 
18
 
 
19
sub manual {
 
20
    {
 
21
        isa        => 'Str',
 
22
        is         => 'ro',
 
23
        required   => 1,
 
24
        lazy       => 1,
 
25
        lazy_build => 1,
 
26
        coerce     => 1,
 
27
        weak_ref   => 1,
 
28
        auto_deref => 1,
 
29
    };
 
30
}
 
31
 
 
32
__PACKAGE__->meta->make_immutable;
 
33
1;
 
34