lib/rio/dir.rb in rio-0.3.6 vs lib/rio/dir.rb in rio-0.3.7
- old
+ new
@@ -51,21 +51,21 @@
class NonExisting < Base
include Ops::Dir::NonExisting
def check?() not self.exist? end
def when_missing(sym,*args) gofigure(sym,*args) end
- end # class EDir
+ end
class Existing < Base
include Ops::Dir::Existing
def check?() self.directory? end
def when_missing(sym,*args) dopen() end
def dopen()
self.rl = RIO::Dir::RL.new(self.to_uri)
become 'Dir::Open'
end
- end # class EDir
+ end
class Open < Base
def check?() true end
def open(m=nil,*args)
open_(*args)
end