lib/rio/file.rb in rio-0.5.1 vs lib/rio/file.rb in rio-0.6.0
- old
+ new
@@ -1,8 +1,8 @@
#--
# ===========================================================================
-# Copyright (c) 2005-2012 Christopher Kleckner
+# Copyright (c) 2005-2017 Christopher Kleckner
# All rights reserved
#
# This file is part of the Rio library for ruby.
#
# Rio is free software; you can redistribute it and/or modify
@@ -20,34 +20,23 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# ===========================================================================
#++
#
-
-#require 'rio/state'
-#require 'rio/ops/path'
-#require 'rio/ops/file'
-
-
-
module RIO
-
-
module File #:nodoc: all
class Base < State::Base
include Ops::Path::Str
protected
def stream_rl_
- #RIO::File::RL.new(self.to_uri,{:fs => self.fs})
self.rl.file_rl
end
public
def fstream()
- #p self.rl.class
self.rl = self.stream_rl_
become 'Path::Stream::Open'
end
def when_missing(sym,*args)