You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: receiver.rb
    path of file: ./repos/hrr_rb_ssh/lib/hrr_rb_ssh/transport
    
    the code of the file until where you have to start completion: module HrrRbSsh
  class Transport
    class Receiver
      include Loggable

      def initialize lo
    
      def receive_mac transport
        mac_length = transport.incoming_mac_algorithm.digest_length
        mac = transport.io.read mac_length
        if (mac == nil) || (mac.length != mac_length)
          log_info { "IO is EOF" }
          raise EOFError
        end