6255件ヒット
[201-300件を表示]
(0.139秒)
ライブラリ
- ビルトイン (2367)
- benchmark (55)
- bigdecimal (55)
-
cgi
/ core (44) -
cgi
/ html (88) - continuation (22)
- csv (66)
- date (22)
- dbm (11)
- delegate (11)
- e2mmap (18)
- fiber (16)
- fiddle (44)
-
fiddle
/ import (55) - forwardable (44)
- gdbm (11)
- getoptlong (33)
- ipaddr (11)
-
irb
/ cmd / chws (22) -
irb
/ cmd / help (11) -
irb
/ cmd / nop (11) -
irb
/ cmd / pushws (33) -
irb
/ cmd / subirb (33) -
irb
/ ext / use-loader (22) -
irb
/ output-method (55) - json (22)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / ostruct (11) -
json
/ add / range (11) -
json
/ add / rational (11) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / symbol (11) -
json
/ add / time (11) - mathn (4)
- matrix (332)
-
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (231)
-
net
/ ftp (86) -
net
/ imap (88) -
net
/ smtp (55) - observer (11)
- open-uri (22)
- openssl (286)
- optparse (242)
- pathname (165)
- prime (11)
- psych (88)
- rake (99)
-
rdoc
/ markup (11) - resolv (33)
-
rexml
/ document (44) -
rexml
/ parsers / sax2parser (55) -
rinda
/ tuplespace (22) - ripper (22)
- rubygems (11)
-
rubygems
/ platform (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ index (22) -
rubygems
/ specification (33) -
rubygems
/ user _ interaction (99) -
rubygems
/ validator (11) - scanf (18)
- sdbm (11)
- set (22)
- shell (60)
-
shell
/ command-processor (78) -
shell
/ filter (78) -
shell
/ system-command (12) - socket (77)
- stringio (51)
- strscan (33)
- thwait (12)
- tracer (11)
- uri (11)
-
webrick
/ httpserver (11) -
webrick
/ httpservlet / prochandler (11) -
win32
/ registry (11) - win32ole (55)
- zlib (260)
クラス
-
ARGF
. class (44) - Array (305)
- BasicObject (55)
- BasicSocket (66)
-
Benchmark
:: Report (22) -
Benchmark
:: Tms (33) - BigDecimal (66)
- Bignum (6)
-
CSV
:: Row (33) -
CSV
:: Table (11) - Class (11)
- Complex (55)
- Continuation (22)
- DBM (11)
- Data (4)
- Date (33)
- DateTime (11)
- Delegator (11)
-
Encoding
:: Converter (44) - Enumerator (66)
-
Enumerator
:: Chain (12) -
Enumerator
:: Lazy (109) -
Enumerator
:: Yielder (11) - Exception (22)
- Fiber (33)
-
Fiddle
:: Closure :: BlockCaller (11) -
Fiddle
:: Function (11) -
Fiddle
:: Pointer (22) - File (11)
- Fixnum (6)
- Float (49)
- GDBM (11)
-
Gem
:: Platform (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (22) -
Gem
:: Specification (33) -
Gem
:: StreamUI (11) -
Gem
:: Validator (11) - GetoptLong (33)
- Hash (68)
- IO (90)
- IPAddr (11)
-
IRB
:: ExtendCommand :: ChangeWorkspace (11) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (11) -
IRB
:: ExtendCommand :: Foreground (11) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: ExtendCommand :: IrbCommand (11) -
IRB
:: ExtendCommand :: Kill (11) -
IRB
:: ExtendCommand :: Nop (11) -
IRB
:: ExtendCommand :: PopWorkspace (11) -
IRB
:: ExtendCommand :: PushWorkspace (11) -
IRB
:: ExtendCommand :: Workspaces (11) -
IRB
:: OutputMethod (44) -
IRB
:: StdioOutputMethod (11) - Integer (66)
- LocalJumpError (11)
- MatchData (11)
- Matrix (176)
- Method (74)
- Module (176)
-
Net
:: FTP (77) -
Net
:: FTP :: MLSxEntry (9) -
Net
:: IMAP (44) -
Net
:: IMAP :: ContentDisposition (11) -
Net
:: IMAP :: MailboxList (11) -
Net
:: IMAP :: TaggedResponse (11) -
Net
:: IMAP :: UntaggedResponse (11) -
Net
:: SMTP (55) - Numeric (55)
- Object (166)
-
OpenSSL
:: BN (44) -
OpenSSL
:: Engine (11) -
OpenSSL
:: OCSP :: BasicResponse (33) -
OpenSSL
:: OCSP :: Request (22) -
OpenSSL
:: OCSP :: Response (11) -
OpenSSL
:: PKCS7 (22) -
OpenSSL
:: PKey :: EC :: Group (11) -
OpenSSL
:: PKey :: RSA (44) -
OpenSSL
:: SSL :: SSLContext (22) -
OpenSSL
:: X509 :: Certificate (11) -
OpenSSL
:: X509 :: Name (11) -
OpenSSL
:: X509 :: StoreContext (11) - OpenStruct (11)
- OptionParser (231)
- Pathname (165)
- Prime (11)
- Proc (105)
-
Psych
:: Handler (55) -
Psych
:: Visitors :: YAMLTree (11) -
RDoc
:: Markup (11) -
RDoc
:: Options (11) -
REXML
:: Document (22) -
REXML
:: Element (22) -
REXML
:: Parsers :: SAX2Parser (55) -
Rake
:: FileList (33) - Range (34)
- Rational (48)
- Refinement (3)
- Regexp (33)
-
Resolv
:: DNS (33) -
Rinda
:: TupleEntry (11) -
Rinda
:: TupleSpace (11) - Ripper (22)
- SDBM (11)
- Shell (60)
-
Shell
:: CommandProcessor (78) -
Shell
:: Filter (78) -
Shell
:: SystemCommand (12) -
Socket
:: AncillaryData (11) - String (284)
- StringIO (51)
- StringScanner (33)
- Struct (34)
- Symbol (16)
-
Thread
:: Queue (9) - ThreadsWait (12)
- Time (44)
- Tracer (11)
-
URI
:: Generic (11) - UnboundMethod (21)
- Vector (156)
-
WEBrick
:: HTTPServer (11) -
WEBrick
:: HTTPServlet :: ProcHandler (11) - WIN32OLE (22)
-
WIN32OLE
_ EVENT (33) -
Win32
:: Registry (11) -
Zlib
:: Deflate (33) -
Zlib
:: GzipReader (154) -
Zlib
:: GzipWriter (73)
モジュール
-
CGI
:: HtmlExtension (88) -
CGI
:: QueryExtension (44) - Enumerable (341)
- Exception2MessageMapper (18)
-
Fiddle
:: Importer (55) - FileUtils (11)
- Forwardable (22)
-
Gem
:: UserInteraction (88) -
IRB
:: ExtendCommandBundle (22) - Kernel (336)
-
MiniTest
:: Assertions (2) - Observable (11)
-
OpenSSL
:: Buffering (33) -
OpenURI
:: OpenRead (22) -
OptionParser
:: Arguable (11) -
Rake
:: TaskManager (11) - SingleForwardable (22)
キーワード
- % (22)
- ** (76)
- + (11)
- +@ (11)
- << (34)
- === (40)
- >> (12)
- Fail (6)
- Raise (6)
- [] (33)
-
_ _ id _ _ (11) -
_ _ send _ _ (22) - accept (11)
- add (11)
-
add
_ dependency (11) -
add
_ development _ dependency (11) -
add
_ runtime _ dependency (11) -
add
_ specs (11) -
add
_ word _ pair (11) - alert (11)
-
alert
_ error (11) -
alert
_ warning (11) - alias (11)
-
alias
_ method (11) - alien (11)
- alive? (11)
- append (7)
- arity (33)
- ask (11)
-
ask
_ yes _ no (11) -
assert
_ in _ epsilon (1) -
assert
_ raises (1) - attr (22)
-
attr
_ accessor (11) -
attr
_ reader (11) -
attr
_ writer (11) - authenticate (11)
- backtrace (11)
- bind (11)
-
bind
_ call (10) - binmode (11)
- binread (11)
- binwrite (11)
- bsearch (44)
- call (66)
- capitalize (8)
- capitalize! (8)
- cat (18)
- chain (6)
-
check
_ nonce (11) -
checkbox
_ group (22) - chmod (18)
-
choose
_ from _ list (11) - chown (18)
- chunk (11)
-
class
_ exec (11) - close (20)
- collect (78)
- collect! (46)
- collect2 (22)
-
collect
_ concat (33) - combine (7)
- concat (28)
-
connect
_ address (11) - convert (11)
- count (11)
- cross (11)
-
cross
_ product (11) - crypt (11)
- curry (22)
- decrypt (11)
-
def
_ delegators (22) -
def
_ instance _ delegators (11) -
def
_ single _ delegators (11) -
define
_ task (11) - deflate (11)
- delete (29)
- delete! (11)
-
deprecate
_ constant (9) - difference (6)
- dir (22)
- div (11)
- divmod (22)
- dlload (11)
- downcase (8)
- downcase! (8)
- each (100)
-
each
_ byte (22) -
each
_ line (44) -
each
_ resource (11) -
each
_ with _ index (22) -
each
_ with _ object (22) - echo (18)
- eigen (11)
- eigensystem (11)
- encode (33)
-
end
_ with? (11) - entries (11)
-
enum
_ for (44) - exclude (11)
- execute (110)
- extern (11)
- facts (9)
- fail (6)
- fields (11)
- file (11)
-
file
_ create (11) -
filter
_ map (15) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) - finish (22)
-
flat
_ map (33) - flock (11)
- flush (11)
- fnmatch (11)
- fnmatch? (11)
- force (11)
- format (11)
- gem (11)
- get (11)
-
get
_ instance (11) -
get
_ option (11) -
get
_ proxy _ from _ env (11) - getc (11)
- getopts (33)
- getresource (11)
- getresources (11)
- gets (11)
-
grep
_ v (22) - handler= (11)
-
has
_ key? (11) - hstack (11)
-
import
_ methods (3) - include (11)
- include? (11)
- independent? (11)
- info (11)
- initialize (11)
- insert (11)
- inspect (22)
-
instance
_ exec (11) -
int
_ from _ prime _ division (11) - intersection (5)
- invoke (11)
-
irb
_ load (11) -
irb
_ require (11) - item (11)
- j (11)
- jj (11)
- join (35)
-
join
_ nowait (6) - key? (11)
- keys (11)
- lazy (11)
- lineno (11)
- list (22)
- listen (55)
-
load
_ gems _ in (11) - ls (22)
- lup (11)
-
lup
_ decomposition (11) - map (78)
- map! (46)
- map2 (11)
- match (22)
-
max
_ by (44) - merge (12)
- merge! (12)
-
merge
_ libs (11) -
method
_ missing (33) - mkdir (29)
-
mod
_ inverse (11) -
mod
_ mul (11) -
module
_ exec (11) -
module
_ function (4) - modulo (11)
- mount (11)
- mult (11)
-
must
_ raise (1) - name (22)
- new (11)
-
next
_ year (11) - notify (35)
-
notify
_ observers (11) - on (132)
-
on
_ event (11) -
on
_ event _ with _ outargs (11) -
on
_ head (11) -
on
_ tail (11) - open (44)
- order (22)
- overlap? (1)
- pack (19)
- param (11)
- parameters (22)
- parse (22)
-
parse
_ csv (11) - permute (11)
-
point
_ conversion _ form (11) - pow (22)
- power (22)
- pp (11)
- ppx (11)
- prepend (26)
-
prev
_ year (11) -
primitive
_ convert (44) - print (66)
- printf (55)
- printn (11)
- private (11)
-
private
_ class _ method (11) -
private
_ constant (11) -
private
_ decrypt (11) -
private
_ encrypt (11) - product (22)
-
progress
_ reporter (11) - protected (11)
-
psych
_ y (11) - ptr (11)
- public (4)
-
public
_ decrypt (11) -
public
_ encrypt (11) -
public
_ key (11) -
public
_ send (22) - push (33)
- puts (55)
-
radio
_ group (22) - raw (11)
- read (33)
- readchar (11)
- readline (11)
- readlines (22)
- readpartial (11)
- ready (11)
- reason (11)
- recvmsg (11)
-
recvmsg
_ nonblock (11) - refine (11)
- remainder (11)
-
remove
_ method (11) - renew (11)
- report (11)
-
respond
_ to _ missing? (11) - resume (22)
- rm (18)
-
rm
_ f (11) -
rm
_ rf (11) - rmdir (18)
- round (27)
-
ruby2
_ keywords (10) - rule (11)
- say (11)
- scalar (11)
-
scan
_ full (11) - scanf (18)
-
scrolling
_ list (22) -
search
_ full (11) - seek (11)
- select (11)
- send (22)
-
send
_ mail (11) - sendmail (11)
- sendmsg (11)
-
sendmsg
_ nonblock (11) -
session
_ cache _ stats (11) - set (11)
-
set
_ default (11) -
set
_ encoding (11) -
set
_ params (11) - sh (11)
- shutdown (11)
- sign (11)
- split (11)
- squeeze (11)
- squeeze! (11)
- start (11)
-
start
_ mapping (11) -
start
_ sequence (11) -
start
_ stream (11) -
start
_ with? (16) - status (22)
- store (11)
- strftime (11)
- struct (11)
- sum (38)
- swapcase (8)
- swapcase! (8)
- sysopen (11)
- sysread (11)
- sysseek (11)
- system (12)
- task (11)
-
terminate
_ interaction (11) - thread (11)
-
to
_ a (33) -
to
_ ary (11) -
to
_ c (11) -
to
_ csv (11) -
to
_ enum (44) -
to
_ f (22) -
to
_ h (31) -
to
_ int (11) -
to
_ json (132) -
to
_ r (11) -
to
_ regexp (11) -
to
_ s (22) -
to
_ set (22) -
to
_ str (11) -
trace
_ func (11) - transfer (11)
-
transform
_ values (16) -
transform
_ values! (16) -
try
_ compile (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ link (22) -
try
_ run (22) -
uid
_ store (11) - ungetc (11)
- union (17)
- unpack (11)
- unshift (11)
- upcase (8)
- upcase! (8)
- update (12)
- utime (18)
-
values
_ at (77) - verify (44)
- vstack (11)
- warn (11)
- warning (11)
- whitespace (11)
- with (2)
-
with
_ index (16) -
with
_ object (11) - write (32)
- xpopen (22)
- y (11)
- yield (22)
- zip (66)
検索結果
先頭5件
-
Resolv
:: DNS # getresources(name , typeclass) -> [Resolv :: DNS :: Resource] (9479.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソース全てを配列にして返します。
...。
* Resolv::DNS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS::Resource::IN::MX
* Resolv::DNS::Resource::IN::TXT
* Resolv::......Resource::IN::A
* Resolv::DNS::Resource::IN::WKS
* Resolv::DNS::Resource::IN::PTR
* Resolv::DNS::Resource::IN::AAAA
* Resolv::DNS::Resource::IN::SRV
ルックアップ結果は Resolv::DNS::Resource (のサブクラス)のインスタンスとなります。
typeclass に Resolv::DNS::R......esource::IN::ANY 以外を指定した場合には
そのクラスのインスタンスを返します。
@param name ルックアップ対象となる名前を Resolv::DNS::Name または String で指定します。
@param typeclass レコード種別を指定します。... -
Vector
# cross _ product(*vs) -> Vector (9419.0) -
self とベクトル vs とのクロス積を返します。
...で
n-1個のn次元ベクトルが張る空間と
直交するベクトルを返します。
self の次元が n であるとき、 vs は n-2 個の
n次元ベクトルでなければなりません。
@param vs クロス積を取るベクトルの集合
@raise ExceptionForMatrix::ErrOperationNo......tDefined self の
次元が1以下であるときに発生します。
@raise ArgumentError vs のベクトルの個数が n-2 以外である場合に発生します。... -
Resolv
:: DNS # each _ resource(name , typeclass) {|resource| . . . } -> () (9379.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソースをひとつずつブロックに渡します。
...。
* Resolv::DNS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS::Resource::IN::MX
* Resolv::DNS::Resource::IN::TXT
* Resolv::......Resource::IN::A
* Resolv::DNS::Resource::IN::WKS
* Resolv::DNS::Resource::IN::PTR
* Resolv::DNS::Resource::IN::AAAA
* Resolv::DNS::Resource::IN::SRV
ルックアップ結果は Resolv::DNS::Resource (のサブクラス)のインスタンスとなります。
typeclass に Resolv::DNS::R......esource::IN::ANY 以外を指定した場合には
そのクラスのインスタンスを返します。
@param name ルックアップ対象となる名前を Resolv::DNS::Name または String で指定します。
@param typeclass レコード種別を指定します。... -
Integer
# **(other) -> Numeric (9361.0) -
算術演算子。冪(べき乗)を計算します。
...param other 二項演算の右側の引数(対象)
@param modulo 指定すると、計算途中に巨大な値を生成せずに (self**other) % modulo と同じ結果を返します。
@return 計算結果
@raise TypeError 2引数 pow で Integer 以外を指定した場合に発生します。
@ra......ise RangeError 2引数 pow で other に負の数を指定した場合に発生します。
//emlist[][ruby]{
2 ** 3 # => 8
2 ** 0 # => 1
0 ** 0 # => 1
3.pow(3, 8) # => 3
3.pow(3, -8) # => -5
3.pow(2, -2) # => -1
-3.pow(3, 8) # => 5
-3.pow(3, -8) # => -3
5.pow(2, -8) # => -7
//}
結果が......数になりそうなとき、警告を出したうえで Float::INFINITY を返します。
//emlist[計算を放棄して Float::INFINITY を返す例][ruby]{
p 100**9999999
# => warning: in a**b, b may be too big
# Infinity
//}
判定の閾値は変わりえます。
@see BigDecimal#power... -
Gem
:: RemoteFetcher # get _ proxy _ from _ env -> URI | nil (9337.0) -
環境変数にセットされている HTTP proxy の情報を取得して返します。
...環境変数にセットされている HTTP proxy の情報を取得して返します。
ここでチェックしている環境変数は以下の通りです。
* http_proxy
* http_proxy_user
* http_proxy_pass
* HTTP_PROXY
* HTTP_PROXY_USER
* HTTP_PROXY_PASS... -
Rational
# **(other) -> Rational | Float (9331.0) -
冪(べき)乗を計算します。
...す。
@param other 自身を other 乗する数
other に Float を指定した場合は、計算結果を Float で返しま
す。other が有理数であっても、計算結果が無理数だった場合は Float
を返します。
//emlist[例][ruby]{
r = Rational(3, 4)
r ** Rational(2, 1)......# => (9/16)
r ** 2 # => (9/16)
r ** 2.0 # => 0.5625
r ** Rational(1, 2) # => 0.866025403784439
//}... -
StringIO
# printf(format , *obj) -> nil (9308.0) -
指定されたフォーマットに従い各引数 obj を文字列に変換して、自身に出力します。
...param format 文字列のフォーマットを指定します。Kernel.#format を参照して下さい。
@param obj 書き込みたいオブジェクトを指定します。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
//emlist[例][ruby]{
req......uire "stringio"
a = StringIO.new("", 'r+')
a.printf("%c%c%c", 97, 98, 99)
a.string #=> "abc"
//}... -
StringIO
# print(*obj) -> nil (9307.0) -
自身に引数を順に出力します。引数を省略した場合は、$_ を出力します。 引数の扱いは Kernel.#print を参照して下さい。
...Kernel.#print を参照して下さい。
@param obj 書き込みたいオブジェクトを指定します。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
//emlist[例][ruby]{
require "stringio"
a = StringIO.new("", 'r+')
a.print("hoge", "bar",......"foo")
a.string #=> "hogebarfoo"
//}... -
StringIO
# write(*obj) -> Integer (9307.0) -
自身に obj を書き込みます。obj が文字列でなければ to_s による文字列化を試みます。 書き込まれた文字列の長さを返します。
...ドは、最終的に「write」という名のメソッドを呼び出すので、
このメソッドを置き換えることで出力関数の挙動を変更することができます。
@param obj 書き込みたいオブジェクトを指定します。
@raise IOError 自身が書き込み可......能でない時に発生します。
//emlist[例][ruby]{
require "stringio"
a = StringIO.new("hoge", 'r+')
a.write("aaa") #=> 3
a.string #=> "aaae"
//}... -
OpenSSL
:: Buffering # printf(format , *args) -> nil (9302.0) -
format に従い引数 args を文字列に変換して 出力します。
...format に従い引数 args を文字列に変換して
出力します。
IO#printf と同様です。
@param format 出力フォーマット文字列
@param arg 出力するオブジェクト
@see Kernel.#printf... -
Zlib
:: GzipWriter # printf(format , *args) -> nil (9302.0) -
C 言語の printf と同じように、format に従い引数 を文字列に変換して、自身に出力します。
...printf と同じように、format に従い引数
を文字列に変換して、自身に出力します。
@param format フォーマット文字列を指定します。print_format を参照してください。
@param args フォーマットされるオブジェクトを指定します。
r......equire 'zlib'
filename='hoge1.gz'
fw = File.open(filename, "w")
Zlib::GzipWriter.wrap(fw, Zlib::BEST_COMPRESSION){|gz|
gz.printf("\n%9s", "bar")
}
fr = File.open(filename)
Zlib::GzipReader.wrap(fr){|gz|
puts gz.read
}
#=> bar
@see IO#printf, Kernel.#printf...