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

close_outgoing

        # Ractor.close_outgoing

(from ruby core)
---
    ractor.close_outgoing -> true | false

---

Closes the outgoing port and returns its previous state. All further
attempts to Ractor.yield in the ractor, and #take from the ractor will
fail with Ractor::ClosedError.

    r = Ractor.new {sleep(500)}
    r.close_outgoing  #=> false
    r.close_outgoing  #=> true
    r.take
    # Ractor::ClosedError (The outgoing-port is already closed)



      

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.