push
17 of 18 new or added lines in 10 files covered. (94.44%)
1432 existing lines in 56 files now uncovered.1028 of 2526 relevant lines covered (40.7%)
0.53 hits per line
| 1 |
module Concurrent |
1✔ |
| 2 |
class ImmediateExecutor |
1✔ |
| 3 |
|
|
| 4 |
def post(*args, &task) |
1✔ |
|
UNCOV
5
|
raise ArgumentError.new('no block given') unless block_given? |
× |
|
UNCOV
6
|
task.call(*args) |
× |
|
UNCOV
7
|
true
|
× |
| 8 |
end
|
|
| 9 |
|
|
| 10 |
def <<(task) |
1✔ |
|
UNCOV
11
|
post(&task) |
× |
|
UNCOV
12
|
self
|
× |
| 13 |
end
|
|
| 14 |
end
|
|
| 15 |
end
|