486件ヒット
[1-100件を表示]
(0.128秒)
ライブラリ
- ビルトイン (156)
- benchmark (12)
- matrix (48)
- pathname (48)
-
rubygems
/ config _ file (12) - shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (18) - tempfile (12)
-
webrick
/ httpauth / authenticator (12) -
webrick
/ httpauth / basicauth (12) -
webrick
/ httpauth / htdigest (48) -
webrick
/ httpauth / htpasswd (36) -
webrick
/ httpauth / userdb (36)
クラス
-
Benchmark
:: Tms (12) - Complex (60)
-
File
:: Stat (36) -
Gem
:: ConfigFile (12) - Matrix (48)
- Numeric (60)
- Pathname (48)
- Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (18) - Tempfile (12)
-
WEBrick
:: HTTPAuth :: BasicAuth (12) -
WEBrick
:: HTTPAuth :: Htdigest (48) -
WEBrick
:: HTTPAuth :: Htpasswd (36)
モジュール
キーワード
- abs (12)
- abs2 (12)
- close (12)
-
delete
_ passwd (24) - each (12)
-
executable
_ real? (30) - format (12)
-
get
_ passwd (36) - imag (12)
- imaginary (12)
- integer? (12)
- magnitude (12)
-
make
_ passwd (12) -
readable
_ real? (30) - real? (36)
- realdirpath (12)
-
really
_ verbose (12) - realm (24)
- realpath (24)
- rect (12)
- rectangular (12)
-
set
_ passwd (36) -
writable
_ real? (42)
検索結果
先頭5件
-
Numeric
# real -> Numeric (21232.0) -
自身を返します。
...す。
Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。
//emlist[例][ruby]{
10.real # => 10
-10.real # => -10
0.1.real # => 0.1
Rational(2, 3).real # => (2/3)
//}
@see Numeric#imag、Complex#real... -
Matrix
# real -> Matrix (21220.0) -
行列の実部を返します。
...行列の実部を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]]
# => 1+2i i 0
# 1 2 3
Matrix[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]].real
# => 1 0 0
# 1 2 3
//}... -
Complex
# real -> Numeric (18208.0) -
自身の実部を返します。
...自身の実部を返します。
//emlist[例][ruby]{
Complex(3, 2).real # => 3
//}... -
Pathname
# realdirpath(basedir = nil) -> Pathname (12301.0) -
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に 存在しなくてもエラーになりません。
...Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に
存在しなくてもエラーになりません。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリになります。
//emlist[例][ruby]{
require "pathna......_exist")
path.realdirpath # => #<Pathname:/not_exist>
path.realpath # => Errno::ENOENT
# 最後ではないコンポーネント(/not_exist_1)も存在しないのでエラーになる。
path = Pathname("/not_exist_1/not_exist_2")
path.realdirpath # => Errno::ENOENT
//}
@see Pathname#realpa... -
Pathname
# writable _ real? -> bool (12224.0) -
FileTest.writable_real?(self.to_s) と同じです。
...FileTest.writable_real?(self.to_s) と同じです。
@see FileTest.#writable_real?... -
File
:: Stat # writable _ real? -> bool (12208.0) -
実ユーザ/実グループによって書き込み可能な時に真を返します。
...実ユーザ/実グループによって書き込み可能な時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).writable_real? #=> true
//}... -
Shell
# writable _ real?(file) -> bool (12208.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
:: CommandProcessor # writable _ real?(file) -> bool (12208.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
:: Filter # writable _ real?(file) -> bool (12208.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
WEBrick
:: HTTPAuth :: Authenticator # realm -> String (12201.0) -
レルムを返します。
レルムを返します。