projects
/
scpubgit/DKit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
not and action infrastructure
[scpubgit/DKit.git]
/
lib
/
DX
/
Action
/
FromCode.pm
1
package DX::Action::FromCode;
2
3
use Moo;
4
5
has expect => (is => 'ro', required => 1);
6
7
has perform => (is => 'ro', required => 1);
8
9
sub expected_effect { $_[0]->expect->() }
10
sub run { $_[0]->perform->() }
11
12
1;