# File lib/mspec/guards/platform.rb, line 32 32: def platform_is(*args) 33: g = PlatformGuard.new(*args) 34: g.name = :platform_is 35: yield if g.yield? 36: ensure 37: g.unregister 38: end