projects
/
gitmo/MooseX-Role-Parameterized.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
67d3f00
)
Add an empty Parameters class and a basic test for it..
Shawn M Moore [Sun, 9 Nov 2008 02:44:26 +0000 (
02:44
+0000)]
lib/MooseX/Role/Parameterized/Parameters.pm
[new file with mode: 0644]
patch
|
blob
t/001-parameters.t
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/MooseX/Role/Parameterized/Parameters.pm
b/lib/MooseX/Role/Parameterized/Parameters.pm
new file mode 100644
(file)
index 0000000..
978fda4
--- /dev/null
+++ b/
lib/MooseX/Role/Parameterized/Parameters.pm
@@ -0,0
+1,9
@@
+#!/usr/bin/env perl
+package MooseX::Role::Parameterized::Parameters;
+use Moose;
+
+__PACKAGE__->meta->make_immutable;
+no Moose;
+
+1;
+
diff --git a/t/001-parameters.t
b/t/001-parameters.t
new file mode 100644
(file)
index 0000000..
ca86744
--- /dev/null
+++ b/
t/001-parameters.t
@@ -0,0
+1,9
@@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More tests => 1;
+use MooseX::Role::Parameterized::Parameters;
+
+my $p = MooseX::Role::Parameterized::Parameters->new;
+can_ok($p => 'meta');
+