Sha256: f1099fb7f357fc0795f2a0a7ae18bea798316e3504ee8289dde0bf54ddca9956

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

module Remote

  class Session

    class SendFile < Send

      attr_accessor :local_path

      def initialize( local_path, remote_path )
        @local_path  = local_path
        super( remote_path )
      end

      private

      def _open
        @file = File.open( @local_path, 'r' )
      end

    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
remote-session-0.0.6 lib/remote/session/send_file.rb
remote-session-0.0.5 lib/remote/session/send_file.rb
remote-session-0.0.4 lib/remote/session/send_file.rb