Method: Object#platform_is_not
- Defined in:
- lib/mspec/guards/platform.rb
#platform_is_not(*args) ⇒ Object
40 41 42 43 44 45 46 |
# File 'lib/mspec/guards/platform.rb', line 40 def platform_is_not(*args) g = PlatformGuard.new(*args) g.name = :platform_is_not yield if g.yield? true ensure g.unregister end |