Class: RIO::FTP::RL
- Inherits:
-
RL::URIBase
- Object
- RL::Base
- RL::WithPath
- RL::URIBase
- RIO::FTP::RL
- Defined in:
- lib/rio/scheme/ftp.rb
Constant Summary
Constants inherited from RL::URIBase
RL::URIBase::HOST, RL::URIBase::SCHEME
Constants inherited from RL::WithPath
RL::WithPath::HOST, RL::WithPath::SCHEME
Instance Attribute Summary
Attributes inherited from RL::URIBase
Attributes inherited from RL::Base
Class Method Summary collapse
Instance Method Summary collapse
- #dir_rl ⇒ Object
- #file_rl ⇒ Object
-
#initialize(*args) ⇒ RL
constructor
A new instance of RL.
- #open(*args) ⇒ Object
- #openfs_ ⇒ Object
Methods inherited from RL::URIBase
#_get_base_from_arg, #_get_opts_from_args, #absolute?, #arg0_info_, #base, #base=, #host, #host=, #init_from_args_, #initialize_copy, #join, #opaque, #path, #path=, #pathroot, #scheme, #to_s, #url, #urlpath, #urlpath=, #urlroot
Methods inherited from RL::WithPath
#_build, #_parts, #_uri, #abs, #base, #basename, #build_arg0_, #dirname, #filename, #fspath, #fspath=, #fspath_no_slash, #host, #host=, #is_root?, #join, #merge, #opaque, #path, #path=, #path_no_slash, #pathdepth, #pathroot, #route_from, #route_to, #scheme, #split, #uri, #uri_from_string_, #urlpath, #urlpath=
Methods included from Error::NotImplemented
Methods inherited from RL::Base
#==, #===, #=~, #callstr, #close, #escape, #fs2url, #fspath, #initialize_copy, is_riorl?, #length, parse, #path, #rl, split_riorl, subscheme, #to_rl, #to_s, #unescape, #url, #url2fs
Constructor Details
#initialize(*args) ⇒ RL
Returns a new instance of RL.
52 53 54 55 56 |
# File 'lib/rio/scheme/ftp.rb', line 52 def initialize(*args) super @ftype = nil @names = nil end |
Class Method Details
.splitrl(s) ⇒ Object
57 58 59 60 |
# File 'lib/rio/scheme/ftp.rb', line 57 def self.splitrl(s) sub,opq,whole = split_riorl(s) [whole] end |
Instance Method Details
#dir_rl ⇒ Object
71 72 73 |
# File 'lib/rio/scheme/ftp.rb', line 71 def dir_rl() self end |
#file_rl ⇒ Object
68 69 70 |
# File 'lib/rio/scheme/ftp.rb', line 68 def file_rl() RIO::FTP::Stream::RL.new(self.uri) end |