Gtk3/Helper/Gtk3/Adjustment.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 use Renard::Incunabula::Common::Setup;
2 package Intertangle::API::Gtk3::Helper::Gtk3::Adjustment;
3 # ABSTRACT: Helpers for Gtk3::Adjustment
4 $Intertangle::API::Gtk3::Helper::Gtk3::Adjustment::VERSION = '0.006';
5 package # hide from PAUSE
6 Gtk3::Adjustment;
7  
8 method increment_step() {
9 my $adjustment = $self->get_value + $self->get_step_increment;
10 $self->set_value($adjustment);
11 $self;
12 }
13  
14 method decrement_step() {
15 my $adjustment = $self->get_value - $self->get_step_increment;
16 $self->set_value($adjustment);
17 $self;
18 }
19  
20 1;
21  
22 __END__
23  
24 =pod
25  
26 =encoding UTF-8
27  
28 =head1 NAME
29  
30 Intertangle::API::Gtk3::Helper::Gtk3::Adjustment - Helpers for Gtk3::Adjustment
31  
32 =head1 VERSION
33  
34 version 0.006
35  
36 =head1 METHODS
37  
38 =head2 increment_step
39  
40 method increment_step()
41  
42 Increments by the step increment.
43  
44 =head2 decrement_step
45  
46 method decrement_step()
47  
48 Decrements by the step increment.
49  
50 =head1 AUTHOR
51  
52 Zakariyya Mughal <zmughal@cpan.org>
53  
54 =head1 COPYRIGHT AND LICENSE
55  
56 This software is copyright (c) 2017 by Zakariyya Mughal.
57  
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60  
61 =cut