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

locked?

        # IO::Buffer.locked?

(from ruby core)
### Implementation from Buffer
---
    locked? -> true or false

---

If the buffer is *locked*, meaning it is inside #locked block execution.
Locked buffer can't be resized or freed, and another lock can't be
acquired on it.

Locking is not thread safe, but is a semantic used to ensure buffers
don't move while being used by a system call.

    buffer.locked do
      buffer.write(io) # theoretical system call interface
    end



      

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.