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

socket?

        # File::Stat.socket?

(from ruby core)
### Implementation from Stat
---
    stat.socket?    -> true or false

---

Returns `true` if *stat* is a socket, `false` if it isn't or if the
operating system doesn't support this feature.

    File.stat("testfile").socket?   #=> false



      

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.