ライブラリ
- ビルトイン (1871)
- benchmark (12)
- bigdecimal (36)
-
bigdecimal
/ util (24) -
cgi
/ core (12) -
cgi
/ html (48) - csv (72)
- date (12)
- dbm (12)
- digest (24)
- erb (24)
- fiddle (72)
- gdbm (24)
- getoptlong (36)
- ipaddr (36)
-
irb
/ cmd / help (12) -
irb
/ context (36) -
irb
/ ext / save-history (12) - json (132)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) - kconv (96)
- logger (12)
- matrix (36)
-
net
/ http (24) -
net
/ imap (12) -
net
/ pop (12) -
net
/ smtp (36) - openssl (876)
- optparse (180)
- ostruct (24)
- pathname (108)
- pstore (12)
- psych (60)
- rake (108)
-
rdoc
/ markup (36) -
rdoc
/ top _ level (36) - resolv (36)
- rexml (12)
-
rexml
/ document (180) -
ripper
/ lexer (12) -
rubygems
/ indexer (24) -
rubygems
/ package / tar _ header (12) -
rubygems
/ platform (12) -
rubygems
/ requirement (12) -
rubygems
/ specification (24) -
rubygems
/ validator (12) -
rubygems
/ version (24) - scanf (6)
- sdbm (24)
- set (10)
- shell (12)
-
shell
/ command-processor (6) -
shell
/ filter (18) - socket (84)
- stringio (112)
- uri (84)
-
webrick
/ httpauth / authenticator (12) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (36) -
webrick
/ httputils (12) -
webrick
/ httpversion (12) - win32ole (144)
-
yaml
/ dbm (12)
クラス
-
ARGF
. class (24) - Addrinfo (24)
- Array (93)
-
Benchmark
:: Tms (12) - BigDecimal (60)
- Bignum (6)
-
CGI
:: Cookie (12) - CSV (12)
-
CSV
:: Row (24) -
CSV
:: Table (24) - Complex (24)
- DBM (12)
- Data (6)
- Date (24)
- DateTime (12)
-
Digest
:: Base (24) - Dir (24)
- ERB (24)
- Encoding (24)
-
Encoding
:: Converter (36) - Enumerator (24)
-
Enumerator
:: ArithmeticSequence (7) -
Enumerator
:: Chain (7) - Exception (56)
- FalseClass (24)
-
Fiddle
:: Pointer (72) - File (24)
- Fixnum (6)
- Float (24)
- GDBM (24)
-
Gem
:: Indexer (24) -
Gem
:: Package :: TarHeader (12) -
Gem
:: Platform (12) -
Gem
:: Requirement (12) -
Gem
:: Specification (24) -
Gem
:: Validator (12) -
Gem
:: Version (24) - GetoptLong (36)
- Hash (24)
- IO (18)
- IPAddr (36)
-
IRB
:: Context (48) -
IRB
:: ExtendCommand :: Help (12) - Integer (24)
- Logger (12)
- MatchData (98)
- Matrix (12)
- Method (24)
- Module (60)
- NameError (12)
-
Net
:: HTTPResponse (24) -
Net
:: IMAP :: Envelope (12) -
Net
:: POPMail (12) -
Net
:: SMTP (36) - NilClass (12)
- Object (162)
-
OpenSSL
:: ASN1 :: ASN1Data (12) -
OpenSSL
:: BN (12) -
OpenSSL
:: Config (12) -
OpenSSL
:: HMAC (36) -
OpenSSL
:: Netscape :: SPKI (48) -
OpenSSL
:: OCSP :: Request (12) -
OpenSSL
:: OCSP :: Response (12) -
OpenSSL
:: PKCS12 (12) -
OpenSSL
:: PKCS7 (48) -
OpenSSL
:: PKey :: DH (60) -
OpenSSL
:: PKey :: DSA (96) -
OpenSSL
:: PKey :: EC (36) -
OpenSSL
:: PKey :: EC :: Group (36) -
OpenSSL
:: PKey :: RSA (96) -
OpenSSL
:: SSL :: Session (36) -
OpenSSL
:: X509 :: Attribute (12) -
OpenSSL
:: X509 :: CRL (48) -
OpenSSL
:: X509 :: Certificate (48) -
OpenSSL
:: X509 :: Extension (36) -
OpenSSL
:: X509 :: ExtensionFactory (36) -
OpenSSL
:: X509 :: Name (36) -
OpenSSL
:: X509 :: Request (48) -
OpenSSL
:: X509 :: Store (12) -
OpenSSL
:: X509 :: StoreContext (36) - OpenStruct (36)
- OptionParser (156)
-
OptionParser
:: ParseError (24) - PStore (12)
- Pathname (108)
- Proc (36)
-
Process
:: Status (12) -
Psych
:: Nodes :: Node (24) -
Psych
:: ScalarScanner (12) -
RDoc
:: Markup (36) -
RDoc
:: TopLevel (36) -
REXML
:: Attribute (24) -
REXML
:: CData (24) -
REXML
:: Comment (24) -
REXML
:: Declaration (12) -
REXML
:: DocType (12) -
REXML
:: Element (12) -
REXML
:: Entity (12) -
REXML
:: ExternalEntity (12) -
REXML
:: NotationDecl (12) -
REXML
:: ParseException (12) -
REXML
:: Text (24) -
Rake
:: Application (12) -
Rake
:: EarlyTime (12) -
Rake
:: FileList (12) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: Task (12) -
Rake
:: TaskArguments (24) - Range (69)
- Rational (36)
- Regexp (36)
-
Resolv
:: DNS :: Name (12) -
Resolv
:: IPv4 (12) -
Resolv
:: IPv6 (12) -
Ripper
:: Lexer (12) -
RubyVM
:: InstructionSequence (10) - SDBM (24)
-
Scanf
:: FormatString (6) - Set (16)
- Shell (12)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (18) -
Socket
:: Option (24) - String (536)
- StringIO (112)
- Struct (36)
- Symbol (338)
- Thread (28)
-
Thread
:: Backtrace :: Location (36) - Time (30)
- TracePoint (24)
- TrueClass (12)
- UDPSocket (36)
-
URI
:: Generic (36) -
URI
:: MailTo (48) - UnboundMethod (24)
- UncaughtThrowError (11)
- Vector (24)
-
WEBrick
:: Cookie (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (36) -
WEBrick
:: HTTPUtils :: FormData (12) -
WEBrick
:: HTTPVersion (12) -
WIN32OLE
_ METHOD (36) -
WIN32OLE
_ PARAM (24) -
WIN32OLE
_ TYPE (36) -
WIN32OLE
_ TYPELIB (24) -
WIN32OLE
_ VARIABLE (24) -
YAML
:: DBM (12)
モジュール
-
CGI
:: HtmlExtension (48) -
CGI
:: QueryExtension (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 (36) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) -
REXML
:: Node (12) -
WEBrick
:: HTTPAuth :: Authenticator (12)
キーワード
- % (26)
- * (24)
- << (12)
- <=> (12)
- == (12)
- === (12)
- =~ (12)
- [] (132)
- []= (12)
-
_ _ to _ s _ _ (12) -
absolute
_ path (12) -
add
_ element (12) -
add
_ html (12) -
add
_ special (12) -
add
_ word _ pair (12) - autoload (12)
- autoload? (12)
- autorequire (12)
- binread (12)
- binwrite (12)
- bytes (31)
- capitalize (12)
- captures (12)
- casecmp (12)
- casecmp? (9)
- chars (31)
- clone (12)
- codepoints (31)
-
col
_ sep (12) -
content
_ length (12) -
content
_ length= (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) - data (12)
- deconstruct (2)
-
define
_ singleton _ method (24) -
dest
_ directory (12) - directory (12)
- downcase (12)
- dup (12)
- each (12)
-
each
_ byte (24) -
each
_ char (24) -
each
_ codepoint (36) -
each
_ grapheme _ cluster (16) -
each
_ line (36) - echo (18)
-
end
_ with? (6) - entities (12)
- error= (12)
-
error
_ string (24) - execute (12)
- export (60)
- extname (12)
-
file
_ absolute _ name (12) -
file
_ relative _ name (12) - formatter (12)
- ftype (12)
-
full
_ name (12) - get (12)
-
get
_ option (12) -
grapheme
_ clusters (16) - gsub (12)
- gsub! (12)
- headers (12)
- help (12)
- helpstring (12)
- hex (12)
- hexdigest (24)
-
history
_ file (12) - hton (12)
- id2name (12)
-
in
_ reply _ to (12) -
insert
_ output (12) - inspect (309)
- intern (24)
- join (12)
- kconv (12)
- length (12)
- lines (31)
- match (12)
- name (89)
- next (12)
- normalize (12)
- normalize! (12)
- oct (12)
- order (36)
- order! (18)
-
original
_ dir (12) - pack (21)
- parse (18)
- parse! (9)
- path (51)
- pathmap (12)
- permute (18)
- permute! (9)
-
program
_ name (12) -
psych
_ to _ yaml (12) -
public
_ method (12) - putback (24)
- read (12)
-
read
_ body (24) - readlines (12)
- realm (12)
-
record
_ separator (6) -
remove
_ leading _ dot _ dir (12) - result (12)
- send (36)
-
send
_ mail (12) - sendmail (12)
-
server
_ protocol (12) -
set
_ backtrace (12) -
singleton
_ class (12) -
singleton
_ method (12) - size (12)
- slice (60)
-
source
_ location (12) - split (12)
- src (12)
-
start
_ with? (6) - step (19)
- store (36)
- succ (12)
- swapcase (12)
- syswrite (12)
- then (14)
-
to
_ a (90) -
to
_ binary (10) -
to
_ c (12) -
to
_ csv (36) -
to
_ d (12) -
to
_ der (216) -
to
_ digits (12) -
to
_ f (12) -
to
_ i (12) -
to
_ json (252) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ mailtext (12) -
to
_ path (39) -
to
_ pem (156) -
to
_ r (12) -
to
_ rfc822text (12) -
to
_ ruby (12) -
to
_ s (1200) -
to
_ sockaddr (12) -
to
_ str (48) -
to
_ string (24) -
to
_ sym (24) -
to
_ text (120) -
to
_ yaml (24) - toeuc (12)
- tojis (12)
- tokenize (24)
- tolocale (12)
- top (12)
- tosjis (12)
- toutf16 (12)
- toutf32 (12)
- toutf8 (12)
- unpack (12)
- upcase (12)
- upto (12)
- value (24)
-
values
_ at (12) - verify (24)
- version (12)
-
with
_ object (24) - write (24)
- yaml (12)
-
yield
_ self (16)
検索結果
先頭5件
-
String
# tolocale -> String (15208.0) -
self のエンコーディングをロケールエンコーディングに変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...は Encoding.locale_charmap を見てください。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 String#encode
を使ってください。
@see Kconv.#tolocale... -
String
# toeuc -> String (15202.0) -
self のエンコーディングを EUC-JP に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...ングは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-exm0', str)
を使ってください。
@see Kconv.#toeuc... -
String
# tojis -> String (15202.0) -
self のエンコーディングを iso-2022-jp に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...ングは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-jxm0', str)
を使ってください。
@see Kconv.#tojis... -
String
# tosjis -> String (15202.0) -
self のエンコーディングを shift_jis に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...グは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-sxm0', str)
を使ってください。
@see Kconv.#tosjis... -
String
# toutf16 -> String (15202.0) -
self のエンコーディングを UTF-16BE に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...は文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-w16xm0', str)
を使ってください。
@see Kconv.#toutf16... -
String
# toutf32 -> String (15202.0) -
self のエンコーディングを UTF-32 に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...は文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-w32xm0', str)
を使ってください。
@see Kconv.#toutf32... -
String
# toutf8 -> String (15202.0) -
self のエンコーディングを UTF-8 に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...グは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-wxm0', str)
を使ってください。
@see Kconv.#toutf8... -
String
# to _ c -> Complex (15192.0) -
自身を複素数 (Complex) に変換した結果を返します。
...ruby]{
'9'.to_c # => (9+0i)
'2.5'.to_c # => (2.5+0i)
'2.5/1'.to_c # => ((5/2)+0i)
'-3/2'.to_c # => ((-3/2)+0i)
'-i'.to_c # => (0-1i)
'45i'.to_c # => (0+45i)
'3-4i'.to_c # => (3-4i)
'-4e2-4e-2i'.to_c # => (-400.0-0.04i)
'-0.0-0.0i'.to_c # => (......-0.0-0.0i)
'1/2+3/4i'.to_c # => ((1/2)+(3/4)*i)
'10@10'.to_c # => (-8.390715290764524-5.440211108893697i)
'-0.3_3'.to_c # => (-0.33+0i)
" \t\r\n5+3i".to_c # => (5+3i)
'5+3ix'.to_c # => (5+3i)
'ruby'.to_c # => (0+0i)
//}... -
String
# to _ r -> Rational (15168.0) -
自身を有理数(Rational)に変換した結果を返します。
...ダースコアで繋いだ形式
//emlist[例][ruby]{
' 2 '.to_r # => (2/1)
'1/3'.to_r # => (1/3)
'-9.2'.to_r # => (-46/5)
'-9.2E2'.to_r # => (-920/1)
'1_234_567'.to_r # => (1234567/1)
'1_234/5_678'.to_r # => (617/2839)
//}
Kernel.#Rational に文字列を指定し......ruby]{
'21 june 09'.to_r # => (21/1)
'21/06/09'.to_r # => (7/2) # 21/6 を約分して 7/2。
//}
変換できないような文字列を指定した場合は 0/1 を返します。
//emlist[][ruby]{
'foo'.to_r # => (0/1)
''.to_r # => (0/1)
'bwv 1079'.to_r # => (0/1)
//...