Permalink
Browse files

fix subroutine coverage

  • Loading branch information...
1 parent 56bfbbd commit 8900e3c24dc20fbe74bb4f87c59a452792c8f852 @xdg xdg committed Aug 16, 2012
Showing with 18 additions and 1 deletion.
  1. +17 −0 lib/Pantry/Model/Role.pm
  2. +1 −1 lib/Pantry/Model/Util.pm
View
17 lib/Pantry/Model/Role.pm
@@ -139,6 +139,14 @@ has env_run_lists => (
},
);
+=method append_to_env_run_list
+
+ $role->append_to_env_run_list( $env, \@items );
+
+Appends items to an environment-specific runlist.
+
+=cut
+
sub append_to_env_run_list {
my ($self, $env, $items) = @_;
croak "append_to_env_runlist requires an environment name"
@@ -156,6 +164,15 @@ sub append_to_env_run_list {
return;
}
+
+=method remove_from_env_run_list
+
+ $role->remove_from_env_run_list( $env, \@items );
+
+Removes items from an environment-specific runlist.
+
+=cut
+
sub remove_from_env_run_list {
my ($self, $env, $items) = @_;
croak "remove_from_env_runlist requires an environment name"
View
2 lib/Pantry/Model/Util.pm
@@ -53,7 +53,7 @@ sub merge_hash {
1;
-=for Pod::Coverage hash_to_dot dot_to_hash
+=for Pod::Coverage hash_to_dot dot_to_hash merge_hash
=head1 DESCRIPTION

0 comments on commit 8900e3c

Please sign in to comment.