RubyGems.org

instance_exec can't pass block arguments through. Use a bindable block instead (there is also an optional core extension instance_exec_b, which will mimic the instance_exec interface, but also allow you to pass the block).

installgem install bindable_block
Authors

Josh Cheek

8,389 total downloads 187 for this version
Owners

B31e7abd14f1ceb4c4957da08933c630

Gemfile
gem 'bindable_block', '~> 0.0.9'
Versions
  1. 0.0.9 July 13, 2014 (12.5 KB)
  2. 0.0.8 July 13, 2014 (12 KB)
  3. 0.0.7 July 10, 2014 (12 KB)
  4. 0.0.5.1 June 18, 2012 (7 KB)
  5. 0.0.5 June 9, 2012 (6.5 KB)
Show all versions (9 total)
Ruby Dependency
  1. ~> 2.1
Development Dependencies
  1. rspec >= 3.0.0, ~> 3.0