lib/rio/if/path.rb in rio-0.3.7 vs lib/rio/if/path.rb in rio-0.3.8
- old
+ new
@@ -1,8 +1,8 @@
#--
# ===============================================================================
-# Copyright (c) 2005, Christopher Kleckner
+# Copyright (c) 2005, 2006 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,11 +20,11 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# ===============================================================================
#++
#
# To create the documentation for Rio run the command
-# rake rdoc
+# ruby build_doc.rb
# from the distribution directory. Then point your browser at the 'doc/rdoc' directory.
#
# Suggested Reading
# * RIO::Doc::SYNOPSIS
# * RIO::Doc::INTRO
@@ -65,15 +65,15 @@
#
def to_uri() target.to_uri end
# Returns the path for the Rio on the underlying file system
# Returns nil if the Rio is not on the filesystem (i.e. stdin: or http: Rios)
- def fspath(*args) target.fspath(*args) end
+ def fspath() target.fspath() end
# Returns the path portion of the URL representation of the rio
# Returns nil if the Rio URL has no path (i.e. stdin: or http: Rios)
- def urlpath(*args) target.urlpath(*args) end
+ def urlpath() target.urlpath() end
# Proxy for File#expand_path
#
# Converts a pathname to an absolute pathname.
# Relative paths are referenced from the current working directory of the process
@@ -415,11 +415,12 @@
# Calls URI#merge
#
- # Merges two Rios. URI#merge does not document exactly what merging to URIs means. This appears to
- # join the the paths with like <tt>other + path</tt>. See URI#merge for less information.
+ # Merges two Rios. URI#merge does not document exactly what merging two URIs means.
+ # This appears to join the paths like <tt>other + path</tt>.
+ # See URI#merge for less information.
#
def merge(other) target.merge(other) end
# Calls URI#route_from