lib/rio/rl/base.rb in rio-0.3.1 vs lib/rio/rl/base.rb in rio-0.3.2
- old
+ new
@@ -45,20 +45,20 @@
CHMAP = {
'_' => 'sysio',
'-' => 'stdio',
'=' => 'stderr',
'"' => 'strio',
- '?' => 'tempfile',
+ '?' => 'temp',
'[' => 'aryio',
'`' => 'cmdio',
'#' => 'fd',
?_ => 'sysio',
?- => 'stdio',
?= => 'stderr',
?" => 'strio',
- ?? => 'tempfile',
+ ?? => 'temp',
?[ => 'aryio',
?` => 'cmdio',
?# => 'fd',
}.freeze
end
@@ -131,9 +131,10 @@
def ==(other) self.to_s == other.to_s end
def ===(other) self == other end
def =~(other) other =~ self.to_s end
def length() self.to_s.length end
def fspath() nil end
+ def path() nil end
def to_rl() self.rl end
def url() self.scheme+SUBSEPAR+self.opaque end
def callstr(func,*args)