種類
ライブラリ
- ビルトイン (70)
- coverage (12)
-
net
/ http (24) - openssl (108)
-
rexml
/ parsers / sax2parser (12) - rss (12)
-
rubygems
/ specification (24) - socket (24)
- stringio (36)
-
win32
/ registry (360) - win32ole (12)
クラス
-
Gem
:: Specification (24) -
OpenSSL
:: PKCS7 (84) -
OpenSSL
:: SSL :: SSLSocket (12) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Categories (12) - Socket (24)
- String (24)
- StringIO (36)
- Symbol (12)
-
Win32
:: Registry (24)
モジュール
-
Net
:: HTTPHeader (24) -
Win32
:: Registry :: API (324)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - AbstractSyntaxTree (7)
-
Check
_ SafeStr (1) - CloseKey (12)
- Coverage (12)
- CreateKey (12)
- Data (3)
- DeleteKey (12)
- DeleteValue (12)
- EnumKey (12)
- EnumValue (12)
- FlushKey (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
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - OpenKey (12)
- QueryInfoKey (12)
- QueryValue (12)
- Random (12)
- RegCloseKey (12)
- RegCreateKeyExA (12)
- RegDeleteKey (12)
- RegDeleteValue (12)
- RegEnumKeyExA (12)
- RegEnumValueA (12)
- RegFlushKey (12)
- RegOpenKeyExA (12)
- RegQueryInfoKey (12)
- RegQueryValueExA (12)
- RegSetValueExA (12)
- Ruby用語集 (12)
- SAX2Parser (12)
- STR2CSTR (12)
- SetValue (12)
- Time (12)
- TracePoint (12)
- WIN32OLE (12)
-
add
_ data (12) -
add
_ recipient (12) -
add
_ signer (12) - capitalize (24)
- capitalize! (12)
- check (12)
- cipher= (12)
- data= (12)
- detached= (12)
-
each
_ capitalized (12) -
each
_ capitalized _ name (12) - getaddrinfo (12)
- getnameinfo (12)
- info (12)
-
new
_ category (12) - packdw (12)
- packqw (12)
-
post
_ connection _ check (12) - psych (12)
-
rb
_ check _ safe _ str (1) - rexml (12)
-
rexml
/ parsers / sax2parser (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
. 8 . 5 feature (12) -
ruby 1
. 9 feature (12) -
ruby
_ init (12) -
rubygems
/ digest / digest _ adapter (12) -
set
_ encoding (36) - type= (12)
- unpackdw (12)
- unpackqw (12)
-
win32
/ registry (12) - xmlrpc (3)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (12)
検索結果
先頭5件
-
Win32
:: Registry :: API (18000.0) -
-
Net
:: HTTPHeader # each _ capitalized _ name {|name| . . . . } -> () (6100.0) -
保持しているヘッダ名を正規化 ('x-my-header' -> 'X-My-Header') して、ブロックに渡します。
...er' -> 'X-My-Header')
して、ブロックに渡します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.each_capitalized_name { |key| puts key }
# => Accept-Encoding
# => Accept
# => User-Agent
//}... -
String
# capitalize -> String (6100.0) -
文字列先頭の文字を大文字に、残りを小文字に変更した文字列を返します。 ただし、アルファベット以外の文字は位置に関わらず変更しません。
...ット以外の文字は位置に関わらず変更しません。
//emlist[例][ruby]{
p "foobar--".capitalize # => "Foobar--"
p "fooBAR--".capitalize # => "Foobar--"
p "FOOBAR--".capitalize # => "Foobar--"
//}
@see String#capitalize!, String#upcase,
String#downcase, String#swapcase... -
String
# capitalize! -> self | nil (6100.0) -
文字列先頭の文字を大文字に、残りを小文字に変更します。 ただし、アルファベット以外の文字は位置に関わらず変更しません。
...@return capitalize! は self を変更して返しますが、
変更が起こらなかった場合は nil を返します。
//emlist[例][ruby]{
str = "foobar"
str.capitalize!
p str # => "Foobar"
str = "fooBAR"
str.capitalize!
p str # => "Foobar"
//}
@see String#capitalize, String... -
String
# capitalize!(*options) -> self | nil (6100.0) -
文字列先頭の文字を大文字に、残りを小文字に破壊的に変更します。
...@return capitalize! は self を変更して返しますが、
変更が起こらなかった場合は nil を返します。
//emlist[例][ruby]{
str = "foobar"
str.capitalize!
p str # => "Foobar"
str = "fooBAR"
str.capitalize!
p str # => "Foobar"
//}
@see String#capitalize, String... -
String
# capitalize(*options) -> String (6100.0) -
文字列先頭の文字を大文字に、残りを小文字に変更した文字列を返します。
...ョンの詳細は String#downcase を参照してください。
//emlist[例][ruby]{
p "foobar--".capitalize # => "Foobar--"
p "fooBAR--".capitalize # => "Foobar--"
p "FOOBAR--".capitalize # => "Foobar--"
//}
@see String#capitalize!, String#upcase,
String#downcase, String#swapcase... -
Symbol
# capitalize -> Symbol (6100.0) -
シンボルに対応する文字列の先頭の文字を大文字に、残りを小文字に変更した シンボルを返します。
...に、残りを小文字に変更した
シンボルを返します。
(self.to_s.capitalize.intern と同じです。)
:foobar.capitalize #=> :Foobar
:fooBar.capitalize #=> :Foobar
:FOOBAR.capitalize #=> :Foobar
:"foobar--".capitalize # => "Foobar--"
@see String#capitalize... -
Symbol
# capitalize(*options) -> Symbol (6100.0) -
シンボルに対応する文字列の先頭の文字を大文字に、残りを小文字に変更した シンボルを返します。
...に、残りを小文字に変更した
シンボルを返します。
(self.to_s.capitalize.intern と同じです。)
:foobar.capitalize #=> :Foobar
:fooBar.capitalize #=> :Foobar
:FOOBAR.capitalize #=> :Foobar
:"foobar--".capitalize # => "Foobar--"
@see String#capitalize... -
Net
:: HTTPHeader # each _ capitalized {|name , value| . . . . } -> () (3100.0) -
ヘッダフィールドの正規化名とその値のペアを ブロックに渡し、呼びだします。
...ヘッダフィールドの正規化名とその値のペアを
ブロックに渡し、呼びだします。
正規化名は name に対し
name.downcase.split(/-/).capitalize.join('-')
で求まる文字列です。... -
Win32
:: Registry :: API . # CloseKey(hkey) (3000.0) -
@todo
@todo -
Win32
:: Registry :: API . # CreateKey(hkey , name , opt , desired) (3000.0) -
@todo
@todo -
Win32
:: Registry :: API . # DeleteKey(hkey , name) (3000.0) -
@todo
@todo