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

ruby-concurrency / concurrent-ruby / #2872

08 Jun 2014 06:00PM UTC coverage: 77.573% (-11.7%) from 89.319%
#2872

push

jdantonio
Updated badges with new repo location.

2186 of 2818 relevant lines covered (77.57%)

527.3 hits per line

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

80.0
/lib/concurrent/executor/immediate_executor.rb
1
module Concurrent
1✔
2
  class ImmediateExecutor
1✔
3
    include Executor
1✔
4

5
    def post(*args, &task)
1✔
6
      raise ArgumentError.new('no block given') unless block_given?
55✔
7
      task.call(*args)
55✔
8
      true
55✔
9
    end
10

11
    def <<(task)
1✔
12
      post(&task)
×
13
      self
×
14
    end
15
  end
16
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