Parent

Methods

Files

Class/Module Index [+]

Quicksearch

BlockDeviceGuard

Public Instance Methods

match?() click to toggle source
# File lib/mspec/guards/block_device.rb, line 4
def match?
  platform_is_not :freebsd, :windows do
    block = `find /dev /devices -type b 2> /dev/null`
    return !(block.nil? || block.empty?)
  end

  false
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.