typecode=(typecode)
Instance Public methods
Args
- v
-
String
Description
public setter for the typecode v. (with validation)
see also URI::FTP.check_typecode
Usage
require 'uri'
uri = URI.parse("ftp://john@ftp.example.com/my_file.img")
#=> #<URI::FTP:0x00000000923650 URL:ftp://john@ftp.example.com/my_file.img>
uri.typecode = "i"
# => "i"
uri
#=> #<URI::FTP:0x00000000923650 URL:ftp://john@ftp.example.com/my_file.img;type=i>
Please login to continue.