blib/lib/Rubyish/Autobox.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 10 | 10 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 16 | 16 | 83 | use strict; | |||
16 | 35 | ||||||
16 | 815 | ||||||
2 | package Rubyish::Autobox; | ||||||
3 | |||||||
4 | 16 | 16 | 80 | use base 'autobox'; | |||
16 | 33 | ||||||
16 | 227 | ||||||
5 | |||||||
6 | sub import { | ||||||
7 | 17 | 17 | 191 | (shift)->SUPER::import( | |||
8 | ARRAY => 'Rubyish::Array', | ||||||
9 | HASH => 'Rubyish::Hash', | ||||||
10 | STRING => 'Rubyish::String' | ||||||
11 | ); | ||||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |