lib/rio/path.rb in rio-0.3.4 vs lib/rio/path.rb in rio-0.3.6

- old
+ new

@@ -69,11 +69,11 @@ end protected def edir() - rl.path += '/' unless rl.path.empty? or rl.path[-1] == ?/ + #rl.path += '/' unless rl.path.empty? or rl.path[-1] == ?/ next_state = become('Dir::Existing') next_state.extend(Ops::Symlink::Existing) if symlink? next_state end def efile() @@ -95,10 +95,10 @@ include Cp::NonExisting::Output def check?() not exist? end def ndir() - rl.path += '/' unless rl.path.empty? or rl.path[-1] == ?/ + #rl.path += '/' unless rl.path.empty? or rl.path[-1] == ?/ become('Dir::NonExisting') end def nfile() become('File::NonExisting') end def when_missing(sym,*args)