2044件ヒット
[201-300件を表示]
(0.094秒)
ライブラリ
- ビルトイン (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件
-
Resolv
:: DNS :: Resource :: SOA # retry -> Integer (6202.0) -
セカンダリサーバがプライマリサーバからの情報更新に失敗した場合に 何秒後にリトライするかを返します。
セカンダリサーバがプライマリサーバからの情報更新に失敗した場合に
何秒後にリトライするかを返します。 -
Thread
# add _ trace _ func(pr) -> Proc (6113.0) -
スレッドにトレース用ハンドラを追加します。
...ラを返します。
@param pr トレースハンドラ(Proc オブジェクト)
//emlist[例][ruby]{
th = Thread.new do
class Trace
end
43.to_s
end
th.add_trace_func lambda {|*arg| p arg }
th.join
# => ["line", "example.rb", 4, nil, #<Binding:0x00007f98e107d0d8>, nil]
# => ["c-call", "exa......e0>, nil]
# => ["line", "example.rb", 6, nil, #<Binding:0x00007f98e108d4b0>, nil]
# => ["c-call", "example.rb", 6, :to_s, #<Binding:0x00007f98e1097aa0>, Integer]
# => ["c-return", "example.rb", 6, :to_s, #<Binding:0x00007f98e1095cc8>, Integer]
//}
@see Thread#set_trace_func Kernel.#set_trace_func... -
Thread
# set _ trace _ func(pr) -> Proc | nil (6113.0) -
スレッドにトレース用ハンドラを設定します。
...除します。
設定したハンドラを返します。
//emlist[例][ruby]{
th = Thread.new do
class Trace
end
2.to_s
Thread.current.set_trace_func nil
3.to_s
end
th.set_trace_func lambda {|*arg| p arg }
th.join
# => ["line", "example.rb", 2, nil, #<Binding:0x00007fc8de87cb08>, nil]......<Binding:0x00007fc8de88c440>, nil]
# => ["c-call", "example.rb", 4, :to_s, #<Binding:0x00007fc8de896f30>, Integer]
# => ["c-return", "example.rb", 4, :to_s, #<Binding:0x00007fc8de894a50>, Integer]
# => ["line", "example.rb", 5, nil, #<Binding:0x00007fc8de967b08>, nil]
# => ["c-call", "example.rb", 5......"c-return", "example.rb", 5, :current, #<Binding:0x00007fc8de9673b0>, Thread]
# => ["c-call", "example.rb", 5, :set_trace_func, #<Binding:0x00007fc8de966fc8>, Thread]
//}
@param pr トレースハンドラ(Proc オブジェクト) もしくは nil
@see Thread#add_trace_func Kernel.#set_trace_func... -
IRB
:: Context # back _ trace _ limit=(val) (6107.0) -
エラー発生時のバックトレース表示の先頭、末尾の上限の行数をそれぞれ val 行に設定します。
...ぞれ val
行に設定します。
.irbrc ファイル中で IRB.conf[:BACK_TRACE_LIMIT] を設定する事でも同様の
操作が行えます。
@param val バックトレース表示の先頭、末尾の上限を Integer で指定
します。
@see IRB::Context#back_trace_limit... -
BigDecimal
# truncate(n) -> BigDecimal (6102.0) -
小数点以下の数を切り捨てて整数にします。
...ます)。
n が負のときは小数点以上 n 桁目を操作します
(小数点位置から左に少なくとも n 個の 0 が並びます)。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").truncate(4).to_f # => 1.2345
BigDecimal("15.23456").truncate(-1).to_f # => 10.0
//}... -
Gem
:: Package :: TarWriter :: RestrictedStream # write(data) -> Integer (6102.0) -
与えられたデータを自身に関連付けられた IO に書き込みます。
与えられたデータを自身に関連付けられた IO に書き込みます。
@param data 書き込むデータを指定します。
@return 書き込んだデータのサイズを返します。 -
RubyVM
:: AbstractSyntaxTree :: Node # first _ column -> Integer (6102.0) -
ソースコード中で、self を表すテキストが最初に現れる列番号を返します。
...ソースコード中で、self を表すテキストが最初に現れる列番号を返します。
列番号は0-originで、バイト単位で表されます。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.first_column # => 0
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # first _ lineno -> Integer (6102.0) -
ソースコード中で、self を表すテキストが最初に現れる行番号を返します。
...ソースコード中で、self を表すテキストが最初に現れる行番号を返します。
行番号は1-originです。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.first_lineno # => 1
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # last _ column -> Integer (6102.0) -
ソースコード中で、self を表すテキストが最後に現れる列番号を返します。
...ソースコード中で、self を表すテキストが最後に現れる列番号を返します。
列番号は0-originで、バイト単位で表されます。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
p node.last_column # => 5
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # last _ lineno -> Integer (6102.0) -
ソースコード中で、self を表すテキストが最後に現れる行番号を返します。
...ソースコード中で、self を表すテキストが最後に現れる行番号を返します。
行番号は1-originです。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
p node.last_lineno # => 1
//}... -
Net
:: FTP :: MLSxEntry # facts -> { String => String|Integer|Time } (3326.0) -
そのエントリの「facts」を返します。
...パーミッション(String)
* "type": 種類(String, "file", "dir", "cdir", "pdir" など)
* "size": ファイルサイズ (Integer, octet単位)
* "unique": ユニークID (String)
* "lang": ファイルの言語 (String)
* "media-type": メディアタイプ (String)
* "charset":......ンコーディング (String)
サーバが UNIX 系 OS の場合は以下のような facts が
使える可能性があります。
* "unix.mode": ファイルモード(Integer)
* "unix.group": グループ(Integer)
* "unix.owner": ファイルのオーナー(Integer)
* "unix.atime": フ...