This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

===

        # IPAddr.===

(from ruby core)
---
    ===(other)

---

(This method is an alias for IPAddr#include?.)

Returns true if the given ipaddr is in the range.

e.g.:
    require 'ipaddr'
    net1 = IPAddr.new("192.168.2.0/24")
    net2 = IPAddr.new("192.168.2.100")
    net3 = IPAddr.new("192.168.3.0")
    net4 = IPAddr.new("192.168.2.0/16")
    p net1.include?(net2)     #=> true
    p net1.include?(net3)     #=> false
    p net1.include?(net4)     #=> false
    p net4.include?(net1)     #=> true



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.