ライブラリ
- ビルトイン (3)
- matrix (1)
- pathname (3)
- shell (2)
-
shell
/ command-processor (2) -
shell
/ filter (3)
クラス
-
File
:: Stat (3) - Matrix (1)
- Pathname (3)
- Shell (2)
-
Shell
:: CommandProcessor (2) -
Shell
:: Filter (3)
キーワード
-
executable
_ real? (5) -
readable
_ real? (3) -
writable
_ real? (5)
検索結果
先頭5件
-
Matrix
# real? -> bool (63361.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 (45625.0) -
実ユーザ/グループIDで実行できる時に真を返します。
実ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable_real?
#例
#=> true
//} -
File
:: Stat # writable _ real? -> bool (45625.0) -
実ユーザ/実グループによって書き込み可能な時に真を返します。
実ユーザ/実グループによって書き込み可能な時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).writable_real? #=> true
//} -
Pathname
# executable _ real? -> bool (36607.0) -
FileTest.executable_real?(self.to_s) と同じです。
FileTest.executable_real?(self.to_s) と同じです。
@see FileTest.#executable_real? -
Pathname
# writable _ real? -> bool (36607.0) -
FileTest.writable_real?(self.to_s) と同じです。
FileTest.writable_real?(self.to_s) と同じです。
@see FileTest.#writable_real? -
Shell
# executable _ real?(file) -> bool (36604.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
# writable _ real?(file) -> bool (36604.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real? -
Shell
:: CommandProcessor # executable _ real?(file) -> bool (36604.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: CommandProcessor # writable _ real?(file) -> bool (36604.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real? -
Shell
:: Filter # executable _ real?(file) -> bool (36604.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: Filter # writable _ real?(file) -> bool (36604.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real? -
File
:: Stat # readable _ real? -> bool (27325.0) -
実ユーザ/実グループによって読み込み可能な時に真を返します。
実ユーザ/実グループによって読み込み可能な時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).readable_real? #=> true
//} -
Pathname
# readable _ real? -> bool (27307.0) -
FileTest.readable_real?(self.to_s) と同じです。
FileTest.readable_real?(self.to_s) と同じです。
@see FileTest.#readable_real? -
Shell
:: Filter # readable _ real?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable_real?