better naming and help command for KeyMangler
[scpubgit/DKit.git] / lib / DX / Op / Materialize.pm
CommitLineData
71217e42 1package DX::Op::Materialize;
2
3use Moo;
4
5with 'DX::Role::Op';
6
71217e42 7sub run {
8 my ($self, $state) = @_;
7d384eca 9 foreach my $k (keys %{$state->scope}) {
10 my $var = $state->scope_var($k);
11 next unless $var->is_bound;
12 $state->resolve_value($var);
6e409579 13 }
71217e42 14 $state->then($self->next);
15}
16
171;