# File lib/mspec/guards/compliance.rb, line 22 22: def compliant_on(*args) 23: g = CompliantOnGuard.new(*args) 24: g.name = :compliant_on 25: yield if g.yield? 26: ensure 27: g.unregister 28: end