るりまサーチ

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

別のキーワード

  1. _builtin end
  2. ripper end_seen?
  3. _builtin exclude_end?
  4. _builtin end_with?
  5. io seek_end

検索結果

<< 1 2 3 > >>

Module#constants(inherit = true) -> [Symbol] (18179.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...
...ss Foo
FOO = 1
end

class 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_varia...

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

ource address for outgoing UDP datagrams。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...ource address for outgoing UDP datagrams。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, ip(4freebsd)...

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

追記モードでファイルを開くときに指定します。 File.openで使用します。

追記モードでファイルを開くときに指定します。
File.openで使用します。

Socket::Constants::MSG_SEND -> Integer (9100.0)

@todo Send the packet in so_temp

...@todo
Send the packet in so_temp...

絞り込み条件を変える

Socket::IP_SENDSRCADDR -> Integer (6106.0)

ource address for outgoing UDP datagrams。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...ource address for outgoing UDP datagrams。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, ip(4freebsd)...

Win32::Registry::Constants::REG_DWORD_BIG_ENDIAN (6100.0)

@todo

@todo

レジストリ値の型。

Win32::Registry::Constants::REG_DWORD_LITTLE_ENDIAN (6100.0)

@todo

@todo

レジストリ値の型。

Win32::Registry::Constants::REG_QWORD_LITTLE_ENDIAN (6100.0)

@todo

@todo

レジストリ値の型。
<< 1 2 3 > >>