Module: Nuggets::IO::NullMixin

Included in:
IO
Defined in:
lib/nuggets/io/null_mixin.rb

Constant Summary collapse

NULL =
case RubyMixin::RUBY_PLATFORM
  when /mswin|mingw/i then 'NUL'
  when /openvms/i     then 'NL:'
  when /amiga/i       then 'NIL:'
  else                     '/dev/null'
end.freeze