egonSchiele / contracts.ruby

Contracts for Ruby.
http://egonschiele.github.com/contracts.ruby
BSD 2-Clause "Simplified" License
1.44k stars 82 forks source link

Wrapping &blocks only when there is a Func check. (second version) (bug 278) #283

Closed md-work closed 6 years ago

md-work commented 6 years ago

See https://github.com/egonSchiele/contracts.ruby/issues/278#issuecomment-351428779 and https://github.com/egonSchiele/contracts.ruby/pull/281#issuecomment-362851436

Somehow Travis CI didn't like that I reasigned the blk variable. So I introduced a new target_blk variable.

egonSchiele commented 6 years ago

Thanks!