Dave Burt wrote:
> I like both, and would like to have the option to use either.

You now have both -- and more. You now can create pathless Rios in
the following ways (using strio as an example)
  str = "Hello World\n"

  rio(?",str)
  rio(:strio,str)
  rio("strio:",str)
  rio.strio(str)
  RIO.strio(str)
  RIO::Rio.strio(str)
  RIO::Rio.new(char_or_symbol_or_string_as above,str)
  RIO::rio(char_or_symbol_or_string_as above,str)
  RIO::Rio.rio(char_or_symbol_or_string_as above,str)

I most likely will drop some of these in the next release, based on the

feedback I get.

> I prefer the
> symbol, but having the string be a key part of the concept of a Rio object,
> like a URL protocol, and showing up as such in #inspect, isn't a bad idea.

In each of the following the part in quotes after the second colon
is the IORL.

irb(main):005:0> rio(?=)
=> #<Rio:0x81334f8:"stderr:" (Stream::Open)>
irb(main):006:0> rio(?#,2)
=> #<Rio:0x81299d0:"fd:2" (Stream::Open)>
irb(main):007:0> rio($stderr)
=> #<Rio:0x812346c:"sysio:0x08076f1c" (Stream::Open)>
irb(main):008:0> rio('foo/bar')
=> #<Rio:0x811d898:"path:foo/bar" (Path::Reset)>
irb(main):009:0> rio('/tmp')
=> #<Rio:0x8126088:"file:///tmp" (Path::Reset)>
irb(main):010:0> rio('http://localhost/')
=> #<Rio:0x81234c0:"http://localhost/" (HTTP::Stream::Open)>
irb(main):011:0> rio(??,'zippy','/tmp')
=> #<Rio:0x82a5fa0:"temp:/tmp/zippy" (Temp::Reset)>

> I don't like the character/Fixnum; the brevity is good, but a single-character
> prefix in the string itself is shorter... maybe makes Rio less flexible,
> though - rio("!sort") for a cmdio?

Originally I was using single character strings like rio('-') for
stdio:,
as the super brief version -- which is longer than rio(?-).
At the time I felt that the single character was cleaner (is that
stdio,
or a file named '-').

The embedded character works in some places, and certainly has
precedant,
but what do you propose for strio, stdio and the others?

I would like to have this issue decided by the next release.