るりまサーチ

最速Rubyリファレンスマニュアル検索!
6429件ヒット [1-100件を表示] (0.067秒)
トップページ > クエリ:@[x] > クエリ:constants[x]

別のキーワード

  1. _builtin constants
  2. module constants
  3. socket constants
  4. syslog constants
  5. constants sync

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Module#constants(inherit = true) -> [Symbol] (18173.0)

そのモジュール(またはクラス)で定義されている定数名の配列を返します。

...クラスで定義されている
定数は含まれません。 Object.constants とすると Object クラスで定義された
定数の配列が得られます。

得られる定数の順序は保証されません。

@
param inherit true を指定するとスーパークラスや include し...
...す。false を指定した場合 対象にはなりません。

@
see Module.constants, Kernel.#local_variables, Kernel.#global_variables, Object#instance_variables, Module#class_variables

//emlist[Module.constants と Module#constants の違い][ruby]{
# 出力の簡略化のため起動時の定...
...s Bar
BAR = 1

# Bar は BAR を含む
p constants # => [:BAR]
# 出力に FOO は含まれない
p Module.constants - $clist # => [:BAR, :Bar, :Foo]
class Baz
# Baz は定数を含まない
p constants # => []

# ネス...

Module.constants -> [Symbol] (18119.0)

このメソッドを呼び出した時点で参照可能な定数名の配列を返します。

...配列を返します。

//emlist[例][ruby]{
class C
FOO = 1
end
p Module.constants # => [:RUBY_PLATFORM, :STDIN, ..., :C, ...]
# 出力中に :FOO は現われない
//}

@
see Module#constants, Kernel.#local_variables, Kernel.#global_variables, Object#instance_variables,...

Socket::Constants::MCAST_MSFILTER -> Integer (3034.0)

@todo Multicast source filtering

...@todo
Multicast source filtering

BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@
see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678...

Socket::Constants::SO_TIMESTAMPNS -> Integer (3028.0)

@todo Receive nanosecond timestamp with datagrams (timespec)。

...@todo
Receive nanosecond timestamp with datagrams (timespec)。

@
see Socket::Constants::SO_TIMESTAMP,
Socket::AncillaryData#timestamp...

Socket::Constants::AF_ROUTE -> Integer (3022.0)

@todo Internal Routing protocol。 Socket.open の第一引数 domain に使用します。

...@todo
Internal Routing protocol。
Socket.open の第一引数 domain に使用します。

@
todo...

絞り込み条件を変える

Socket::Constants::PF_ROUTE -> Integer (3022.0)

@todo Internal Routing protocol。 Socket.open の第一引数 domain に使用します。

...@todo
Internal Routing protocol。
Socket.open の第一引数 domain に使用します。

@
todo...

Socket::Constants::MCAST_BLOCK_SOURCE -> Integer (3018.0)

Block multicast packets from this source

...Block multicast packets from this source

BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@
see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678...

Socket::Constants::MCAST_EXCLUDE -> Integer (3018.0)

Exclusive multicast source filter

...Exclusive multicast source filter

BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@
see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678...

Socket::Constants::MCAST_INCLUDE -> Integer (3018.0)

Inclusive multicast source filter

...Inclusive multicast source filter

BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@
see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678...
<< 1 2 3 ... > >>