Class: Knj::Fs::Ftp
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args) ⇒ Ftp
constructor
A new instance of Ftp.
Constructor Details
#initialize(args) ⇒ Ftp
Returns a new instance of Ftp.
29 30 31 32 |
# File 'lib/knj/fs/drivers/ftp.rb', line 29 def initialize(args) @args = args raise "Stub!" end |
Class Method Details
.args ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/knj/fs/drivers/ftp.rb', line 2 def self.args return [ { "title" => "Hostname", "name" => "texhost" }, { "title" => "Port", "name" => "texport" }, { "title" => "Username", "name" => "texusername" }, { "title" => "Password", "name" => "texpassword", "type" => "password" }, { "title" => "Passive?", "name" => "chepassive", "type" => "checkbox" } ] end |