lib/bill_hicks/base.rb
def connect(options)
      self.class.connect(options) do |ftp|
        begin
          yield ftp
        ensure
          ftp.close
        end
      end
    end
# Instance methods become class methods through inheritance
Instance methods become class methods through inheritance
Instance methods become class methods through inheritance
def connect(options)
      self.class.connect(options) do |ftp|
        begin
          yield ftp
        ensure
          ftp.close
        end
      end
    end
def connect ( options ) self . class . connect ( options ) do | ftp | begin yield ftp ensure ftp . close end end end
Instance methods become class methods through inheritance
Instance methods become class methods through inheritance
options