104件ヒット
[101-104件を表示]
(0.221秒)
種類
- インスタンスメソッド (97)
- 特異メソッド (5)
- クラス (2)
ライブラリ
- ビルトイン (104)
クラス
モジュール
- GC (2)
キーワード
- % (2)
- * (1)
- ** (1)
- + (1)
- +@ (1)
- - (1)
- -@ (1)
-
/ (3) - <=> (1)
- Complex (1)
- Numeric (1)
- [] (1)
- abs (2)
- abs2 (2)
- angle (2)
- arg (2)
- at (3)
- ceil (2)
- clone (1)
- coerce (1)
- conj (1)
- conjugate (1)
- denominator (1)
- div (1)
- divmod (3)
- downto (2)
- dup (1)
- eql? (1)
- fdiv (2)
- finite? (1)
- floor (3)
- i (1)
- imag (2)
- imaginary (2)
- infinite? (1)
- integer? (1)
- magnitude (2)
- modulo (2)
- negative? (1)
- nonzero? (1)
- numerator (1)
- owner (1)
- phase (2)
- polar (2)
- positive? (1)
- pow (2)
- quo (3)
- real (2)
- real? (2)
- rect (2)
- rectangular (2)
- remainder (2)
- round (2)
- size (1)
- stat (2)
- step (6)
- times (2)
-
to
_ c (1) -
to
_ i (1) -
to
_ int (1) - truncate (3)
- upto (2)
- zero? (1)
検索結果
先頭4件
-
UnboundMethod
# owner -> Class | Module (24019.0) -
このメソッドが定義されている class か module を返します。
このメソッドが定義されている class か module を返します。
//emlist[例][ruby]{
Integer.instance_method(:to_s).owner # => Integer
Integer.instance_method(:to_c).owner # => Numeric
Integer.instance_method(:hash).owner # => Kernel
//} -
Time
. at(time) -> Time (24010.0) -
time で指定した時刻の Time オブジェクトを返します。
time で指定した時刻の Time オブジェクトを返します。
引数が数値の場合、生成された Time オブジェクトのタイムゾーンは地方時となります。
@param time Time オブジェクト、もしくは起算時からの経過秒数を表わす数値で指定します。
//emlist[][ruby]{
Time.at(0) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0)) # => 1970-01-01 09:00:00 +0900
Time... -
Integer
# pow(other , modulo) -> Integer (24007.0) -
算術演算子。冪(べき乗)を計算します。
算術演算子。冪(べき乗)を計算します。
@param other 二項演算の右側の引数(対象)
@param modulo 指定すると、計算途中に巨大な値を生成せずに (self**other) % modulo と同じ結果を返します。
@return 計算結果
@raise TypeError 2引数 pow で Integer 以外を指定した場合に発生します。
@raise RangeError 2引数 pow で other に負の数を指定した場合に発生します。
//emlist[][ruby]{
2 ** 3 # => 8
2 ** 0 # => 1
0 ** 0 # => 1
... -
GC
. stat(result _ hash = {}) -> {Symbol => Integer} (24004.0) -
GC 内部の統計情報を Hash で返します。
GC 内部の統計情報を Hash で返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。
@param key 得られる統計情報から特定の情報を取得したい場合にキーを
Symbol で指定します。
@return GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
...