Method: Object#platform_is
- Defined in:
- lib/mspec/guards/platform.rb
#platform_is(*args) ⇒ Object
27 28 29 30 31 |
# File 'lib/mspec/guards/platform.rb', line 27 def platform_is(*args) g = PlatformGuard.new(*args) yield if g.yield? g.unregister end |