4825件ヒット
[1-100件を表示]
(0.180秒)
ライブラリ
- ビルトイン (4825)
クラス
-
ARGF
. class (48) - Array (336)
- BasicObject (72)
- Bignum (6)
- Class (12)
- Complex (48)
- Data (27)
- Dir (36)
-
Encoding
:: Converter (84) - Enumerator (86)
-
Enumerator
:: Chain (21) -
Enumerator
:: Lazy (132) -
Enumerator
:: Yielder (12) - Exception (12)
- Fiber (32)
- File (152)
- Fixnum (6)
- Float (54)
- Hash (114)
- IO (464)
- Integer (72)
- LocalJumpError (12)
- MatchData (12)
- Method (82)
- Module (276)
- Numeric (60)
- Object (240)
- Proc (116)
- Range (26)
- Rational (36)
- Refinement (4)
- Regexp (36)
-
RubyVM
:: InstructionSequence (12) - Set (9)
- String (294)
- Struct (74)
- Symbol (48)
- Thread (54)
-
Thread
:: Queue (10) - Time (80)
- TracePoint (24)
- UnboundMethod (24)
モジュール
- Enumerable (356)
- GC (12)
-
GC
:: Profiler (12) - Kernel (464)
- Marshal (24)
- Math (60)
- ObjectSpace (48)
- Process (84)
-
Process
:: GID (36) -
Process
:: UID (36)
キーワード
- ! (12)
-
$ * (12) -
$ -d (12) -
$ DEBUG (12) - % (24)
- ** (54)
- + (12)
- << (14)
- === (32)
- >> (14)
- BasicObject (12)
- Class (12)
- Comparable (12)
- Complex (24)
- DATA (12)
- Data (3)
- EXXX (12)
- Fiber (12)
- Float (12)
- GC (12)
- Hash (12)
- IO (12)
- InstructionSequence (12)
- Lazy (12)
- Location (12)
- MatchData (12)
- Numeric (12)
- OPTS (12)
- Rational (24)
- ScriptError (12)
- SignalException (12)
- Symbol (12)
- Thread (12)
- ThreadError (12)
- TracePoint (12)
- [] (81)
-
_ _ id _ _ (12) -
_ _ send _ _ (24) - acosh (12)
- advise (12)
-
alias
_ method (12) - alive? (4)
- append (8)
- arity (36)
- asinh (12)
- at (42)
- attr (12)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - backtrace (12)
-
bind
_ call (12) - binmode (12)
- bsearch (48)
- call (36)
- caller (36)
- capitalize (18)
- capitalize! (9)
- chain (7)
- chmod (12)
- chomp (12)
- chop (12)
- chown (12)
- chunk (12)
-
class
_ exec (12) - close (10)
- collect (48)
- collect! (24)
-
collect
_ concat (36) -
compile
_ option= (12) - concat (18)
- convert (12)
- count (12)
- crypt (12)
- curry (24)
-
deconstruct
_ keys (2) - define (6)
- delete (24)
- delete! (12)
-
deprecate
_ constant (12) - difference (7)
- div (12)
- divmod (24)
- downcase (18)
- downcase! (9)
- dump (24)
- each (62)
-
each
_ object (48) -
each
_ with _ index (24) -
each
_ with _ object (24) - eid= (24)
- encode (36)
-
end
_ with? (18) - entries (12)
-
enum
_ for (48) - except (8)
- exec (60)
- extend (12)
- fatal (12)
-
filter
_ map (18) -
flat
_ map (36) - flock (12)
- fnmatch (12)
- fnmatch? (12)
-
for
_ fd (12) - force (12)
- fork (12)
- format (12)
- frexp (12)
- ftype (12)
- gamma (12)
- glob (24)
-
grant
_ privilege (24) -
grep
_ v (24) - groups (12)
- gsub (36)
- hypot (12)
-
import
_ methods (4) - include (24)
- initialize (12)
- insert (12)
- inspect (12)
-
instance
_ exec (12) - intersection (6)
- join (12)
- kill (12)
- lazy (12)
- lchmod (12)
- lchown (12)
- lutime (8)
- map (48)
- map! (24)
- match (24)
-
max
_ by (48) - merge (14)
- merge! (20)
-
method
_ missing (12) -
module
_ exec (12) -
module
_ function (12) - modulo (12)
- new (165)
- open (24)
- overlap? (2)
- p (12)
- pack (21)
- parameters (24)
- pipe (48)
- popen (168)
- pow (24)
- pp (8)
- prepend (29)
-
primitive
_ convert (48) - print (36)
- printf (48)
- private (24)
-
private
_ class _ method (12) -
private
_ constant (12) - product (24)
- protected (12)
- public (24)
-
public
_ class _ method (12) -
public
_ constant (12) -
public
_ send (24) - push (12)
- puts (36)
-
raw
_ data (12) - read (48)
- readpartial (12)
- reason (12)
- refine (12)
- remainder (12)
-
remove
_ method (12) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
respond
_ to _ missing? (12) - resume (12)
- round (30)
-
ruby2
_ keywords (18) - seek (12)
- send (24)
-
set
_ encoding (24) - setpriority (12)
- setrlimit (24)
-
sid
_ available? (24) - slice (15)
- spawn (60)
- sprintf (12)
- squeeze (12)
- squeeze! (12)
- start (12)
-
start
_ with? (18) - strftime (12)
- sub (24)
- sum (42)
- swapcase (18)
- swapcase! (9)
- syscall (12)
- sysread (12)
- sysseek (12)
- system (48)
- tap (12)
-
to
_ a (24) -
to
_ ary (12) -
to
_ c (12) -
to
_ enum (48) -
to
_ f (24) -
to
_ h (39) -
to
_ hash (12) -
to
_ int (12) -
to
_ io (12) -
to
_ r (12) -
to
_ regexp (12) -
to
_ s (12) -
to
_ set (6) -
to
_ str (12) - trace (12)
- transfer (4)
-
transform
_ values (18) -
transform
_ values! (18) -
undef
_ method (12) - union (19)
- unlink (12)
- unpack (12)
- unshift (12)
- upcase (18)
- upcase! (9)
- update (20)
- using (24)
- utime (12)
-
values
_ at (60) - warn (12)
- with (3)
-
with
_ index (18) -
with
_ object (12) - write (32)
- yield (36)
- zip (72)
検索結果
先頭5件
-
Rational
# *(other) -> Rational | Float (26124.0) -
積を計算します。
...。
@param other 自身に掛ける数
other に Float を指定した場合は、計算結果を Float で返しま
す。
//emlist[例][ruby]{
r = Rational(3, 4)
r * 2 # => (3/2)
r * 4 # => (3/1)
r * 0.5 # => 0.375
r * Rational(1, 2) # => (3/8)
//}... -
Complex
# *(other) -> Complex (26118.0) -
積を計算します。
...積を計算します。
@param other 自身に掛ける数
//emlist[例][ruby]{
Complex(1, 2) * 2 # => (2+4i)
Complex(1, 2) * Complex(2, 3) # => (-4+7i)
Complex(1, 2) * Rational(1, 2) # => ((1/2)+(1/1)*i)
//}... -
String
# *(times) -> String (26118.0) -
文字列の内容を times 回だけ繰り返した新しい文字列を作成して返します。
...self を times 回繰り返した新しい文字列
@raise ArgumentError 引数に負数を指定したときに発生します。
//emlist[例][ruby]{
p "str" * 3 # => "strstrstr"
str = "abc"
p str * 4 # => "abcabcabcabc"
p str * 0 # => ""
p str # => "abc" (変化なし)
//}... -
Array
# *(sep) -> String (26107.0) -
指定された sep を間にはさんで連結した文字列を生成して返します。Array#join(sep) と同じ動作をします。
...ep) と同じ動作をします。
@param sep 文字列を指定します。
文字列以外のオブジェクトを指定した場合は to_str メソッドによ
る暗黙の型変換を試みます。
//emlist[例][ruby]{
p [1,2,3] * ","
# => "1,2,3"
//}
@see Array#join... -
Array
# *(times) -> Array (26107.0) -
配列の内容を times 回 繰り返した新しい配列を作成して返します。 値はコピーされないことに注意してください。
...or 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
@raise ArgumentError 引数に負の数を指定した場合に発生します。
//emlist[例][ruby]{
p [1, 2, 3] * 3 #=> [1, 2, 3, 1, 2, 3, 1, 2, 3]
//}... -
Float
# *(other) -> Float (26106.0) -
算術演算子。積を計算します。
...算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 積
2.4 * 3 # => 7.2
//}... -
Integer
# *(other) -> Numeric (26106.0) -
算術演算子。積を計算します。
...算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果
//emlist[][ruby]{
2 * 3 # => 6
//}... -
Bignum
# *(other) -> Fixnum | Bignum | Float (26100.0) -
算術演算子。積を計算します。
算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果 -
Fixnum
# *(other) -> Fixnum | Bignum | Float (26100.0) -
算術演算子。積を計算します。
算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果 -
Float
# **(other) -> Float (14106.0) -
算術演算子。冪を計算します。
...算術演算子。冪を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 冪
1.2 ** 3.0 # => 1.7279999999999998
3.0 + 4.5 - 1.3 / 2.4 * 3 % 1.2 ** 3.0 # => 5.875
0.0 ** 0 # => 1.0
//}...