# File lib/webby/core_ext/kernel.rb, line 9 def cmd_available?( *args ) io = [STDOUT.dup, STDERR.dup] STDOUT.reopen DEV_NULL STDERR.reopen DEV_NULL system(*(args.flatten)) ensure STDOUT.reopen io.first STDERR.reopen io.last $stdout, $stderr = STDOUT, STDERR end
Generated with the Darkfish Rdoc Generator 2.