# File lib/facets/core/nilclass/to_path.rb, line 2
def NilClass

  def to_path
    case RUBY_PLATFORM
    when /mswin/i
     'NUL'
    when /amiga/i
     'NIL:'
    when /openvms/i
     'NL:'
    else
     '/dev/null'
    end 
  end

end