move to on_solution_step concept
[scpubgit/DX.git] / lib / DX / Step / MarkAsSolution.pm
CommitLineData
1dcbfaf8 1package DX::Step::MarkAsSolution;
2
3use DX::Class;
4
5with 'DX::Role::Step';
6
7sub apply_to {
8 my ($self, $ss) = @_;
9 $ss->but(
10 is_solution_state => 1,
11 next_step => DX::Step::Backtrack->new
12 );
13}
14
151;