lib/rio/scheme/cmdio.rb in rio-0.3.1 vs lib/rio/scheme/cmdio.rb in rio-0.3.2

- old
+ new

@@ -40,10 +40,10 @@ require 'rio/rl/ioi' RESET_STATE = 'Stream::Duplex::Open' class RL < RL::SysIOBase RIOSCHEME = 'cmdio' - RIOPATH = RIO::RL::CHMAP.invert[RIOSCHEME].freeze + RIOPATH = RIO::RL::CHMAP.invert[RIOSCHEME].to_s.freeze def initialize(cmd="") @cmd = cmd end def opaque() URI.escape(@cmd,RIO::RL::ESCAPE)