Ruby 4.0 リファレンスマニュアル

instance method Socket::Option#optname

optname -> IntegerRuby 1.9.3 から[permalink][rdoc][edit]

ソケットのオプション名を表す整数を返します。