# File lib/facets/core/nilclass/to_path.rb, line 4 def to_path case RUBY_PLATFORM when /mswin/i 'NUL' when /amiga/i 'NIL:' when /openvms/i 'NL:' else '/dev/null' end end