6484件ヒット
[1-100件を表示]
(0.156秒)
ライブラリ
- ビルトイン (2853)
- bigdecimal (77)
-
bigdecimal
/ util (11) -
cgi
/ core (11) - csv (121)
- etc (11)
- fiddle (275)
-
fiddle
/ import (88) -
io
/ console (22) - ipaddr (33)
-
irb
/ context (55) -
irb
/ ext / history (11) -
irb
/ ext / save-history (11) -
irb
/ output-method (33) - json (11)
- logger (23)
- matrix (99)
- mkmf (66)
-
net
/ ftp (11) -
net
/ http (121) -
net
/ imap (66) -
net
/ pop (44) -
net
/ smtp (22) -
net
/ telnet (2) - openssl (440)
- optparse (107)
- pathname (99)
- pp (33)
- prettyprint (66)
- prime (44)
- psych (77)
- rake (11)
- resolv-replace (33)
-
rexml
/ document (22) -
rinda
/ tuplespace (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ package / tar _ reader (11) -
rubygems
/ package / tar _ writer (22) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ requirement (11) -
rubygems
/ user _ interaction (132) - set (33)
- shell (84)
-
shell
/ command-processor (66) -
shell
/ filter (66) -
shell
/ process-controller (12) -
shell
/ system-command (6) - socket (264)
- stringio (179)
- strscan (110)
- sync (6)
-
syslog
/ logger (11) - tracer (11)
- uri (11)
-
webrick
/ httpresponse (11) -
webrick
/ httpservlet / abstract (66) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httpversion (22) -
webrick
/ log (11) - win32ole (176)
- zlib (88)
クラス
-
ARGF
. class (154) - Addrinfo (22)
- Array (572)
- BasicObject (11)
- BasicSocket (88)
- BigDecimal (77)
- Bignum (9)
- CGI (11)
- CSV (66)
-
CSV
:: Row (33) -
CSV
:: Table (22) - Complex (22)
- Data (2)
- Dir (32)
- Enumerator (11)
-
Enumerator
:: ArithmeticSequence (6) -
Fiddle
:: Function (33) -
Fiddle
:: Handle (33) -
Fiddle
:: Pointer (209) - File (11)
-
File
:: Stat (11) - Fixnum (9)
- Float (85)
-
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: Package :: TarReader (11) -
Gem
:: Package :: TarWriter :: BoundedStream (11) -
Gem
:: Package :: TarWriter :: RestrictedStream (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: Requirement (11) -
Gem
:: StreamUI (11) - IO (252)
- IPAddr (33)
-
IRB
:: Context (77) -
IRB
:: OutputMethod (22) -
IRB
:: StdioOutputMethod (11) - Integer (692)
- Logger (11)
-
Logger
:: Application (1) -
Logger
:: LogDevice (11) - MatchData (48)
- Matrix (99)
- Method (11)
- Module (16)
- Mutex (2)
-
Net
:: FTP (11) -
Net
:: HTTP (99) -
Net
:: IMAP (66) -
Net
:: POP3 (44) -
Net
:: SMTP (22) -
Net
:: Telnet (2) - Numeric (88)
- Object (104)
-
OpenSSL
:: ASN1 :: ASN1Data (11) -
OpenSSL
:: BN (33) -
OpenSSL
:: OCSP :: BasicResponse (22) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: OCSP :: Response (11) -
OpenSSL
:: PKey :: EC (11) -
OpenSSL
:: PKey :: EC :: Group (33) -
OpenSSL
:: PKey :: EC :: Point (88) -
OpenSSL
:: SSL :: SSLContext (77) -
OpenSSL
:: SSL :: SSLSocket (11) -
OpenSSL
:: SSL :: Session (11) -
OpenSSL
:: X509 :: CRL (11) -
OpenSSL
:: X509 :: Certificate (11) -
OpenSSL
:: X509 :: Name (11) -
OpenSSL
:: X509 :: Request (11) -
OpenSSL
:: X509 :: StoreContext (11) - OptionParser (107)
- Pathname (99)
- PrettyPrint (66)
- Prime (22)
- Proc (11)
-
Process
:: Status (22) -
Psych
:: Emitter (22) -
Psych
:: Nodes :: Document (11) -
Psych
:: Nodes :: Mapping (11) -
Psych
:: Nodes :: Scalar (11) -
Psych
:: Nodes :: Sequence (11) -
Psych
:: Nodes :: Stream (11) -
REXML
:: Elements (11) -
REXML
:: Formatters :: Pretty (11) - Random (33)
- Range (66)
- Rational (88)
- Regexp (11)
-
Rinda
:: TupleEntry (11) - Set (33)
- Shell (84)
-
Shell
:: CommandProcessor (66) -
Shell
:: Filter (66) -
Shell
:: ProcessController (12) -
Shell
:: SystemCommand (6) -
Socket
:: AncillaryData (77) -
Socket
:: Option (33) - String (246)
- StringIO (179)
- StringScanner (110)
- Symbol (58)
-
Syslog
:: Logger (11) - Thread (22)
-
Thread
:: Mutex (9) - Time (11)
- TracePoint (172)
- Tracer (11)
- UDPSocket (66)
- UNIXSocket (11)
-
URI
:: Generic (11) - UnboundMethod (11)
-
WEBrick
:: BasicLog (11) -
WEBrick
:: Cookie (22) -
WEBrick
:: HTTPResponse (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (66) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (11) -
WEBrick
:: HTTPVersion (22) - WIN32OLE (11)
-
WIN32OLE
_ METHOD (88) -
WIN32OLE
_ TYPE (44) -
WIN32OLE
_ TYPELIB (22) -
WIN32OLE
_ VARIABLE (11) -
Zlib
:: GzipReader (33) -
Zlib
:: GzipWriter (44) -
Zlib
:: Inflate (11)
モジュール
- Enumerable (55)
-
Fiddle
:: Importer (88) -
Gem
:: DefaultUserInteraction (33) -
Gem
:: UserInteraction (88) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) - Kernel (66)
-
Net
:: HTTPHeader (22) -
OpenSSL
:: Buffering (44) -
OpenSSL
:: SSL :: SocketForwarder (11) -
Rake
:: TaskManager (11) -
Sync
_ m (6)
キーワード
- % (22)
- & (22)
- * (33)
- ** (11)
- + (22)
- +@ (11)
- - (22)
- -@ (28)
-
/ (10) - < (11)
- << (22)
- <= (11)
- <=> (55)
- == (33)
- === (11)
- =~ (33)
- > (11)
- >= (11)
- >> (22)
- [] (105)
- []= (55)
- ^ (11)
-
_ _ id _ _ (11) - abi (11)
- alert (11)
-
alert
_ error (11) -
alert
_ warning (11) - allbits? (7)
- anybits? (7)
- ask (11)
-
ask
_ yes _ no (11) -
asn1
_ flag (11) - at (11)
-
back
_ trace _ limit (11) - begin (22)
- bind (22)
- binwrite (11)
-
bit
_ length (17) - bool (11)
- breakable (22)
-
bsearch
_ index (9) - byteindex (2)
- byteoffset (4)
- byterindex (2)
- bytes (11)
- bytesize (11)
- call (11)
-
callee
_ id (11) - ceil (55)
- ceildiv (2)
- charpos (11)
-
check
_ nonce (11) -
check
_ point (18) -
check
_ sizeof (22) - chmod (29)
-
choose
_ from _ list (11) - chown (29)
- chr (22)
- close (11)
- codepoints (50)
- cofactor (11)
-
cofactor
_ expansion (11) - combination (22)
- connect (11)
-
const
_ source _ location (5) -
content
_ length (22) -
continue
_ timeout (11) -
copy
_ nonce (11) - count (77)
-
create
_ value (11) - cycle (22)
- debug (6)
- debug? (6)
-
debug
_ level (11) -
default
_ port (11) -
defined
_ class (11) - delete (18)
-
delete
_ at (11) - denominator (55)
- digits (22)
- disable (22)
- disjoint? (11)
- dispid (11)
- div (22)
- divmod (17)
-
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) - downto (22)
-
each
_ codepoint (44) - enable (22)
- enabled? (11)
- encoding (11)
- end (22)
- eql? (22)
- error (11)
-
eval
_ history (11) -
eval
_ script (6) - event (11)
-
event
_ interface (11) - exist? (11)
- expunge (11)
- extern (11)
- family (22)
- fcntl (22)
- fdiv (11)
- fetch (33)
-
fetch
_ size (11) -
field
_ size _ limit (11) - fileno (32)
-
find
_ index (66) -
finish
_ all _ jobs (18) - first (44)
- flatten (11)
- flatten! (11)
- floor (55)
- free= (11)
- gcd (11)
- gcdlcm (11)
-
get
_ thread _ no (11) - getbyte (33)
- getc (11)
- getsockopt (11)
- group (11)
- hash (57)
- helpcontext (22)
- hex (11)
-
ignore
_ sigint (11) -
ignore
_ sigint= (11) -
ignore
_ sigint? (11) -
import
_ symbol (11) - indentation (11)
- index (77)
- infinity? (11)
- insert (11)
- inspect (11)
-
instruction
_ sequence (6) -
int
_ from _ prime _ division (11) - integer? (11)
- intern (22)
-
internal
_ encoding (22) - intersect? (11)
- intersection (16)
- invert! (11)
- invkind (11)
- ioctl (22)
-
ip
_ pktinfo (11) -
ip
_ port (11) -
ip
_ unpack (11) -
ipv6
_ pktinfo (11) -
ipv6
_ pktinfo _ ifindex (11) -
keep
_ alive _ timeout (11) - kill (12)
-
kill
_ job (6) -
laplace
_ expansion (11) - last (44)
- lchmod (11)
- lchown (11)
- lcm (11)
- length (44)
- level (33)
-
line
_ width (11) - lineno (44)
- linger (11)
-
local
_ port (11) - major (11)
-
major
_ version (22) -
make
_ affine! (11) - match (3)
- match? (11)
- matchedsize (11)
-
max
_ age (11) -
method
_ id (11) - minor (11)
-
minor
_ version (22) - modulo (11)
-
n
_ bytes (11) -
n
_ mails (11) - nest (11)
- next (11)
- nobits? (7)
- numerator (44)
-
object
_ id (11) - oct (11)
- offset (22)
-
offset
_ vtbl (11) -
ole
_ query _ interface (11) -
on
_ curve? (11) -
open
_ timeout (33) - ord (22)
- order (32)
- order! (16)
- pack (19)
- parameters (6)
- parse (16)
- parse! (8)
- path (11)
- pathconf (11)
-
pending
_ interrupt? (11) - permutation (22)
- permute (16)
- permute! (8)
- pid (22)
-
point
_ conversion _ form (11) -
point
_ conversion _ form= (11) - pointer (11)
- pointer= (11)
- pop (22)
- pos (55)
- pos= (11)
- pow (22)
- pred (11)
-
prepare
_ range (11) -
pretty
_ print (33) -
pretty
_ print _ cycle (11) -
pretty
_ print _ inspect (11) - prime? (11)
-
prime
_ division (22) - print (101)
-
print
_ dependencies (11) - printf (55)
- printn (11)
- priority (11)
-
proxy
_ port (11) - proxyport (11)
- ptr (11)
-
public
_ key (11) -
public
_ method (11) - putc (11)
- pwrite (7)
-
raised
_ exception (11) - rand (33)
-
range
_ length (11) - rationalize (22)
- raw (11)
- raw! (11)
-
read
_ timeout (33) - readbyte (33)
- readchar (11)
-
recv
_ io (11) - recvmsg (11)
-
recvmsg
_ nonblock (11) - ref (11)
- remainder (11)
-
repeated
_ combination (22) -
repeated
_ permutation (22) -
return
_ value (11) -
return
_ vtype (11) - rewind (11)
- rindex (33)
- rm (18)
- rotate (11)
- rotate! (11)
- round (63)
- sample (44)
-
save
_ history (11) - say (11)
- search (11)
- self (11)
- send (55)
- sendmsg (11)
-
sendmsg
_ nonblock (11) - serial (11)
-
session
_ cache _ mode (11) -
session
_ cache _ size (11) -
set
_ encoding (99) -
set
_ log (1) -
set
_ to _ infinity! (11) - setbyte (11)
- setsockopt (22)
- sfork (6)
- shift (22)
- size (134)
- size= (11)
- size? (18)
-
size
_ opt _ params (11) -
size
_ params (11) - sizeof (11)
- skip (11)
-
skip
_ until (11) - sleep (11)
- sort (11)
-
source
_ location (33) - split (11)
-
ssl
_ timeout (22) - status (33)
- struct (11)
- style (33)
- succ (11)
- sum (11)
-
summary
_ width (11) - sym (11)
-
sync
_ ex _ count (6) -
sync
_ point? (11) - sysopen (11)
- sysseek (11)
- syswrite (33)
- tag (11)
- taint (9)
- tainted? (9)
- tell (44)
-
terminate
_ interaction (22) - test (18)
- text (22)
- timeout (22)
- times (22)
-
to
_ a (11) -
to
_ bn (22) -
to
_ d (11) -
to
_ i (99) -
to
_ int (33) -
to
_ json (11) -
to
_ s (33) -
to
_ str (22) -
to
_ sym (11) - tr (11)
- trace (11)
- truncate (66)
-
try
_ constant (22) -
try
_ link (22) - type (11)
- typekind (11)
- ui (11)
- ui= (11)
-
uid
_ search (11) -
uid
_ sort (11) - ungetc (11)
- union (11)
- unpack (11)
- untaint (9)
- upto (22)
-
use
_ ui (11) - utime (29)
- value (11)
- varkind (11)
-
verify
_ depth (22) -
verify
_ mode (11) - version (44)
- width (11)
- write (99)
-
write
_ nonblock (33) - | (11)
検索結果
先頭5件
-
Socket
:: AncillaryData # int -> Integer (18238.0) -
自身が保持している cmsg data (データ) を整数の形で返します。
...異なります。
require 'socket'
ancdata = Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, STDERR.fileno)
p ancdata.int #=> 2
@raise TypeError cmgs data のサイズが int のバイト数と異なる場合に発生します
@see Socket::AncillaryData.new Socket::AncillaryData.int... -
Socket
:: Option # int -> Integer (18220.0) -
オプションのデータ(内容)を整数に変換して返します。
...オプションのデータ(内容)を整数に変換して返します。
@raise TypeError dataのバイト数が不適切である(sizeof(int)と異なる)場合に発生します
@see Socket::Option#data... -
Fiddle
:: Pointer # +@ -> Fiddle :: Pointer (9201.0) -
自身の指す値を Pointer にして返します。
...自身の指す値を Pointer にして返します。
自身の指す値はポインタであると仮定します。
C 言語におけるポインタのポインタに対する間接参照 *p と同じです。
この返り値には、free 関数がセットされず、size は 0 とされま......す。
例:
require 'fiddle'
s = 'abc'
cptr = Fiddle::Pointer[s]
cref = cptr.ref
p cref.to_s(4).unpack('l*')[0] #=> 136121648
p cptr.to_i #=> 136121648
p cref.ptr.to_s #=> "abc"... -
Fiddle
:: Pointer # -@ -> Fiddle :: Pointer (9201.0) -
自身を指す Pointer オブジェクトを返します。 C 言語におけるポインタへのアドレス演算子の適用 &p と同じです。
...指す Pointer オブジェクトを返します。
C 言語におけるポインタへのアドレス演算子の適用 &p と同じです。
この返り値には、free 関数がセットされず、size は 0 とされます。
例:
require 'fiddle'
s = 'abc'
cptr = Fiddle::Pointer[s]
c... -
Integer
# -@ -> Integer (9201.0) -
単項演算子の - です。 self の符号を反転させたものを返します。
単項演算子の - です。
self の符号を反転させたものを返します。
//emlist[][ruby]{
- 10 # => -10
- -10 # => 10
//} -
Gem
:: UserInteraction # terminate _ interaction(*args) -> () (9107.0) -
アプリケーションを終了します。
...アプリケーションを終了します。
@param args 委譲先のメソッドに与える引数です。... -
Prime
# int _ from _ prime _ division(pd) -> Integer (6232.0) -
素因数分解された結果を元の数値に戻します。
...。
@param pd 整数のペアの配列を指定します。含まれているペアの第一要素は素因数を、
第二要素はその素因数の指数をあらわします。
//emlist[例][ruby]{
require 'prime'
Prime.int_from_prime_division([[2,2], [3,1]]) #=> 12
Prime.int_from_p......rime_division([[2,2], [3,2]]) #=> 36
//}
@see Prime.int_from_prime_division... -
Object
# to _ int -> Integer (6214.0) -
オブジェクトの Integer への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。
...オブジェクトの Integer への暗黙の変換が必要なときに内部で呼ばれます。
デフォルトでは定義されていません。
説明のためここに記載してありますが、
このメソッドは実際には Object クラスには定義されていません。
必......が使われるすべての場面で代置可能であるような、
* 整数そのものとみなせるようなもの
という厳しいものになっています。
//emlist[][ruby]{
class Foo
def to_int
1
end
end
ary = [:a, :b, :c]
p(ary[Foo.new]) # => :b
//}
@see Kernel.#Integer... -
String
# codepoints -> [Integer] (6207.0) -
文字列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
...列を返します。(self.each_codepoint.to_a と同じです)
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".codepoints
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
//}
ブロックが指定された場合は String#each_codepoint と同じように動作します。......Ruby 2.6 までは deprecated の警告が出ますが、Ruby 2.7 で警告は削除されました。
@see String#each_codepoint... -
String
# codepoints {|codepoint| block } -> self (6207.0) -
文字列の各コードポイントの配列を返します。(self.each_codepoint.to_a と同じです)
...列を返します。(self.each_codepoint.to_a と同じです)
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".codepoints
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
//}
ブロックが指定された場合は String#each_codepoint と同じように動作します。......Ruby 2.6 までは deprecated の警告が出ますが、Ruby 2.7 で警告は削除されました。
@see String#each_codepoint...