ライブラリ
- ビルトイン (2651)
- abbrev (12)
- benchmark (12)
- bigdecimal (36)
-
cgi
/ core (48) -
cgi
/ html (564) - csv (60)
- date (36)
- dbm (24)
- forwardable (48)
- gdbm (12)
-
irb
/ cmd / help (12) -
irb
/ context (24) - json (144)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / struct (12) - kconv (12)
- logger (12)
-
minitest
/ unit (4) - mkmf (156)
-
net
/ ftp (12) -
net
/ http (60) -
net
/ imap (24) -
net
/ pop (108) -
net
/ smtp (36) -
net
/ telnet (10) - open-uri (24)
- openssl (324)
- optparse (156)
- pathname (24)
- psych (72)
- rake (24)
-
rake
/ rdoctask (12) -
rdoc
/ markup (36) -
rdoc
/ parser / simple (12) -
rdoc
/ text (84) - resolv (36)
-
rexml
/ document (72) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ gem _ path _ searcher (12) -
rubygems
/ package / tar _ input (12) -
rubygems
/ package / tar _ reader / entry (12) -
rubygems
/ remote _ fetcher (84) -
rubygems
/ requirement (12) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ spec _ fetcher (12) -
rubygems
/ user _ interaction (12) - scanf (36)
- sdbm (24)
- shell (42)
-
shell
/ command-processor (48) -
shell
/ filter (42) -
shell
/ system-command (12) - socket (156)
- stringio (206)
- strscan (216)
- time (24)
- tracer (12)
- uri (12)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (24) -
webrick
/ httpauth / userdb (24) -
webrick
/ httprequest (24) -
webrick
/ httpresponse (36) -
webrick
/ httputils (60) - win32ole (24)
-
yaml
/ dbm (24) - zlib (96)
クラス
-
ARGF
. class (156) - Array (45)
- BasicSocket (48)
-
Benchmark
:: Tms (12) - BigDecimal (48)
- Bignum (6)
- CGI (24)
-
CSV
:: Table (36) - Complex (12)
- DBM (24)
- Date (12)
- DateTime (24)
-
Encoding
:: Converter (60) - Enumerator (24)
- Exception (32)
- Fixnum (6)
- GDBM (12)
-
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: GemPathSearcher (12) -
Gem
:: Package :: TarInput (12) -
Gem
:: Package :: TarReader :: Entry (12) -
Gem
:: RemoteFetcher (84) -
Gem
:: Requirement (12) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (12) -
Gem
:: SpecFetcher (12) - IO (177)
-
IRB
:: Context (24) -
IRB
:: ExtendCommand :: Help (12) - Integer (48)
-
JSON
:: State (36) -
Logger
:: Formatter (12) - MatchData (60)
-
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (1) - Module (600)
-
Net
:: FTP (12) -
Net
:: IMAP :: BodyTypeBasic (12) -
Net
:: IMAP :: ContentDisposition (12) -
Net
:: POPMail (108) -
Net
:: SMTP (36) -
Net
:: Telnet (10) - NilClass (7)
- Object (141)
-
OpenSSL
:: BN (12) -
OpenSSL
:: Cipher (12) -
OpenSSL
:: Config (72) -
OpenSSL
:: PKCS7 (36) -
OpenSSL
:: PKey :: DH (12) -
OpenSSL
:: PKey :: EC (24) -
OpenSSL
:: PKey :: RSA (48) -
OpenSSL
:: SSL :: SSLSocket (24) -
OpenSSL
:: X509 :: ExtensionFactory (36) -
OpenSSL
:: X509 :: StoreContext (12) - OpenStruct (12)
- OptionParser (144)
-
OptionParser
:: ParseError (12) - Pathname (24)
-
Psych
:: Nodes :: Node (24) -
Psych
:: ScalarScanner (24) -
RDoc
:: Markup (36) -
RDoc
:: Options (12) -
RDoc
:: Parser :: Simple (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (12) -
REXML
:: Comment (12) -
REXML
:: DocType (24) -
REXML
:: Element (12) -
Rake
:: RDocTask (12) - Random (12)
- Range (54)
- Regexp (12)
-
Resolv
:: DNS (36) - SDBM (24)
- Shell (42)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (42) -
Shell
:: SystemCommand (12) - Socket (48)
- String (1094)
- StringIO (206)
- StringScanner (216)
- Struct (36)
- Symbol (153)
- Thread (24)
- Time (36)
- Tracer (12)
- UDPSocket (48)
- UNIXSocket (12)
-
URI
:: Generic (12) - UnboundMethod (24)
-
WEBrick
:: Cookie (96) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (24) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (36) -
WEBrick
:: HTTPUtils :: FormData (60) -
WIN32OLE
_ PARAM (12) -
WIN32OLE
_ VARIANT (12) -
YAML
:: DBM (24) -
Zlib
:: Deflate (24) -
Zlib
:: GzipReader (36) -
Zlib
:: GzipWriter (12) -
Zlib
:: Inflate (24)
モジュール
-
CGI
:: HtmlExtension (564) -
CGI
:: QueryExtension (24) - Forwardable (24)
-
Gem
:: UserInteraction (12) -
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (180)
-
MiniTest
:: Assertions (2) -
Net
:: HTTPHeader (60) -
OpenSSL
:: Buffering (24) -
OpenSSL
:: SSL :: SocketForwarder (12) -
OpenURI
:: OpenRead (24) -
RDoc
:: Text (84) - SingleForwardable (24)
-
WEBrick
:: HTTPAuth :: UserDB (24)
キーワード
- % (26)
- << (12)
- == (12)
- === (12)
- =~ (28)
- [] (312)
- []= (120)
-
_ dump (12) - a (24)
- abbrev (12)
-
add
_ element (12) -
add
_ html (12) -
add
_ special (12) -
add
_ value (12) -
add
_ word _ pair (12) -
alias
_ method (12) - all (36)
-
ap
_ name= (12) -
arg
_ config (12) - ask (12)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) -
attribute
_ of (12) - autoload (12)
- autoload? (12)
- base (12)
- basename (18)
-
basic
_ auth (12) - bind (12)
- blockquote (24)
- bytes (12)
- byteslice (36)
- bytesplice (10)
-
cache
_ dir (12) - call (12)
- capitalize (9)
- capitalize! (9)
- caption (24)
- casecmp (24)
- casecmp? (18)
-
cc
_ command (12) - center (12)
- check (12)
-
check
_ until (12) - checkbox (24)
-
checkbox
_ group (24) - chr (24)
-
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) - clone (12)
- cmd (4)
- coerce (12)
- comment (12)
- comment= (24)
-
compute
_ key (12) - concat (33)
- connect (12)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ set (12) -
const
_ source _ location (12) -
content
_ length (12) -
content
_ length= (12) - convert (12)
- count (12)
- cover? (19)
-
cpp
_ command (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) -
create
_ header (12) -
create
_ tmpsrc (12) - crypt (12)
- decrypt (12)
-
define
_ method (24) -
define
_ singleton _ method (24) - delegate (24)
- delete (24)
- delete! (12)
-
delete
_ passwd (12) -
deprecate
_ constant (12) - desc (12)
-
dh
_ compute _ key (12) -
dir
_ config (12) - dirname (18)
- domain (12)
- domain= (12)
- downcase (9)
- downcase! (9)
- download (12)
-
dsa
_ sign _ asn1 (12) -
dummy
_ makefile (12) - dup (12)
- each (24)
-
each
_ line (48) -
each
_ resource (12) - echo (18)
-
enable
_ config (24) - encode (36)
- encode! (24)
- entity (12)
- eql? (24)
- error= (12)
-
error
_ string= (12) - escape (12)
-
exception
_ details (1) - execute (12)
- exist? (12)
- fetch (48)
-
fetch
_ path (12) -
file
_ field (24) - filename (12)
- filename= (12)
-
find
_ executable (12) - flush (12)
-
flush
_ left (12) -
force
_ encoding (12) - form (48)
- format (12)
- ftype (18)
-
gem
_ signature (12) -
get
_ file _ uri _ path (12) -
get
_ line (12) -
get
_ passwd (36) -
get
_ path (12) -
get
_ value (12) - getresource (12)
- getresources (12)
- gets (75)
- getsockopt (12)
- gsub (48)
- gsub! (48)
- header (12)
- hidden (24)
- html (24)
- img (24)
- include? (12)
- index (12)
-
insert
_ output (12) - inspect (18)
-
instance
_ delegate (12) -
instance
_ method (12) -
irb
_ name= (12) - iso8601 (12)
- join (18)
- kconv (12)
- lines (32)
-
link
_ command (12) - mail (36)
-
make
_ passwd (12) - markup (12)
- match (12)
- match? (12)
-
matching
_ files (12) - members (12)
- method (12)
-
method
_ defined? (12) -
module
_ function (36) -
mu
_ pp (1) -
multipart
_ form (48) - name (12)
- name= (12)
- namespace (12)
-
normalize
_ comment (12) -
normalize
_ uri (12) - notify (12)
-
object
_ nl= (12) -
ole
_ type (12) - on (144)
- open (12)
-
open
_ uri _ or _ path (12) - out (12)
- pack (21)
- params (12)
-
parse
_ csv (12) -
parse
_ time (12) -
password
_ field (24) - path (12)
- path= (12)
-
pathmap
_ replace (12) - peek (12)
- peep (12)
- pointer= (12)
- pop (36)
- pos= (12)
- preprocess (2)
-
pretty
_ print (12) -
print
_ dependencies (12) - printf (12)
- private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ decrypt (12) -
private
_ encrypt (12) -
private
_ method _ defined? (12) - protected (48)
-
protected
_ method _ defined? (12) -
proxy
_ basic _ auth (12) -
psych
_ to _ yaml (12) - public (48)
-
public
_ class _ method (24) -
public
_ constant (12) -
public
_ decrypt (12) -
public
_ encrypt (12) -
public
_ instance _ method (12) -
public
_ method (12) -
public
_ method _ defined? (12) - puke (1)
- putback (24)
- putc (24)
-
query
_ string= (12) - quote (12)
-
radio
_ group (24) - read (48)
-
read
_ nonblock (48) - readline (75)
- readlines (27)
- readlink (18)
- readpartial (24)
- recv (12)
-
recv
_ nonblock (12) - recvfrom (24)
-
recvfrom
_ nonblock (24) - recvmsg (12)
-
recvmsg
_ nonblock (12) -
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ method (12) -
remove
_ private _ comments (12) - replacement= (12)
- reset (24)
- rfc3339 (12)
- rindex (12)
- run (1)
- scan (36)
-
scan
_ full (12) -
scan
_ until (12) - scanf (36)
-
scrolling
_ list (24) - scrub (36)
- scrub! (36)
-
search
_ full (12) - section (12)
- seek (12)
- select (36)
- send (36)
-
send
_ mail (12) - sendcmd (12)
- sendmail (12)
-
set
_ backtrace (24) -
set
_ dictionary (24) -
set
_ encoding (108) -
single
_ delegate (12) -
singleton
_ method (12) - skip (12)
-
skip
_ until (12) - slice (132)
- space= (12)
-
space
_ before= (12) -
spec
_ path (12) - split (37)
- squeeze (12)
- squeeze! (12)
- step (21)
- store (12)
- strftime (24)
- string= (24)
-
strip
_ hashes (12) -
strip
_ newlines (12) -
strip
_ stars (12) - sub (60)
- sub! (24)
- submit (24)
- sum (12)
- swapcase (9)
- swapcase! (9)
- sync (12)
- sync= (12)
- sysread (24)
- syswrite (12)
-
text
_ field (24) - textarea (24)
-
thread
_ variable? (12) - title= (12)
-
to
_ csv (12) -
to
_ i (12) -
to
_ json (168) -
to
_ s (54) -
to
_ yaml (24) - tokenize (12)
- tr (12)
- tr! (12)
-
tr
_ s (12) -
tr
_ s! (12) - truncate (12)
-
try
_ file (12) -
undef
_ method (12) - unescape (12)
- ungetbyte (12)
- ungetc (24)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - unpack (12)
- upcase (9)
- upcase! (9)
- update (12)
- upto (12)
- value (36)
- value= (12)
-
values
_ at (36) - verify (12)
- waitfor (4)
-
with
_ config (24) -
with
_ object (24) -
write
_ nonblock (24) - xmlschema (24)
- yaml (12)
-
zipped
_ stream (12)
検索結果
先頭5件
-
Net
:: IMAP :: BodyTypeBasic # param -> { String => String } | nil (21304.0) -
MIME のボディパラメータをハッシュテーブルで返します。
MIME のボディパラメータをハッシュテーブルで返します。
ハッシュテーブルのキーがパラメータ名となります。
@see 2045 -
Net
:: IMAP :: ContentDisposition # param -> { String => String } | nil (21304.0) -
Content-Disposition フィールドのパラメータをハッシュテーブルで 返します。
...Content-Disposition フィールドのパラメータをハッシュテーブルで
返します。
ハッシュテーブルのキーは以下のような値を取ります。詳しくは
2183 などを見てください。
* "FILENAME"
* "CREATION-DATE"
* "MODIFICATION-DATE"
* "READ-DAT"... -
String
# kconv(out _ code , in _ code = Kconv :: AUTO) -> String (15542.0) -
self のエンコーディングを out_code に変換した文字列を 返します。 out_code in_code は Kconv の定数で指定します。
...self のエンコーディングを out_code に変換した文字列を
返します。
out_code in_code は Kconv の定数で指定します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換......したくない場合は、 NKF.#nkf を使ってください。
@param out_code 変換後のエンコーディングを Kconv の定数で指定します。
@param in_code 変換する文字列のエンコーディングを Kconv の定数で指定します。
@see Kconv.#kconv... -
String
# encode(encoding , from _ encoding , **options) -> String (15482.0) -
self を指定したエンコーディングに変換した文字列を作成して返します。引数 を2つ与えた場合、第二引数は変換元のエンコーディングを意味します。さもな くば self のエンコーディングが使われます。 無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
...無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
@param encoding 変換先のエ......ンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param from_encoding 変換元のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param option 変換オプションをキーワード引数で与えま......nil
変換元のエンコーディングにおいて不正なバイトがあった場合に、例外 Encoding::InvalidByteSequenceError を投げます。(デフォルト)
: :invalid => :replace
変換元のエンコーディングにおいて不正なバイトがあった場合に、不正な... -
String
# unpack(template) -> Array (15455.0) -
Array#pack で生成された文字列を テンプレート文字列 template にしたがってアンパックし、 それらの要素を含む配列を返します。
...Array#pack で生成された文字列を
テンプレート文字列 template にしたがってアンパックし、
それらの要素を含む配列を返します。
@param template pack テンプレート文字列
@return オブジェクトの配列
以下にあげるもの......は、Array#pack、String#unpack
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」を表す数字
を続けることができます。「長さ」の代わりに`*'とすることで「残り全て」
を表すこともできます。
長さの意味はテ......n, N, v, V
のサイズは常にシステム依存ではない(!をつけられない)ことに注意してください。
つまり、IO#ioctl などで C の構造体を渡すときのように、
システム依存のサイズとエンディアンに合わせる必要があるときには
s!, S!......は、Array#pack、String#unpack、String#unpack1
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」を表す数字
を続けることができます。「長さ」の代わりに`*'とすることで「残り全て」
を表すこともできます。
長さ... -
String
# encode(encoding , **options) -> String (15382.0) -
self を指定したエンコーディングに変換した文字列を作成して返します。引数 を2つ与えた場合、第二引数は変換元のエンコーディングを意味します。さもな くば self のエンコーディングが使われます。 無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
...無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
@param encoding 変換先のエ......ンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param from_encoding 変換元のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param option 変換オプションをキーワード引数で与えま......nil
変換元のエンコーディングにおいて不正なバイトがあった場合に、例外 Encoding::InvalidByteSequenceError を投げます。(デフォルト)
: :invalid => :replace
変換元のエンコーディングにおいて不正なバイトがあった場合に、不正な... -
String
# encode!(encoding , from _ encoding , options = nil) -> self (15319.0) -
self を指定したエンコーディングに変換し、自身を置き換えます。引数を2つ 与えた場合、第二引数は変換元のエンコーディングを意味します。さもなくば self のエンコーディングが使われます。変換後の self を返します。
...われなくても self を返します。
@param encoding 変換先のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param from_encoding 変換元のエンコーディングを表す文字列か Encoding オブジェクトを指定します......。
@return 変換後のself
//emlist[例][ruby]{
#coding:UTF-8
s = "いろは"
s.encode!("EUC-JP")
s.encode!(Encoding::UTF_8)
//}
@see String#encode... -
String
# scan(pattern) -> [String] | [[String]] (15310.0) -
self に対して pattern を繰り返しマッチし、 マッチした部分文字列の配列を返します。
...す。
@param pattern 探索する部分文字列または正規表現
//emlist[例][ruby]{
p "foobar".scan(/../) # => ["fo", "ob", "ar"]
p "foobar".scan("o") # => ["o", "o"]
p "foobarbazfoobarbaz".scan(/ba./) # => ["bar", "baz", "bar", "baz"]
p "foobar".scan(/(.)/)......# => [["f"], ["o"], ["o"], ["b"], ["a"], ["r"]]
p "foobarbazfoobarbaz".scan(/(ba)(.)/) # => [["ba", "r"], ["ba", "z"], ["ba", "r"], ["ba", "z"]]
//}... -
String
# encode(**options) -> String (15282.0) -
self を指定したエンコーディングに変換した文字列を作成して返します。引数 を2つ与えた場合、第二引数は変換元のエンコーディングを意味します。さもな くば self のエンコーディングが使われます。 無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
...無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
@param encoding 変換先のエ......ンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param from_encoding 変換元のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param option 変換オプションをキーワード引数で与えま......nil
変換元のエンコーディングにおいて不正なバイトがあった場合に、例外 Encoding::InvalidByteSequenceError を投げます。(デフォルト)
: :invalid => :replace
変換元のエンコーディングにおいて不正なバイトがあった場合に、不正な...