module GemFootprintAnalyzer::CoreExt::File

Provides File#mkfifo, missing in Ruby 2.2.0

Public Instance Methods

mkfifo(name) click to toggle source

@param name [String] Name of the fifo file to be created

# File lib/gem_footprint_analyzer/core_ext/file.rb, line 6
def mkfifo(name)
  system("mkfifo #{name}") || fail('Failed to make FIFO special file')
end