ライブラリ
- ビルトイン (1033)
- bigdecimal (5)
-
cgi
/ core (22) -
cgi
/ util (132) - csv (132)
- digest (22)
-
drb
/ extservm (11) - e2mmap (12)
- erb (11)
- ipaddr (11)
- irb (11)
-
irb
/ context (11) -
irb
/ extend-command (22) - json (33)
-
net
/ http (55) -
net
/ imap (44) -
net
/ pop (11) -
net
/ smtp (28) - open-uri (18)
- openssl (682)
- optparse (11)
- psych (72)
- rake (33)
- rbconfig (22)
- readline (242)
- resolv (55)
-
rexml
/ document (77) -
ripper
/ lexer (33) -
rubygems
/ defaults (99) -
rubygems
/ ext / builder (22) -
rubygems
/ installer (11) -
rubygems
/ security (11) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (44) -
rubygems
/ specification (11) - scanf (6)
- securerandom (62)
- shell (18)
-
shell
/ builtin-command (6) - shellwords (33)
- socket (110)
- stringio (33)
- strscan (22)
-
test
/ unit (1) - tmpdir (33)
- uri (127)
-
webrick
/ httpauth / basicauth (11) -
webrick
/ httpauth / digestauth (11) -
webrick
/ log (11) - win32ole (55)
- zlib (22)
クラス
- Array (11)
- BigDecimal (5)
- CGI (154)
-
CGI
:: Cookie (22) - CSV (132)
-
DRb
:: ExtServManager (11) - Data (4)
-
Digest
:: Base (22) - Dir (146)
- ERB (11)
- Encoding (44)
-
Encoding
:: Converter (55) - File (132)
-
Gem
:: Ext :: Builder (22) -
Gem
:: Installer (11) -
Gem
:: Security :: Policy (11) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (44) -
Gem
:: Specification (11) - IO (154)
- IPAddr (11)
- IPSocket (11)
-
IRB
:: Context (11) -
Net
:: HTTP (55) -
Net
:: IMAP (44) -
Net
:: POP3 (11) -
Net
:: SMTP (28) -
OpenSSL
:: ASN1 :: BMPString (22) -
OpenSSL
:: ASN1 :: BitString (44) -
OpenSSL
:: ASN1 :: GeneralString (22) -
OpenSSL
:: ASN1 :: GraphicString (22) -
OpenSSL
:: ASN1 :: IA5String (22) -
OpenSSL
:: ASN1 :: ISO64String (22) -
OpenSSL
:: ASN1 :: NumericString (22) -
OpenSSL
:: ASN1 :: OctetString (22) -
OpenSSL
:: ASN1 :: PrintableString (22) -
OpenSSL
:: ASN1 :: T61String (22) -
OpenSSL
:: ASN1 :: UTF8String (22) -
OpenSSL
:: ASN1 :: UniversalString (22) -
OpenSSL
:: ASN1 :: VideotexString (22) -
OpenSSL
:: Cipher (11) -
OpenSSL
:: Digest (11) -
OpenSSL
:: Digest :: DSS (22) -
OpenSSL
:: Digest :: DSS1 (22) -
OpenSSL
:: Digest :: MD2 (22) -
OpenSSL
:: Digest :: MD4 (22) -
OpenSSL
:: Digest :: MD5 (22) -
OpenSSL
:: Digest :: MDC2 (22) -
OpenSSL
:: Digest :: RIPEMD160 (22) -
OpenSSL
:: Digest :: SHA (22) -
OpenSSL
:: Digest :: SHA1 (22) -
OpenSSL
:: Digest :: SHA224 (22) -
OpenSSL
:: Digest :: SHA256 (22) -
OpenSSL
:: Digest :: SHA384 (22) -
OpenSSL
:: Digest :: SHA512 (22) -
OpenSSL
:: HMAC (22) -
OpenSSL
:: PKCS7 (11) -
OpenSSL
:: PKey :: EC (11) -
OpenSSL
:: X509 :: Certificate (22) -
OptionParser
:: ParseError (11) -
Psych
:: Visitors :: YAMLTree (11) -
REXML
:: Comment (22) -
REXML
:: Document (11) -
REXML
:: Element (11) -
REXML
:: Entity (11) -
REXML
:: Text (22) -
Rake
:: FileTask (11) -
Rake
:: Task (11) - Random (15)
- Regexp (77)
- Resolv (44)
-
Resolv
:: DNS :: Resource :: TXT (11) - Ripper (33)
-
RubyVM
:: InstructionSequence (42) -
Scanf
:: FormatString (6) - Shell (18)
-
Shell
:: Echo (6) - Socket (99)
- String (39)
- StringIO (33)
- StringScanner (22)
- Struct (44)
- TracePoint (22)
-
WEBrick
:: BasicLog (11) -
WEBrick
:: HTTPAuth :: BasicAuth (11) -
WEBrick
:: HTTPAuth :: DigestAuth (11) - WIN32OLE (22)
-
WIN32OLE
_ TYPE (22) -
WIN32OLE
_ VARIANT (11) -
Zlib
:: Deflate (11) -
Zlib
:: Inflate (11)
モジュール
- Exception2MessageMapper (12)
-
GC
:: Profiler (11) - Gem (99)
- IRB (11)
-
IRB
:: ExtendCommandBundle (22) - JSON (22)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) - OpenURI (11)
- Psych (61)
- Rake (11)
- RbConfig (22)
- Readline (143)
-
RubyVM
:: AbstractSyntaxTree (8) - SecureRandom (62)
- Shellwords (33)
-
Test
:: Unit (1) - URI (134)
オブジェクト
- ENV (183)
-
Readline
:: HISTORY (99) - main (79)
キーワード
- << (11)
- [] (55)
- []= (22)
-
absolute
_ path (11) -
accept
_ charset (11) - alphanumeric (7)
-
asciicompat
_ encoding (22) - base64 (11)
- basename (11)
-
basic
_ quote _ characters (11) -
basic
_ quote _ characters= (11) -
basic
_ word _ break _ characters (11) -
basic
_ word _ break _ characters= (11) - binread (11)
- binwrite (11)
-
builtin
_ curves (11) - bytes (6)
- certs (11)
- children (14)
- ciphers (11)
-
class
_ name (11) - codepage (11)
- command (11)
- compile (11)
-
compile
_ option (11) -
completer
_ quote _ characters (11) -
completer
_ quote _ characters= (11) -
completer
_ word _ break _ characters (11) -
completer
_ word _ break _ characters= (11) -
completion
_ append _ character (11) -
completion
_ append _ character= (11) -
completion
_ case _ fold (11) -
create
_ guid (11) -
create
_ id (11) - decode (7)
-
decode
_ utf7 (11) -
decode
_ www _ form (11) -
decode
_ www _ form _ component (11) -
def
_ extend _ command (11) -
default
_ bindir (11) -
default
_ dir (11) -
default
_ exec _ format (11) -
default
_ internal (11) -
default
_ path (11) -
default
_ record _ separator (6) -
default
_ record _ separator= (6) -
default
_ sources (11) -
default
_ system _ source _ cache _ dir (11) -
default
_ user _ source _ cache _ dir (11) - define (4)
-
define
_ method (22) - deflate (11)
- delete (22)
-
delete
_ at (11) - digest (176)
- dirname (11)
- disasm (11)
- disassemble (11)
- dump (22)
-
dump
_ stream (11) - each (22)
- encode (7)
-
encode
_ utf7 (11) -
encode
_ www _ form (11) -
encode
_ www _ form _ component (11) - entries (22)
- escape (40)
- escapeElement (11)
- escapeHTML (11)
-
escape
_ element (11) -
escape
_ html (11) -
exec
_ format (11) - extname (11)
- extract (44)
- fetch (33)
-
filename
_ quote _ characters (11) -
filename
_ quote _ characters= (11) - filter (33)
-
filter
_ backtrace (11) - find (11)
-
for
_ fd (11) -
format
_ date (11) -
format
_ datetime (11) - ftype (11)
- generate (11)
-
generate
_ line (11) - get (22)
- getaddress (22)
- getaddresses (11)
- getaddrinfo (11)
- gethostname (11)
- getname (11)
- getnames (11)
- getservbyport (11)
- getwd (11)
- glob (22)
- hex (11)
- hexdigest (165)
- home (22)
- index (7)
- inflate (11)
- inspect (11)
-
installed
_ spec _ directories (11) - instance (22)
-
irb
_ original _ method _ name (11) - join (22)
-
json
_ create (11) - key (11)
- keys (11)
-
last
_ match (22) -
latest
_ system _ cache _ file (11) -
latest
_ user _ cache _ file (11) - lex (11)
-
load
_ from _ binary _ extra _ data (9) -
locale
_ charmap (11) -
make
_ passwd (22) - matches? (11)
- mktmpdir (22)
-
must
_ C _ version (11) -
name
_ list (11) - new (590)
- normalize (11)
-
normalize
_ yaml _ input (11) - notify (6)
- ntop (11)
- open (95)
-
open
_ uri (11) -
original
_ dir (11) -
pack
_ sockaddr _ in (11) -
pack
_ sockaddr _ un (11) - parse (30)
- path (11)
- pop (11)
- pretty (11)
- private (23)
- progids (11)
-
proxy
_ address (11) -
proxy
_ pass (11) -
proxy
_ user (11) - public (23)
- push (11)
- pwd (11)
- quote (11)
-
random
_ bytes (11) -
raw
_ seed (2) - read (33)
- readlines (33)
- readlink (11)
- realdirpath (11)
- realpath (11)
- redirector (11)
- result (11)
-
rfc1123
_ date (11) - ruby (11)
-
ruby
_ engine (11) -
safe
_ load (17) -
scope
_ name (22) -
setup
_ argv (1) - shift (22)
- slice (11)
-
sockaddr
_ in (11) -
sockaddr
_ un (11) - split (33)
- start (28)
- store (11)
-
system
_ cache _ file (11) - tmpdir (11)
-
to
_ a (11) -
to
_ json (11) -
to
_ s (11) - tokenize (11)
- trace (11)
-
trusted
_ cert _ path (11) -
try
_ convert (22) - typelibs (11)
- unescape (18)
- unescapeElement (11)
- unescapeHTML (11)
-
unescape
_ element (11) -
unescape
_ html (11) - union (11)
- unnormalize (11)
-
unpack
_ sockaddr _ in (11) -
unpack
_ sockaddr _ un (11) -
unused
_ bits (11) -
unused
_ bits= (11) - urandom (7)
-
urlsafe
_ base64 (11) -
user
_ cache _ file (11) -
user
_ dir (11) - using (11)
- uuid (11)
- values (11)
-
values
_ at (11) - ver (5)
- version (22)
- write (22)
-
write
_ smime (11)
検索結果
先頭5件
- String
. new(string = "" , encoding: string . encoding , capacity: string . bytesize) -> String - String
. new(string = "" , encoding: string . encoding , capacity: 127) -> String - String
. new(string = "" , encoding: string . encoding , capacity: 63) -> String - String
. new(string = "" , encoding: string . encoding) -> String - String
. new(string = "") -> String
-
String
. new(string = "" , encoding: string . encoding , capacity: string . bytesize) -> String (21480.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
...
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@param encoding 作成する文字列のエンコーディングを文字列か
Encoding オブジェクト......で指定します(変換は行われま
せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります)。
@param capa......合、引数stringのバイト数が127未満であれば127、
それ以上であればstring.bytesizeになります。
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text)... -
String
. new(string = "" , encoding: string . encoding , capacity: 127) -> String (21380.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
...
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@param encoding 作成する文字列のエンコーディングを文字列か
Encoding オブジェクト......で指定します(変換は行われま
せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります)。
@param capa......合、引数stringのバイト数が127未満であれば127、
それ以上であればstring.bytesizeになります。
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text)... -
String
. new(string = "" , encoding: string . encoding , capacity: 63) -> String (21380.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
...
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@param encoding 作成する文字列のエンコーディングを文字列か
Encoding オブジェクト......で指定します(変換は行われま
せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります)。
@param capa......合、引数stringのバイト数が127未満であれば127、
それ以上であればstring.bytesizeになります。
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text)... -
String
. new(string = "" , encoding: string . encoding) -> String (21358.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
...
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@param encoding 作成する文字列のエンコーディングを文字列か
Encoding オブジェクト......せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります)。
@return 引数 string と同じ内容の文字列オブジ......ェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text) # => "hoge"
no_option.encoding == Encoding::EUC_JP # => true
with_encoding = String.new(text, encoding: "UTF-8") # => "hoge"
with_encoding.encoding == Encodi... -
String
. new(string = "") -> String (21280.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
...
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-J......P")
no_option = String.new(text) # => "hoge"
no_option.encoding == Encoding::EUC_JP # => true
//}......
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@param encoding 作成する文字列のエンコーディングを文字列か
Encoding オブジェクト......せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります)。
@return 引数 string と同じ内容の文字列オブジ......ェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text) # => "hoge"
no_option.encoding == Encoding::EUC_JP # => true
with_encoding = String.new(text, encoding: "UTF-8") # => "hoge"
with_encoding.encoding == Encodi......で指定します(変換は行われま
せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります)。
@param capa......合、引数stringのバイト数が127未満であれば127、
それ以上であればstring.bytesizeになります。
@return 引数 string と同じ内容の文字列オブジェクト
//emlist[例][ruby]{
text = "hoge".encode("EUC-JP")
no_option = String.new(text)... -
String
. try _ convert(obj) -> String | nil (21130.0) -
obj を String に変換しようと試みます。変換には Object#to_str メソッ ドが使われます。変換後の文字列を返すか、何らかの理由により変換できなかっ た場合は nil が返されます。
...obj を String に変換しようと試みます。変換には Object#to_str メソッ
ドが使われます。変換後の文字列を返すか、何らかの理由により変換できなかっ
た場合は nil が返されます。
@param obj 変換する任意のオブジェクト
@return......変換後の文字列または nil
//emlist[例][ruby]{
String.try_convert("str") # => "str"
String.try_convert(/re/) # => nil
//}... -
StringIO
. new(string = & # 39;& # 39; , mode = & # 39;r+& # 39;) -> StringIO (3234.0) -
StringIO オブジェクトを生成して返します。
...
StringIO オブジェクトを生成して返します。
与えられた string がフリーズされている場合には、mode はデフォルトでは読み取りのみに設定されます。
ブロックを与えた場合は生成した StringIO オブジェクトを引数としてブロッ......価してその結果を返します。
@param string 生成される StringIO のデータを文字列で指定します。
この文字列はバッファとして使われます。StringIO#write などによって、
string 自身も書き換えられます。
@param......字列か整数で指定します。
@raise Errno::EACCES string がフリーズされていて、mode が書き込み可能に設定されている場合に発生します。
//emlist[例][ruby]{
require 'stringio'
s = "foo"
io = StringIO.new(s)
p io.getc # => 102
p io.pos # => 1
p... -
StringIO
. open(string = & # 39;& # 39; , mode = & # 39;r+& # 39;) -> StringIO (3234.0) -
StringIO オブジェクトを生成して返します。
...
StringIO オブジェクトを生成して返します。
与えられた string がフリーズされている場合には、mode はデフォルトでは読み取りのみに設定されます。
ブロックを与えた場合は生成した StringIO オブジェクトを引数としてブロッ......価してその結果を返します。
@param string 生成される StringIO のデータを文字列で指定します。
この文字列はバッファとして使われます。StringIO#write などによって、
string 自身も書き換えられます。
@param......字列か整数で指定します。
@raise Errno::EACCES string がフリーズされていて、mode が書き込み可能に設定されている場合に発生します。
//emlist[例][ruby]{
require 'stringio'
s = "foo"
io = StringIO.new(s)
p io.getc # => 102
p io.pos # => 1
p... -
OpenSSL
:: ASN1 :: IA5String . new(value) -> OpenSSL :: ASN1 :: IA5String (3141.0) -
ASN.1 の IA5String 型の値を表現する OpenSSL::ASN1::IA5String オブジェクトを 生成します。
...ASN.1 の IA5String 型の値を表現する OpenSSL::ASN1::IA5String オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::IA5STRING となります。
@param value ASN.1 値を表す Ruby のオブジェ... -
OpenSSL
:: ASN1 :: IA5String . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: IA5String (3141.0) -
ASN.1 の IA5String 型の値を表現する OpenSSL::ASN1::IA5String オブジェクトを 生成します。
...ASN.1 の IA5String 型の値を表現する OpenSSL::ASN1::IA5String オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::IA5STRING となります。
@param value ASN.1 値を表す Ruby のオブジェ... -
OpenSSL
:: ASN1 :: ISO64String . new(value) -> OpenSSL :: ASN1 :: ISO64String (3141.0) -
ASN.1 の ISO64String 型の値を表現する OpenSSL::ASN1::ISO64String オブジェクトを 生成します。
...ASN.1 の ISO64String 型の値を表現する OpenSSL::ASN1::ISO64String オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::ISO64STRING となります。
@param value ASN.1 値を表す Ruby のオブ... -
OpenSSL
:: ASN1 :: ISO64String . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: ISO64String (3141.0) -
ASN.1 の ISO64String 型の値を表現する OpenSSL::ASN1::ISO64String オブジェクトを 生成します。
...ASN.1 の ISO64String 型の値を表現する OpenSSL::ASN1::ISO64String オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::ISO64STRING となります。
@param value ASN.1 値を表す Ruby のオブ...