Module: Bushpig::Testing
- Defined in:
- lib/bushpig/testing.rb
Class Method Summary collapse
Class Method Details
.inline!(&block) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/bushpig/testing.rb', line 6 def self.inline!(&block) old = Bushpig.testing Bushpig.testing = true result = block.call Bushpig.testing = old result end |