Sha256: b9efe627a0d5f49da5e0a2aa556e529f1a4863dab85b72646586e86c8e587715

Contents?: true

Size: 254 Bytes

Versions: 6

Compression:

Stored size: 254 Bytes

Contents

class File
  NULL =  case RUBY_PLATFORM
          when /mswin/i
            'NUL'
          when /amiga/i
            'NIL:'
          when /openvms/i
            'NL:'
          else
            '/dev/null'
          end unless const_defined?(:NULL)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
backports-2.6.1 lib/backports/1.9.3/file.rb
backports-2.6.0 lib/backports/1.9.3/file.rb
backports-2.5.3 lib/backports/1.9.3/file.rb
backports-2.5.2 lib/backports/1.9.3/file.rb
backports-2.5.1 lib/backports/1.9.3/file.rb
backports-2.5.0 lib/backports/1.9.3/file.rb