るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
17件ヒット [1-17件を表示] (0.145秒)

別のキーワード

  1. option bool
  2. socket bool
  3. win32ole vt_bool
  4. variant vt_bool
  5. bool socket

検索結果

Numeric#real? -> bool (72982.0)

常に true を返します。(Complex またはそのサブクラスではないことを意味します。)

常に true を返します。(Complex またはそのサブクラスではないことを意味します。)

Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。

//emlist[例][ruby]{
10.real? # => true
-10.real? # => true
0.1.real? # => true
Rational(2, 3).real? # => true
//}

@see Numeric#integer?、Complex#real?

Matrix#real? -> bool (72964.0)

行列の全要素が実(Numeric#real?)であれば true を返します。

行列の全要素が実(Numeric#real?)であれば true を返します。

Complexオブジェクトを要素に持つ場合は虚部が0でも偽を返します。

//emlist[例][ruby]{
require 'matrix'
Matrix[[1, 0], [0, 1]].real? # => true
Matrix[[Complex(0, 1), 0], [0, 1]].real? # => false
# 要素が実数であっても Complex オブジェクトなら偽を返す。
Matrix[[Complex(1, 0), 0], [0, 1]].real? # => false
//}

File::Stat#executable_real? -> bool (45928.0)

実ユーザ/グループIDで実行できる時に真を返します。

実ユーザ/グループIDで実行できる時に真を返します。

//emlist[][ruby]{
p File::Stat.new($0).executable_real?
#例
#=> true
//}

File::Stat#readable_real? -> bool (45928.0)

実ユーザ/実グループによって読み込み可能な時に真を返します。

実ユーザ/実グループによって読み込み可能な時に真を返します。

//emlist[][ruby]{
p File::Stat.new($0).readable_real? #=> true
//}

File::Stat#writable_real? -> bool (45928.0)

実ユーザ/実グループによって書き込み可能な時に真を返します。

実ユーザ/実グループによって書き込み可能な時に真を返します。

//emlist[][ruby]{
p File::Stat.new($0).writable_real? #=> true
//}

絞り込み条件を変える

Shell#executable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#executable_real?

Shell#readable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#readable_real?

Shell#writable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#writable_real?

Shell::CommandProcessor#executable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#executable_real?

Shell::CommandProcessor#readable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#readable_real?

絞り込み条件を変える

Shell::CommandProcessor#writable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#writable_real?

Shell::Filter#executable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#executable_real?

Shell::Filter#readable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#readable_real?

Shell::Filter#writable_real?(file) -> bool (37207.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#writable_real?

Pathname#executable_real? -> bool (36910.0)

FileTest.executable_real?(self.to_s) と同じです。

FileTest.executable_real?(self.to_s) と同じです。


@see FileTest.#executable_real?

絞り込み条件を変える

Pathname#readable_real? -> bool (36910.0)

FileTest.readable_real?(self.to_s) と同じです。

FileTest.readable_real?(self.to_s) と同じです。


@see FileTest.#readable_real?

Pathname#writable_real? -> bool (36910.0)

FileTest.writable_real?(self.to_s) と同じです。

FileTest.writable_real?(self.to_s) と同じです。


@see FileTest.#writable_real?