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: ipv4_interfaces.rb
    path of file: ./repos/vagrant/lib/vagrant/util
    
    the code of the file until where you have to start completion: # Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

module Vagrant
  module Util
    module IPv4Interfaces
      def ipv4_int
    
      def ipv4_interfaces
        Socket.getifaddrs.select do |ifaddr|
          ifaddr.addr && ifaddr.addr.ipv4?
        end.map do |ifaddr|
          [ifaddr.name, ifaddr.addr.ip_address]
        end
      end

      extend IPv4Interfaces
    end