• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-concurrency / concurrent-ruby / #2711

16 Jun 2014 12:13PM UTC coverage: 45.896% (-50.5%) from 96.422%
#2711

push

jdantonio
Merge pull request #112 from ruby-concurrency/remove-old-actor

Remove old Actor

1 of 2 new or added lines in 2 files covered. (50.0%)

1362 existing lines in 62 files now uncovered.

1219 of 2656 relevant lines covered (45.9%)

0.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.86
/lib/concurrent/executor/per_thread_executor.rb
1
module Concurrent
1✔
2

3
  class PerThreadExecutor
1✔
4
    include Executor
1✔
5

6
    def self.post(*args)
1✔
UNCOV
7
      raise ArgumentError.new('no block given') unless block_given?
×
UNCOV
8
      Thread.new(*args) do
×
UNCOV
9
        Thread.current.abort_on_exception = false
×
UNCOV
10
        yield(*args)
×
11
      end
UNCOV
12
      return true
×
13
    end
14

15
    def post(*args, &task)
1✔
UNCOV
16
      return PerThreadExecutor.post(*args, &task)
×
17
    end
18

19
    def <<(task)
1✔
UNCOV
20
      PerThreadExecutor.post(&task)
×
UNCOV
21
      return self
×
22
    end
23
  end
24
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc