push
17 of 17 new or added lines in 9 files covered. (100.0%)
1368 existing lines in 54 files now uncovered.1119 of 2733 relevant lines covered (40.94%)
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
|