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

ipv4_multicast_ttl

        # Socket::Option.ipv4_multicast_ttl

(from ruby core)
### Implementation from Option
---
    Socket::Option.ipv4_multicast_ttl(integer) => sockopt

---

Creates a new Socket::Option object for IP_MULTICAST_TTL.

The size is dependent on the platform.

    p Socket::Option.ipv4_multicast_ttl(10)
    #=> #<Socket::Option: INET IP MULTICAST_TTL 10>


(from ruby core)
### Implementation from Option
---
    sockopt.ipv4_multicast_ttl => integer

---

Returns the ipv4_multicast_ttl data in *sockopt* as an integer.

    sockopt = Socket::Option.ipv4_multicast_ttl(10)
    p sockopt.ipv4_multicast_ttl => 10



      

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.