1 package DX::Role::Value;
3 use DX::ActionBuilder::Null;
6 my $_null = DX::ActionBuilder::Null->new;
8 has action_builder => (
11 default => sub { $_null },
12 handles => [ qw(can_set_value aperture_for_set_value action_for_set_value) ],
15 sub value_path { shift->action_builder->target_path }
19 sub but_set_action_builder {
21 $self->but(action_builder => $ab);
27 my ($self, $other) = @_;
29 YAML::Dump($self->to_data) eq YAML::Dump($other->to_data);