3件ヒット
[1-3件を表示]
(0.181秒)
クラス
-
File
:: Stat (1) - Numeric (1)
- Pathname (1)
検索結果
-
Numeric
# real? -> bool (81679.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? -
File
:: Stat # executable _ real? -> bool (54925.0) -
実ユーザ/グループIDで実行できる時に真を返します。
実ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable_real?
#例
#=> true
//} -
Pathname
# executable _ real? -> bool (54907.0) -
FileTest.executable_real?(self.to_s) と同じです。
FileTest.executable_real?(self.to_s) と同じです。
@see FileTest.#executable_real?