7098件ヒット
[1-100件を表示]
(0.084秒)
種類
ライブラリ
- English (72)
- ビルトイン (2342)
- benchmark (12)
- bigdecimal (36)
-
bigdecimal
/ util (24) -
cgi
/ core (12) -
cgi
/ html (48) - csv (156)
- date (12)
- dbm (12)
- digest (24)
- erb (24)
- etc (24)
- fiddle (72)
- gdbm (24)
- getoptlong (36)
- ipaddr (48)
-
irb
/ cmd / help (12) -
irb
/ context (36) -
irb
/ ext / save-history (12) - json (252)
-
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 (192)
- logger (12)
- matrix (36)
- mkmf (12)
-
net
/ http (24) -
net
/ imap (12) -
net
/ pop (12) -
net
/ smtp (68) - openssl (924)
- optparse (180)
- ostruct (24)
- pathname (108)
- pstore (48)
- psych (108)
- rake (120)
- rbconfig (12)
-
rdoc
/ generator / darkfish (12) -
rdoc
/ generator / json _ index (12) -
rdoc
/ generator / ri (12) -
rdoc
/ markup (48) -
rdoc
/ top _ level (36) - readline (120)
- resolv (36)
- rexml (12)
-
rexml
/ document (180) -
ripper
/ lexer (24) -
rubygems
/ ext / builder (12) -
rubygems
/ indexer (24) -
rubygems
/ package / tar _ header (12) -
rubygems
/ platform (12) -
rubygems
/ requirement (12) -
rubygems
/ source _ index (12) -
rubygems
/ specification (24) -
rubygems
/ validator (12) -
rubygems
/ version (24) - scanf (6)
- sdbm (24)
- securerandom (12)
- set (10)
- shell (24)
-
shell
/ command-processor (6) -
shell
/ filter (18) - socket (108)
- stringio (112)
- uri (84)
-
webrick
/ httpauth / authenticator (48) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (36) -
webrick
/ httputils (12) -
webrick
/ httpversion (12) - win32ole (144)
-
yaml
/ dbm (12)
クラス
-
ARGF
. class (24) - Addrinfo (24)
- Array (105)
-
Benchmark
:: Tms (12) - BigDecimal (60)
- Bignum (6)
-
CGI
:: Cookie (12) - CSV (84)
-
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 (72) - Enumerator (24)
-
Enumerator
:: ArithmeticSequence (7) -
Enumerator
:: Chain (7) - Exception (56)
- FalseClass (24)
-
Fiddle
:: Pointer (72) - File (48)
- Fixnum (6)
- Float (24)
- GDBM (24)
-
Gem
:: Ext :: Builder (12) -
Gem
:: Indexer (24) -
Gem
:: Package :: TarHeader (12) -
Gem
:: Platform (12) -
Gem
:: Requirement (12) -
Gem
:: SourceIndex (12) -
Gem
:: Specification (24) -
Gem
:: Validator (12) -
Gem
:: Version (24) - GetoptLong (36)
- Hash (24)
- IO (18)
- IPAddr (48)
-
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 (68) - 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 (72) -
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 (48)
- Pathname (108)
- Proc (36)
-
Process
:: Status (12) -
Psych
:: Nodes :: Node (24) -
Psych
:: ScalarScanner (12) -
Psych
:: Visitors :: YAMLTree (12) -
RDoc
:: Generator :: Darkfish (12) -
RDoc
:: Generator :: JsonIndex (12) -
RDoc
:: Generator :: RI (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 (64)
- Rational (36)
- Regexp (36)
-
Resolv
:: DNS :: Name (12) -
Resolv
:: IPv4 (12) -
Resolv
:: IPv6 (12) - Ripper (12)
-
Ripper
:: Lexer (12) -
RubyVM
:: InstructionSequence (20) - SDBM (24)
-
Scanf
:: FormatString (6) - Set (16)
- Shell (24)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (18) - Socket (24)
-
Socket
:: Option (24) - String (548)
- StringIO (112)
- Struct (84)
- 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) - Etc (24)
- JSON (60)
-
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 :: String :: Extend (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kconv (96)
- Kernel (216)
- Marshal (12)
- Psych (36)
-
REXML
:: Node (12) - Rake (12)
- RbConfig (12)
- Readline (12)
-
RubyVM
:: AbstractSyntaxTree (3) -
WEBrick
:: HTTPAuth :: Authenticator (48)
オブジェクト
- ENV (151)
-
Readline
:: HISTORY (108)
キーワード
-
$ FIELD _ SEPARATOR (12) -
$ FS (12) -
$ INPUT _ RECORD _ SEPARATOR (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
$ RS (12) -
$ topdir (12) - % (26)
- * (24)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (24)
- <=> (12)
- == (12)
- === (12)
- =~ (12)
- ASN1 (12)
- CSV (12)
- Complex (12)
- DESCRIPTION (12)
-
EMPTY
_ MARSHAL _ CHECKSUM (12) -
EMPTY
_ MARSHAL _ DATA (12) -
EMPTY
_ STRING (12) - Enumerator (12)
- Extend (24)
- Float (12)
-
GENERATOR
_ DIR (12) - HeaderConverters (12)
- Integer (12)
- Markup (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - OCSP (12)
- RequestField (12)
- ResponseField (12)
- ResponseInfoField (12)
- Ruby用語集 (12)
-
SC
_ MONOTONIC _ CLOCK (12) -
SC
_ THREAD _ DESTRUCTOR _ ITERATIONS (12) -
SEARCH
_ INDEX _ FILE (12) - STR2CSTR (12)
- SafeStringValue (12)
- SecureRandom (12)
- StringValue (12)
- StringValuePtr (12)
- Symbol (12)
- TOPDIR (12)
- [] (168)
- []= (36)
-
_ _ to _ s _ _ (12) -
absolute
_ path (12) -
add
_ element (12) -
add
_ html (12) -
add
_ special (12) -
add
_ word _ pair (12) - autoload (24)
- autoload? (24)
- autorequire (12)
- bigdecimal (12)
-
bigdecimal
/ util (12) - binread (12)
- binwrite (12)
- bytes (31)
- caller (36)
- 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) -
create
_ id (12) - data (12)
- deconstruct (2)
-
default
_ record _ separator (6) -
default
_ record _ separator= (6) -
define
_ singleton _ method (24) - delete (24)
-
delete
_ at (12) -
dest
_ directory (12) - directory (12)
- downcase (12)
- dump (24)
- dup (12)
- each (36)
-
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)
- fetch (36)
-
file
_ absolute _ name (12) -
file
_ relative _ name (12) - format (12)
- formatter (12)
- ftype (12)
-
full
_ name (12) - generate (12)
- get (12)
-
get
_ option (12) - getaddrinfo (12)
- getservbyport (12)
-
grapheme
_ clusters (16) - gsub (24)
- gsub! (12)
- headers (12)
- help (12)
- helpstring (12)
- hex (12)
- hexdigest (24)
-
history
_ file (12) - hton (12)
- id2name (12)
-
in
_ reply _ to (12) - index (7)
-
insert
_ output (12) - inspect (309)
-
installed
_ spec _ directories (12) - intern (24)
- irb (12)
- join (24)
-
json
_ create (12) - kconv (24)
- key (12)
- length (12)
- lines (31)
-
load
_ from _ binary _ extra _ data (10) - logger (12)
- match (12)
- name (89)
-
net
/ smtp (12) - new (120)
- next (12)
- normalize (12)
- normalize! (12)
- ntop (12)
- oct (12)
- open (48)
- order (36)
- order! (18)
-
original
_ dir (24) - pack (21)
- pack テンプレート文字列 (12)
- parse (21)
- parse! (9)
- path (63)
- pathmap (12)
- permute (18)
- permute! (9)
- pop (12)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
program
_ name (12) -
psych
_ to _ yaml (12) -
public
_ method (12) - push (12)
- putback (24)
-
rb
_ to _ id (12) - rdoc (12)
-
rdoc
/ markup / to _ ansi (12) -
rdoc
/ markup / to _ bs (12) -
rdoc
/ markup / to _ html (12) - read (12)
-
read
_ body (24) - readline (12)
- readlines (12)
- realm (12)
-
record
_ separator (6) - redirector (12)
-
remove
_ leading _ dot _ dir (12) - restore (12)
- result (12)
- rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / search _ command (12) - send (36)
-
send
_ mail (12) - sendmail (12)
-
server
_ protocol (12) -
set
_ backtrace (12) - shift (12)
-
singleton
_ class (12) -
singleton
_ method (12) - size (12)
- slice (60)
-
source
_ location (12) - split (12)
- sprintf (12)
- sprintf フォーマット (12)
- src (12)
- start (32)
-
start
_ with? (6) - step (14)
- store (48)
- string (12)
- succ (12)
- swapcase (12)
- syswrite (12)
- then (14)
-
to
_ a (102) -
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 (264) -
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 (1212) -
to
_ sockaddr (12) -
to
_ str (48) -
to
_ string (24) -
to
_ sym (24) -
to
_ text (120) -
to
_ yaml (24) - toeuc (24)
- tojis (24)
-
tokadd
_ string (12) - tokenize (36)
- tolocale (24)
- top (12)
- tosjis (24)
- toutf16 (24)
- toutf32 (24)
- toutf8 (24)
-
try
_ convert (24) - unpack (12)
- unparse (12)
- upcase (12)
- upto (12)
- value (24)
-
values
_ at (24) - verify (24)
- version (12)
-
with
_ object (24) - write (24)
- yaml (12)
-
yield
_ self (16) - クラス/メソッドの定義 (12)
- 正規表現 (12)
検索結果
先頭5件
-
static int tokadd
_ string(int func , int term , int paren) (32200.0) -
-
String
# to _ i(base = 10) -> Integer (27245.0) -
文字列を 10 進数表現された整数であると解釈して、整数に変換します。
....to_i # => 10
p "+10".to_i # => 10
p "-10".to_i # => -10
p "010".to_i # => 10
p "-010".to_i # => -10
//}
整数とみなせない文字があればそこまでを変換対象とします。
変換対象が空文字列であれば 0 を返します。
//emlist[例][ruby]{
p "0x11".to......_i # => 0
p "".to_i # => 0
//}
基数を指定することでデフォルトの 10 進以外に 2 〜 36 進数表現へ変換できます。
それぞれ Ruby の整数リテラルで使用可能なプリフィクスは無視されます。
また、base に 0 を指定するとプリフ......"0o10".to_i(0) # => 8
p "010".to_i(0) # => 8
p "0d10".to_i(0) # => 10
p "0x10".to_i(0) # => 16
//}
@param base 進数を指定する整数。0 か、2〜36 の整数。
@return 整数
このメソッドの逆に数値を文字列に変換するには、
Kernel.#sprintf, String#%, In... -
String
# to _ s -> String (27234.0) -
self を返します。
...ruby]{
p "str".to_s # => "str"
p "str".to_str # => "str"
//}
このメソッドは、文字列を他のクラスのインスタンスと混ぜて処理したいときに有効です。
例えば返り値が文字列か nil であるメソッド some_method があるとき、
to_s メソッド......を使うと以下のように統一的に処理できます。
//emlist[例][ruby]{
# some_method(5).downcase だと返り値が nil のときに
# エラーになるので to_s をはさむ
p some_method(5).to_s.downcase
//}... -
String
# to _ str -> String (27234.0) -
self を返します。
...ruby]{
p "str".to_s # => "str"
p "str".to_str # => "str"
//}
このメソッドは、文字列を他のクラスのインスタンスと混ぜて処理したいときに有効です。
例えば返り値が文字列か nil であるメソッド some_method があるとき、
to_s メソッド......を使うと以下のように統一的に処理できます。
//emlist[例][ruby]{
# some_method(5).downcase だと返り値が nil のときに
# エラーになるので to_s をはさむ
p some_method(5).to_s.downcase
//}... -
String
# to _ f -> Float (27209.0) -
文字列を 10 進数表現と解釈して、浮動小数点数 Float に変換します。
...uby]{
p "-10".to_f # => -10.0
p "10e2".to_f # => 1000.0
p "1e-2".to_f # => 0.01
p ".1".to_f # => 0.1
p "1_0_0".to_f # => 100.0 # 数値リテラルと同じように区切りに _ を使える
p " \n10".to_f # => 10.0 # 先頭の空白・改行は無視される
p "7xa.5".to_f # => 7.0
//......返します。
変換対象が空文字列のケースでも、0.0 を返します。
//emlist[][ruby]{
p "".to_f # => 0.0
p "nan".to_f # => 0.0
p "INF".to_f # => 0.0
p "-Inf".to_f # => 0.0
//}
変換後の Float が有限の値を取れないときは、Float::INFINITY を用います......2
p ("10" * 1000).to_f # => Infinity
# warning: Float 10101010101010101010... out of range
//}
なお、このメソッドとは逆に、数値を文字列に変換するには
Kernel.#sprintf, String#%, Integer#to_s
を使用します。
@see String#hex, String#oct, String#to_i,
Kernel.#I... -
String
# tolocale -> String (27207.0) -
self のエンコーディングをロケールエンコーディングに変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...は Encoding.locale_charmap を見てください。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 String#encode
を使ってください。
@see Kconv.#tolocale... -
String
# toeuc -> String (27201.0) -
self のエンコーディングを EUC-JP に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...ングは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-exm0', str)
を使ってください。
@see Kconv.#toeuc... -
String
# tojis -> String (27201.0) -
self のエンコーディングを iso-2022-jp に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...ングは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-jxm0', str)
を使ってください。
@see Kconv.#tojis... -
String
# tosjis -> String (27201.0) -
self のエンコーディングを shift_jis に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
...グは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-sxm0', str)
を使ってください。
@see Kconv.#tosjis...