better naming and help command for KeyMangler
[scpubgit/DKit.git] / lib / DX / Role / Fact.pm
CommitLineData
9c7b21a2 1package DX::Role::Fact;
2
3use Moo::Role;
4
5has required_action => (is => 'ro', predicate => 1);
6
7sub but { ref($_[0])->new(%{$_[0]}, @_[1..$#_]) }
8
91;