lib/Titania.rb in Titania-0.0.9 vs lib/Titania.rb in Titania-0.1.0
- old
+ new
@@ -5,10 +5,10 @@
module Titania
class Connection
attr_accessor :connect
def initialize(host,username,password)
- self.connect = Net::FTP::newhost, username, password)
+ self.connect = Net::FTP::new(host, username, password)
end
def get_list(path = '/')
# File List / Return Array