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

« back to all changes in this revision

Viewing changes to t/04_values/EMixed.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Yu
  • Date: 2010-10-04 19:42:43 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101004194243-pbq4ccon2503ufj1
Tags: 0.05046611-1
* New upstream release
* Standards-Version 3.9.1 (no changes)
* Use new 3.0 (quilt) source format
* Update to new DEP5 copyright format
* Drop RELEASE_TESTING and related test dependencies

Show diffs side-by-side

added added

removed removed

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