« blib/lib/BioX/Workflow/Command/run/Rules/Exceptions/KeyDeclaration.pm
↑ Summary
blib/script/biox-workflow.pl »
| 1 | package BioX::Workflow::Command::run::Rules::Exceptions::OneRuleName; | ||
| 2 | |||
| 3 | use Moose; | ||
| 4 | use namespace::autoclean; | ||
| 5 | |||
| 6 | extends 'BioX::Workflow::Command::Exceptions'; | ||
| 7 | |||
| 8 | sub BUILD { | ||
| 9 | my $self = shift; | ||
| 10 | $self->message('There should be one rule per sequence under key \'rules\''); | ||
| 11 | } | ||
| 12 | |||
| 13 | __PACKAGE__->meta->make_immutable; | ||
| 14 | |||
| 15 | 1; |