# File lib/mspec/guards/bug.rb, line 17 17: def ruby_bug(bug, version) 18: g = BugGuard.new bug, version 19: g.name = :ruby_bug 20: yield if g.yield? true 21: ensure 22: g.unregister 23: end