s an example.
</p>

<div class="example">
<div class="caption">Example. Address Block Matching Example</div>
<pre><code>paths:
  &quot;/&quot;:
    mruby.handler: |
      require &quot;trie_addr.rb&quot;
      trie = TrieAddr.new.add([&quot;192.168.0.0/16&quot;, &quot;172.16.0.0/12&quot;])
      acl {
        allow { trie.match?(addr) }
        deny
      }
    file.dir: /path/to/doc_root
</code></pre>
</div>


<p>
This library currently supports only IPv4 addresses. <code>TrieAddr#match?</code> returns <co