module Shoulda
  module Matchers
    module ActiveModel
      def require_a_valid_subnet(attribute = :value)
        RequireAValidSubnetMatcher.new(attribute)