blib/lib/Mojo/Console/Input.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 7 | 42.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 2 | 50.0 |
pod | 0 | 1 | 0.0 |
total | 4 | 10 | 40.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mojo::Console::Input; | ||||||
2 | 1 | 1 | 6 | use Mojo::Base -base; | |||
1 | 2 | ||||||
1 | 6 | ||||||
3 | |||||||
4 | sub ask { | ||||||
5 | 0 | 0 | 0 | my $self = shift; | |||
6 | |||||||
7 | 0 | my $answer = |
|||||
8 | 0 | chomp $answer; | |||||
9 | |||||||
10 | 0 | return $answer; | |||||
11 | } | ||||||
12 | |||||||
13 | 1; |