るりまサーチ

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

別のキーワード

  1. psych psych_y
  2. kernel y
  3. psych y
  4. kernel psych_y
  5. y kernel

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

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

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

...ます。
Object のサブクラスの場合、Objectやそのスーパークラスで定義されている
定数は含まれません。 Object.constants とすると Object クラスで定義された
定数の配列が得られます。

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

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

//emlist[Module.constants と Module#constants の違い][ruby]{
# 出力の簡略化のため起動時の定数一覧を取得して後で差し引く
$clist = Module.constants

cla...
...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] (18213.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#in...

Win32::Registry::Constants::KEY_QUERY_VALUE (12200.0)

@todo

@todo

セキュリティアクセスマスク。

Socket::Constants::IPV6_RTHDR_TYPE_0 -> Integer (9106.0)

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

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

@see Socket::Constants::IPPROTO_IPV6,
3542...

Socket::Constants::IPV6_V6ONLY -> Integer (9106.0)

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

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

@see Socket::Constants::IPPROTO_IPV6,
netinet/in.h(header), ip6(4freebsd), ipv6(7linux),
3493...

絞り込み条件を変える

Socket::Constants::IP_IPSEC_POLICY -> Integer (9106.0)

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

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

@see Socket::Constants::IPPROTO_IP,
http://netbsd.gw.com/cgi-bin/man-cgi?ip++NetBSD-current...

Socket::Constants::SO_TYPE -> Integer (9106.0)

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

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

@see sys/socket.h(header), getsockopt(2freebsd),
socket(7linux), Socket::Constants::SOL_SOCKET...

File::Constants::BINARY -> Integer (9100.0)

ファイルをバイナリとして開きます。 open(2) で O_BINARYが指定できる場合に使えます。 File.openで使用します。

...ファイルをバイナリとして開きます。
open(2) で O_BINARYが指定できる場合に使えます。
File.openで使用します。...

File::Constants::DSYNC -> Integer (9100.0)

ファイルをデータ同期モードで開きます。 open(2) で O_DSYNC が指定できる場合に使えます。 File.openで使用します。

...ファイルをデータ同期モードで開きます。
open(2) で O_DSYNC が指定できる場合に使えます。
File.openで使用します。...
<< 1 2 3 ... > >>