package DX::Op::SetScope;

use Moo;

with 'DX::Role::Op';

has scope => (is => 'ro', required => 1);

sub run {
  my ($self, $state) = @_;
  $state->but(scope => $self->scope, next_op => $self->next);
}

1;
