Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/URI/FTP/cdesc-FTP.yaml |
--- !ruby/object:RI::ClassDescription
attributes:
- !ruby/object:RI::Attribute
comment:
name: typecode
rw: R
class_methods:
- !ruby/object:RI::MethodSummary
name: build
- !ruby/object:RI::MethodSummary
name: new
- !ruby/object:RI::MethodSummary
name: new2
comment:
- !ruby/struct:SM::Flow::P
body: FTP URI syntax is defined by RFC1738 section 3.2.
constants:
- !ruby/object:RI::Constant
comment:
name: DEFAULT_PORT
value: "21"
- !ruby/object:RI::Constant
comment:
name: COMPONENT
value: "[ :scheme, :userinfo, :host, :port, :path, :typecode"
- !ruby/object:RI::Constant
comment:
- !ruby/struct:SM::Flow::P
body: Typecode is "a", "i" or "d".
- !ruby/object:SM::Flow::LIST
contents:
- !ruby/struct:SM::Flow::LI
label: "*"
body: ""a" indicates a text file (the FTP command was ASCII)"
- !ruby/struct:SM::Flow::LI
label: "*"
body: ""i" indicates a binary file (FTP command IMAGE)"
- !ruby/struct:SM::Flow::LI
label: "*"
body: ""d" indicates the contents of a directory should be displayed"
type: :BULLET
name: TYPECODE
value: "['a', 'i', 'd'].freeze"
- !ruby/object:RI::Constant
comment:
name: TYPECODE_PREFIX
value: "';type='.freeze"
full_name: URI::FTP
includes:
- !ruby/object:RI::IncludedModule
name: OpenURI::OpenRead
instance_methods:
- !ruby/object:RI::MethodSummary
name: check_typecode
- !ruby/object:RI::MethodSummary
name: path
- !ruby/object:RI::MethodSummary
name: set_typecode
- !ruby/object:RI::MethodSummary
name: to_s
- !ruby/object:RI::MethodSummary
name: typecode=
name: FTP
superclass: Object