1415件ヒット
[1401-1415件を表示]
(0.028秒)
ライブラリ
クラス
- BigDecimal (77)
- Bignum (12)
- Complex (154)
-
Enumerator
:: ArithmeticSequence (36) - Fixnum (9)
- Float (44)
- Integer (262)
- Matrix (66)
-
Matrix
:: LUPDecomposition (22) -
Net
:: FTP (22) -
Net
:: HTTP (6) - Numeric (481)
- Object (22)
-
OpenSSL
:: BN (11) - OptionParser (132)
- Rational (26)
- Vector (33)
キーワード
- % (33)
- * (55)
- ** (15)
- + (11)
- +@ (11)
- - (11)
- -@ (11)
-
/ (76) - <=> (11)
- [] (27)
- abs (11)
- abs2 (11)
- angle (22)
- arg (22)
- begin (6)
- ceil (22)
- clone (11)
- coerce (33)
- conj (11)
- conjugate (11)
- denominator (11)
- det (22)
- determinant (22)
- div (22)
- divmod (39)
- downto (22)
- dup (11)
- end (6)
- eql? (11)
- fdiv (28)
- finite? (8)
- first (12)
- floor (33)
- imag (22)
- imaginary (22)
- infinite? (8)
- integer? (11)
- last (12)
- magnitude (11)
- modulo (33)
- negative? (9)
- nonzero? (11)
- numerator (11)
- on (132)
-
open
_ timeout (11) - phase (22)
- polar (22)
- positive? (9)
- pow (22)
- quo (44)
-
read
_ timeout (11) - real (11)
- real? (22)
- rect (22)
- rectangular (22)
- remainder (36)
- round (22)
- step (84)
- times (22)
-
to
_ i (11) - truncate (33)
- upto (22)
-
write
_ timeout (6) - zero? (11)
検索結果
-
Integer
# times -> Enumerator (13.0) -
self 回だけ繰り返します。 self が正の整数でない場合は何もしません。
...れます。
//emlist[][ruby]{
3.times { puts "Hello, World!" } # Hello, World! と3行続いて表示される。
0.times { puts "Hello, World!" } # 何も表示されない。
5.times {|n| print n } # 01234 と表示される。
//}
@see Integer#upto, Integer#downto, Numeric#step... -
Integer
# times {|n| . . . } -> self (13.0) -
self 回だけ繰り返します。 self が正の整数でない場合は何もしません。
...れます。
//emlist[][ruby]{
3.times { puts "Hello, World!" } # Hello, World! と3行続いて表示される。
0.times { puts "Hello, World!" } # 何も表示されない。
5.times {|n| print n } # 01234 と表示される。
//}
@see Integer#upto, Integer#downto, Numeric#step...