lib/rio/rl/base.rb in rio-0.4.2 vs lib/rio/rl/base.rb in rio-0.5.1
- old
+ new
@@ -1,8 +1,8 @@
#--
-# ===============================================================================
-# Copyright (c) 2005,2006,2007,2008 Christopher Kleckner
+# ===========================================================================
+# Copyright (c) 2005-2012 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
@@ -16,31 +16,18 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Rio; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-# ===============================================================================
+# ===========================================================================
#++
#
-# To create the documentation for Rio run the command
-# ruby build_doc.rb
-# from the distribution directory.
-#
-# Suggested Reading
-# * RIO::Doc::SYNOPSIS
-# * RIO::Doc::INTRO
-# * RIO::Doc::HOWTO
-# * RIO::Doc::EXAMPLES
-# * RIO::Rio
-#
-require 'uri'
+require 'rio/alturi'
require 'rio/local'
-require 'rio/uri/file'
require 'rio/rl/chmap'
-require 'rio/rl/fs2url'
module RIO
module RL
SCHEME = 'rio'
@@ -99,17 +86,17 @@
def close()
#p "Closing RL #{self}"
nil
end
- def fs2url(pth) RL.fs2url(pth) end
- def url2fs(pth) RL.url2fs(pth) end
- def escape(pth,esc=RL::ESCAPE)
- RL.escape(pth,esc)
- end
- def unescape(pth)
- RL.unescape(pth)
- end
+ #def fs2url(pth) RL.fs2url(pth) end
+ #def url2fs(pth) RL.url2fs(pth) end
+ #def escape(pth,esc=RL::ESCAPE)
+ # RL.escape(pth,esc)
+ #end
+ #def unescape(pth)
+ # RL.unescape(pth)
+ #end
def callstr(func,*args)
self.class.to_s+'['+self.to_s+']'+'.'+func.to_s+'('+args.join(',')+')'
end
end