ライブラリ
- ビルトイン (947)
-
cgi
/ util (22) - csv (176)
- dbm (11)
- gdbm (11)
- matrix (133)
-
net
/ http (671) - openssl (11)
- prime (44)
- psych (11)
-
rdoc
/ generator / json _ index (44) - readline (33)
-
rexml
/ document (132) - rubygems (11)
-
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ dependency _ list (11) -
rubygems
/ indexer (187) -
rubygems
/ source _ index (297) -
rubygems
/ source _ info _ cache _ entry (22) - sdbm (11)
- socket (44)
- strscan (22)
- syslog (22)
-
webrick
/ config (11) -
webrick
/ httputils (11) -
win32
/ registry (176) - win32ole (11)
-
yaml
/ dbm (11)
クラス
- Array (311)
- CGI (22)
- CSV (33)
-
CSV
:: FieldInfo (22) -
CSV
:: Row (66) -
CSV
:: Table (55) - DBM (11)
- Encoding (231)
- Enumerator (22)
-
Enumerator
:: Lazy (10) - GDBM (11)
-
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: DependencyList (11) -
Gem
:: Indexer (176) -
Gem
:: SourceIndex (286) -
Gem
:: SourceInfoCacheEntry (22) - Hash (136)
- MatchData (33)
- Matrix (110)
-
Net
:: HTTP (154) -
Net
:: HTTPGenericRequest (88) -
Net
:: HTTPResponse (99) -
Prime
:: PseudoPrimeGenerator (44) -
Psych
:: Parser :: Mark (11) -
RDoc
:: Generator :: JsonIndex (33) -
REXML
:: Elements (33) -
REXML
:: Parent (88) - Regexp (11)
-
RubyVM
:: InstructionSequence (11) - SDBM (11)
-
Socket
:: AncillaryData (33) -
Socket
:: Ifaddr (11) - String (52)
- StringScanner (22)
- Vector (23)
-
WIN32OLE
_ PARAM (11) -
YAML
:: DBM (11)
モジュール
- Enumerable (72)
-
GC
:: Profiler (22) - Gem (11)
-
Net
:: HTTPHeader (330) -
REXML
:: Node (11) - Syslog (22)
-
WEBrick
:: Config (11) -
WEBrick
:: HTTPUtils (11) -
Win32
:: Registry :: API (176)
オブジェクト
- ENV (14)
-
Readline
:: HISTORY (33)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - ASN1 (11)
- CP50220 (11)
- CP50221 (11)
- CP51932 (11)
- CP932 (11)
- CSWINDOWS31J (11)
- CloseKey (11)
- CreateKey (11)
- CsWindows31J (11)
- DeleteKey (11)
- DeleteValue (11)
-
EUCJP
_ MS (11) -
EUC
_ JP _ MS (11) - EnumKey (11)
- EnumValue (11)
-
EucJP
_ ms (11) - FileHandler (11)
- FlushKey (11)
- GenerateIndexCommand (11)
- IndexError (11)
- Indexer (11)
- JsonIndex (11)
- Mac OS X (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) - OpenKey (11)
- PCK (11)
- QueryInfoKey (11)
- QueryValue (11)
- Ruby が動作するプラットフォーム (11)
- Ruby変更履歴 (11)
-
SEARCH
_ INDEX _ FILE (11) - SJIS (11)
-
SJIS
_ DOCOMO (11) -
SJIS
_ DoCoMo (11) -
SJIS
_ SOFTBANK (11) -
SJIS
_ SoftBank (11) - SetValue (11)
- SourceIndex (11)
- String (11)
-
UTF8
_ DOCOMO (11) -
UTF8
_ DoCoMo (11) -
UTF8
_ SOFTBANK (11) -
UTF8
_ SoftBank (11) -
WINDOWS
_ 31J (11) -
Windows
_ 31J (11) - [] (88)
- []= (111)
- abbreviate (11)
-
add
_ spec (11) -
add
_ specs (11) -
basic
_ auth (11) - basis (11)
- begin (11)
- body (22)
- body= (11)
-
body
_ stream (11) -
body
_ stream= (11) - bsearch (18)
-
bsearch
_ index (18) -
build
_ indices (9) -
build
_ indicies (2) - byteindex (2)
- byterindex (2)
- bytesplice (4)
-
cgi
/ session (11) - check (11)
- chunked? (11)
- code (11)
-
collect
_ specs (11) -
compact
_ specs (11) - compress (11)
-
content
_ length (11) -
content
_ length= (11) -
content
_ range (11) -
content
_ type= (11) - convert (33)
- delete (33)
-
delete
_ at (22) -
dest
_ directory (11) - directory (11)
- drb (11)
- dump (11)
- each (77)
-
each
_ capitalized _ name (11) -
each
_ header (11) -
each
_ index (44) -
each
_ key (11) -
each
_ name (11) -
each
_ value (11) -
each
_ with _ index (66) - end (11)
- entity (11)
- escape (11)
- fetch (66)
- field (11)
- fill (66)
- filter! (12)
-
find
_ gems (11) -
find
_ index (99) -
find
_ name (11) -
form
_ data= (11) -
from
_ gems _ in (11) -
from
_ installed _ gems (11) -
from
_ source _ index (11) -
gem
_ file _ list (11) -
gem
_ signature (11) - generate (11)
-
generate
_ index (11) - get (22)
- get2 (22)
-
get
_ fields (11) -
get
_ print (22) - getbyte (11)
- gzip (11)
- head (11)
- head2 (22)
-
http
_ version (11) - ifindex (11)
- index= (11)
-
index
_ in _ parent (11) -
index
_ signature (11) -
install
_ indices (9) -
install
_ indicies (2) -
installed
_ spec _ directories (11) -
ip
_ pktinfo (11) -
ipv6
_ pktinfo (11) -
ipv6
_ pktinfo _ ifindex (11) -
keep
_ if (22) - key (14)
- key? (11)
-
latest
_ specs (11) - length (11)
-
load
_ gems _ in (11) -
load
_ specification (11) -
main
_ type (11) -
make
_ temp _ directories (11) - manual page (11)
- mask (11)
- mask= (11)
- method (22)
-
mime
_ type (11) - msg (11)
-
named
_ captures (11) -
net
/ http (11) -
net
/ pop (11) - new (77)
- outdated (11)
- packdw (11)
- packqw (11)
- paranoid (11)
- path (11)
- pointer= (11)
- pos= (11)
-
proxy
_ basic _ auth (11) - range (11)
-
range
_ length (11) - rdoc (11)
-
rdoc
/ generator / json _ index (11) -
read
_ body (22) - refresh (11)
- refresh! (11)
-
remove
_ spec (11) - report (11)
-
request
_ body _ permitted? (11) -
request
_ get (22) -
request
_ head (22) -
response
_ body _ permitted? (11) - result (11)
- rindex (44)
- rss (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ indexer (11) -
rubygems
/ server (11) -
rubygems
/ source _ index (11) - sanitize (11)
-
sanitize
_ string (11) - search (11)
- select! (22)
-
send
_ request (11) -
set
_ content _ type (11) -
set
_ form _ data (11) - setbyte (11)
- size (22)
-
source
_ index (22) -
spec
_ dirs (11) -
spec
_ dirs= (11) - specification (11)
-
sub
_ type (11) -
to
_ a (11) -
to
_ h (17) -
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) -
type
_ params (11) - unescape (11)
- unpackdw (11)
- unpackqw (11)
- update (11)
- value (11)
-
values
_ at (11) - win32ole (11)
-
with
_ index (54) - xmlrpc (3)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (11)
検索結果
先頭5件
-
Matrix
# each(which = :all) -> Enumerator (6.0) -
行列の各要素を引数としてブロックを呼び出します。
...uby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].each { |e| puts e }
# => prints the numbers 1 to 4
Matrix[ [1,2], [3,4] ].each(:strict_lower).to_a # => [3]
//}
@param which どの要素に対してブロックを呼び出すのかを Symbol で指定します
@see Matrix#each_with_index, Matrix#map... -
Matrix
# each(which = :all) {|e| . . . } -> self (6.0) -
行列の各要素を引数としてブロックを呼び出します。
...uby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].each { |e| puts e }
# => prints the numbers 1 to 4
Matrix[ [1,2], [3,4] ].each(:strict_lower).to_a # => [3]
//}
@param which どの要素に対してブロックを呼び出すのかを Symbol で指定します
@see Matrix#each_with_index, Matrix#map... -
NEWS for Ruby 2
. 3 . 0 (6.0) -
NEWS for Ruby 2.3.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...block は IO#read_nonblock と同じように `exception: false' オプションをサポートします
11358
* Array
* Array#bsearch_index を追加
10730
* Array#dig を追加
11643
* Comparable
* Comparable#==はもはや例外を rescue しません
768......10958
* File::Stat
* Windows では File::Stat#ino は常に 0 を返していましたが、
BY_HANDLE_FILE_INFORMATION.nFileIndexHigh/Low を返すようになりました。
11216
* Hash
* Hash#inspect はその要素の文字列が Encoding.default_external と... -
Net
:: HTTP # head(path , header = nil) -> Net :: HTTPResponse (6.0) -
サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse のインスタンスを返します。
...。
1.1 互換モードの場合は、レスポンスに応じて例外が発生します。
//emlist[例][ruby]{
require 'net/http'
response = nil
Net::HTTP.start('some.www.server', 80) {|http|
response = http.head('/index.html')
}
p response['content-type']
//}
@see Net::HTTP#request_head... -
Net
:: HTTP # head2(path , header = nil) -> Net :: HTTPResponse (6.0) -
サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse オブジェクトを返します。
...文字列で指定します。
@param header リクエストの HTTP ヘッダをハッシュで指定します。
head2 は時代遅れなので使わないでください。
//emlist[例][ruby]{
response = http.request_head('/index.html')
p response['content-type']
//}
@see Net::HTTP#head... -
Net
:: HTTP # head2(path , header = nil) {|response| . . . . } -> Net :: HTTPResponse (6.0) -
サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse オブジェクトを返します。
...文字列で指定します。
@param header リクエストの HTTP ヘッダをハッシュで指定します。
head2 は時代遅れなので使わないでください。
//emlist[例][ruby]{
response = http.request_head('/index.html')
p response['content-type']
//}
@see Net::HTTP#head... -
Net
:: HTTP # request _ head(path , header = nil) -> Net :: HTTPResponse (6.0) -
サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse オブジェクトを返します。
...文字列で指定します。
@param header リクエストの HTTP ヘッダをハッシュで指定します。
head2 は時代遅れなので使わないでください。
//emlist[例][ruby]{
response = http.request_head('/index.html')
p response['content-type']
//}
@see Net::HTTP#head... -
Net
:: HTTP # request _ head(path , header = nil) {|response| . . . . } -> Net :: HTTPResponse (6.0) -
サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse オブジェクトを返します。
...文字列で指定します。
@param header リクエストの HTTP ヘッダをハッシュで指定します。
head2 は時代遅れなので使わないでください。
//emlist[例][ruby]{
response = http.request_head('/index.html')
p response['content-type']
//}
@see Net::HTTP#head... -
Net
:: HTTP # send _ request(name , path , data = nil , header = nil) -> Net :: HTTPResponse (6.0) -
HTTP リクエストをサーバに送り、そのレスポンスを Net::HTTPResponse のインスタンスとして返します。
...スを文字列で与えます。
@param data リクエストのボディを文字列で与えます。
@param header リクエストのヘッダをハッシュで与えます。
//emlist[例][ruby]{
response = http.send_request('GET', '/index.html')
puts response.body
//}
@see Net::HTTP#request... -
Net
:: HTTPGenericRequest # body -> String (6.0) -
サーバに送るリクエストのエンティティボディを返します。
...リクエストのエンティティボディを返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Post.new(uri.request_uri)
req.body = "Test Post Data"
req.body # => "Test Post Data"
//}
@see Net::HTTPGenericRequest#body=...