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

Thread::Mutex

        # Thread::Mutex < Object

(from ruby core)
---
Thread::Mutex implements a simple semaphore that can be used to
coordinate access to shared data from multiple concurrent threads.

Example:

    semaphore = Thread::Mutex.new

    a = Thread.new {
      semaphore.synchronize {
        # access shared resource
      }
    }

    b = Thread.new {
      semaphore.synchronize {
        # access shared resource
      }
    }
---
# Class methods:

    new

# Instance methods:

    lock
    locked?
    owned?
    sleep
    synchronize
    try_lock
    unlock


      

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.