# File lib/ipaddress/ipv4.rb, line 474
    def size
      2 ** @prefix.host_prefix
    end