Module: URI
- Defined in:
- lib/uri/ssh.rb,
lib/uri/svn.rb,
lib/uri/file.rb,
lib/uri/druby.rb,
lib/uri/mysql.rb,
lib/uri/pgsql.rb,
lib/uri/rsync.rb,
lib/uri/ftp_ex.rb,
lib/uri/http_ex.rb,
lib/uri/generic_ex.rb
Overview
- Copyright
-
Copyright © 2005 Nicolas Pouillard. All rights reserved.
- Author
-
Nicolas Pouillard <[email protected]>.
- License
-
Gnu General Public License.
- Revision
-
$Id: /w/fey/ruby_ex/trunk/lib/uri/rsync.rb 24386 2006-07-09T17:05:32.199607Z ertai $
Defined Under Namespace
Classes: CheckoutError, CommitError, DRuby, FTP, FTPEx, File, FtpEx, Generic, GenericEx, HTTP, HTTPEx, HttpEx, MySQL, PgSQL, Rsync, SaveError, Ssh, Svn
Class Method Summary collapse
Class Method Details
.parse(anObject) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/uri/generic_ex.rb', line 21 def parse ( anObject ) str = anObject.to_s if str =~ /^(\w+)(?:.\w+)?:\/\// "uri/#$1".camelize.constantize end static_parse(str) end |
.static_parse ⇒ Object
20 |
# File 'lib/uri/generic_ex.rb', line 20 alias_method :static_parse, :parse |