2044件ヒット
[1-100件を表示]
(0.096秒)
ライブラリ
- ビルトイン (733)
- bigdecimal (60)
- fiddle (36)
-
fiddle
/ import (12) -
irb
/ context (24) - json (12)
- matrix (247)
- mkmf (24)
-
net
/ ftp (20) -
net
/ http (12) -
net
/ imap (24) - openssl (72)
- optparse (36)
- ostruct (12)
- pathname (24)
- prime (24)
- psych (12)
- resolv (12)
-
rexml
/ document (24) -
rinda
/ tuplespace (12) -
ripper
/ lexer (24) -
rubygems
/ package / tar _ reader / entry (24) -
rubygems
/ package / tar _ writer (48) -
rubygems
/ source _ info _ cache _ entry (12) -
rubygems
/ user _ interaction (24) - scanf (12)
-
shell
/ process-controller (12) - socket (60)
- stringio (132)
- strscan (132)
- tracer (12)
-
win32
/ registry (24) - win32ole (12)
- zlib (84)
クラス
-
ARGF
. class (12) - Addrinfo (12)
- Array (21)
- BasicSocket (48)
- BigDecimal (60)
- Binding (7)
-
Fiddle
:: CStruct (12) -
Fiddle
:: Function (24) -
Fiddle
:: Pointer (12) - Float (12)
-
Gem
:: Package :: TarReader :: Entry (24) -
Gem
:: Package :: TarWriter :: BoundedStream (36) -
Gem
:: Package :: TarWriter :: RestrictedStream (12) -
Gem
:: SourceInfoCacheEntry (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - IO (44)
-
IRB
:: Context (24) - Integer (72)
- Matrix (235)
-
Matrix
:: LUPDecomposition (12) - Method (12)
- Module (12)
-
Net
:: FTP :: MLSxEntry (20) -
Net
:: HTTP (12) -
Net
:: IMAP (12) -
Net
:: IMAP :: StatusData (12) - Numeric (12)
-
OpenSSL
:: PKey :: DH (12) -
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: SSL :: SSLSocket (24) -
OpenSSL
:: X509 :: Name (12) - OpenStruct (12)
- OptionParser (36)
- Pathname (24)
-
Prime
:: TrialDivisionGenerator (24) - Proc (12)
-
Psych
:: Nodes :: Stream (12) -
REXML
:: Attributes (24) - Rational (12)
- Regexp (24)
-
Resolv
:: DNS :: Resource :: SOA (12) -
Rinda
:: TupleEntry (12) -
Ripper
:: Lexer (24) -
RubyVM
:: AbstractSyntaxTree :: Node (28) -
RubyVM
:: InstructionSequence (12) -
Shell
:: ProcessController (12) - String (321)
- StringIO (132)
- StringScanner (132)
- Struct (72)
- Thread (24)
-
Thread
:: Backtrace :: Location (12) - TracePoint (12)
- Tracer (12)
- UnboundMethod (12)
-
WIN32OLE
_ VARIABLE (12) -
Win32
:: Registry (24) -
Zlib
:: GzipWriter (12) -
Zlib
:: ZStream (72)
モジュール
-
JSON
:: Generator :: GeneratorMethods :: Integer (12) - Kernel (24)
-
OpenSSL
:: Buffering (12)
キーワード
- % (12)
- << (9)
- =~ (24)
- [] (36)
- []= (19)
-
add
_ trace _ func (12) - adler (12)
- attr (12)
-
avail
_ in (12) -
avail
_ out (12) -
back
_ trace _ limit (12) -
back
_ trace _ limit= (12) - binwrite (12)
- byteindex (3)
- byterindex (3)
- bytes (24)
-
bytes
_ read (12) - bytesize (12)
- call (12)
- charpos (12)
- chr (36)
- cipher (12)
- ciphers (12)
- codepoints (24)
- cofactor (12)
-
cofactor
_ expansion (12) -
column
_ count (12) -
column
_ size (12) -
compute
_ key (12) - concat (18)
-
const
_ source _ location (12) - count (36)
-
data
_ type (12) -
elements
_ to _ i (12) - encoding (12)
- exist? (12)
- facts (10)
-
find
_ index (36) -
first
_ column (7) -
first
_ lineno (19) -
get
_ thread _ no (12) - getbyte (24)
- hash (48)
- hex (12)
- index (48)
- inspect (12)
- integer? (12)
-
ip
_ unpack (12) -
kill
_ job (6) -
laplace
_ expansion (12) -
last
_ column (7) -
last
_ lineno (7) - length (48)
- lex (12)
- limit (12)
- lineno (36)
-
local
_ port (12) - match? (12)
-
matched
_ size (12) - matchedsize (12)
-
named
_ captures (12) - next (12)
- oct (12)
-
ole
_ type _ detail (12) - on (36)
- ord (12)
- pack (21)
- parse (12)
- pivots (12)
- pointer (12)
- pos (36)
- ptr (12)
- pwrite (8)
- rank (12)
-
rank
_ e (12) - read (12)
- readbyte (12)
- recvmsg (12)
-
recvmsg
_ nonblock (12) -
rest
_ size (12) - restsize (12)
- retry (12)
- rindex (12)
-
row
_ count (12) -
row
_ size (12) - scanf (12)
- sendmsg (12)
-
sendmsg
_ nonblock (12) -
set
_ trace _ func (12) - setbyte (12)
- sfork (6)
- size (82)
- skip (12)
-
skip
_ until (12) -
source
_ location (43) - split (12)
- status (12)
- succ (12)
- sum (12)
- syswrite (36)
- tell (12)
-
to
_ a (12) -
to
_ f (12) -
to
_ i (24) -
to
_ json (12) -
to
_ s (36) -
total
_ in (12) -
total
_ out (12) - trace (12)
- truncate (84)
-
try
_ constant (24) - unpack (12)
-
values
_ at (12) - write (96)
-
write
_ nonblock (24) - written (12)
検索結果
先頭5件
-
Integer
# integer? -> true (27214.0) -
常に真を返します。
...常に真を返します。
//emlist[][ruby]{
1.integer? # => true
1.0.integer? # => false
//}... -
Integer
# truncate(ndigits = 0) -> Integer | Float (27208.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
...定した場合、Integer を返します。
小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) # => 1.0
18.truncate(-1) # => 10
(-18).truncate(-1) # => -10
//}
@see Numeric#truncate... -
Integer
# truncate(ndigits = 0) -> Integer (27202.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
...します。
負の整数を指定した場合、小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) # => 1
18.truncate(-1) # => 10
(-18).truncate(-1) # => -10
//}
@see Numeric#truncate... -
Matrix
# tr -> Integer | Float | Rational | Complex (21204.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
Integer
# chr -> String (21101.0) -
self を文字コードとして見た時に、引数で与えたエンコーディング encoding に対応する文字を返します。
...ンコーディングを表すオブジェクト。Encoding::UTF_8、'shift_jis' など。
@return 一文字からなる文字列
@raise RangeError self を与えられたエンコーディングで正しく解釈できない場合に発生します。
@see String#ord Encoding.default_internal... -
Integer
# chr(encoding) -> String (21101.0) -
self を文字コードとして見た時に、引数で与えたエンコーディング encoding に対応する文字を返します。
...ンコーディングを表すオブジェクト。Encoding::UTF_8、'shift_jis' など。
@return 一文字からなる文字列
@raise RangeError self を与えられたエンコーディングで正しく解釈できない場合に発生します。
@see String#ord Encoding.default_internal... -
Integer
# inspect(base=10) -> String (21101.0) -
整数を 10 進文字列表現に変換します。
整数を 10 進文字列表現に変換します。
引数を指定すれば、それを基数とした文字列表
現に変換します。
//emlist[][ruby]{
p 10.to_s(2) # => "1010"
p 10.to_s(8) # => "12"
p 10.to_s(16) # => "a"
p 35.to_s(36) # => "z"
//}
@return 数値の文字列表現
@param base 基数となる 2 - 36 の数値。
@raise ArgumentError base に 2 - 36 以外の数値を指定した場合に発生します。 -
Integer
# to _ s(base=10) -> String (21101.0) -
整数を 10 進文字列表現に変換します。
整数を 10 進文字列表現に変換します。
引数を指定すれば、それを基数とした文字列表
現に変換します。
//emlist[][ruby]{
p 10.to_s(2) # => "1010"
p 10.to_s(8) # => "12"
p 10.to_s(16) # => "a"
p 35.to_s(36) # => "z"
//}
@return 数値の文字列表現
@param base 基数となる 2 - 36 の数値。
@raise ArgumentError base に 2 - 36 以外の数値を指定した場合に発生します。 -
Matrix
# trace -> Integer | Float | Rational | Complex (9204.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
StringIO
# truncate(len) -> Integer (9202.0) -
自身のサイズが len になるように、自身を切り詰め、もしくは拡大します。 拡大した場合は、その部分を 0 で埋めます。 len を返します。
...でない時に発生します。
@raise Errno::EINVAL len がマイナスの時に発生します。
//emlist[例][ruby]{
require "stringio"
a = StringIO.new("hoge", 'r+')
a.truncate(2)
a.string #=> "ho"
a.truncate(5)
a.string #=> "ho\000\000\000"
//}...