2574件ヒット
[101-200件を表示]
(0.083秒)
ライブラリ
- ビルトイン (30)
- drb (72)
-
drb
/ extservm (24) -
net
/ http (600) - open-uri (132)
-
rexml
/ document (108) -
rexml
/ parsers / sax2parser (60) -
rexml
/ sax2listener (48) -
rexml
/ streamlistener (24) - rss (12)
-
rubygems
/ dependency _ installer (24) -
rubygems
/ remote _ fetcher (156) -
rubygems
/ security (216) -
rubygems
/ server (72) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache _ entry (12) -
rubygems
/ spec _ fetcher (36) -
rubygems
/ specification (24) - uri (756)
-
webrick
/ httprequest (108) -
webrick
/ httpresponse (24) - win32ole (12)
クラス
-
DRb
:: DRbObject (48) -
DRb
:: DRbServer (24) -
DRb
:: ExtServManager (24) -
Gem
:: DependencyInstaller (24) -
Gem
:: RemoteFetcher (144) -
Gem
:: RemoteFetcher :: FetchError (12) -
Gem
:: Security :: Policy (156) -
Gem
:: Security :: Signer (60) -
Gem
:: Server (72) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCacheEntry (12) -
Gem
:: SpecFetcher (36) -
Gem
:: Specification (24) -
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (96) -
Net
:: HTTPResponse (108) - Object (30)
-
REXML
:: Attribute (12) -
REXML
:: Attributes (24) -
REXML
:: Element (48) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (12) -
REXML
:: Parsers :: SAX2Parser (60) -
RSS
:: NSError (12) -
URI
:: FTP (24) -
URI
:: Generic (528) -
URI
:: HTTP (12) -
URI
:: LDAP (120) -
URI
:: MailTo (72) -
WEBrick
:: HTTPRequest (108) -
WEBrick
:: HTTPResponse (24) -
WIN32OLE
_ EVENT (12)
モジュール
-
Gem
:: LocalRemoteOptions (12) -
Net
:: HTTPExceptions (12) -
Net
:: HTTPHeader (372) -
OpenURI
:: Meta (96) -
OpenURI
:: OpenRead (36) -
REXML
:: SAX2Listener (48) -
REXML
:: StreamListener (24)
キーワード
- + (12)
- - (12)
- == (24)
- Marshal (12)
- [] (12)
- []= (12)
-
_ _ drbref (12) -
_ _ drburi (12) - absolute (12)
- absolute? (12)
-
accept
_ uri _ http (12) -
add
_ namespace (24) - attribute (12)
- attributes (12)
- attributes= (12)
-
base
_ uri (12) -
basic
_ auth (12) - body (24)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) -
cache
_ dir (12) -
cert
_ chain (12) -
cert
_ chain= (12) - charset (24)
- chunked? (12)
- code (12)
- coerce (12)
- component (12)
-
connection
_ for (12) -
content
_ encoding (12) -
content
_ length (12) -
content
_ length= (12) -
content
_ range (12) -
content
_ type (24) -
content
_ type= (12) -
default
_ port (12) - delete (12)
- dn (12)
- dn= (12)
- doctype (24)
- download (12)
- each (12)
-
each
_ capitalized _ name (12) -
each
_ header (12) -
each
_ key (12) -
each
_ name (12) -
each
_ value (12) -
end
_ element (12) - entity (12)
- eql? (12)
- escape (12)
- extensions (12)
- extensions= (12)
- fetch (36)
-
fetch
_ path (12) -
fetch
_ size (12) -
fetch
_ spec (12) -
file
_ uri? (12) - filter (12)
- filter= (12)
-
find
_ gems _ with _ sources (12) -
find
_ proxy (12) -
find
_ spec _ by _ name _ and _ version (12) -
form
_ data= (12) - fragment (12)
- fragment= (12)
-
get
_ attribute _ ns (12) -
get
_ fields (12) -
get
_ file _ uri _ path (12) -
get
_ proxy _ from _ env (12) - handler= (12)
- headers (12)
- headers= (12)
- here? (12)
- hierarchical? (12)
- homepage (12)
- homepage= (12)
- host (24)
- host= (12)
- hostname (12)
- hostname= (12)
-
http
_ version (12) - key (12)
- key= (12)
- key? (12)
-
last
_ modified (12) -
latest
_ specs (12) - listen (60)
-
load
_ specs (12) -
main
_ type (12) - merge (12)
- merge! (12)
- method (24)
- msg (12)
- namespace (24)
- namespaces (12)
- normalize (12)
- normalize! (12)
-
normalize
_ uri (12) - notationdecl (12)
-
only
_ signed (12) -
only
_ signed= (12) -
only
_ trusted (12) -
only
_ trusted= (12) - opaque (12)
- opaque= (12)
- open (24)
-
open
_ uri _ or _ path (12) - parser (12)
- password (12)
- password= (12)
- path (36)
- path= (12)
-
path
_ info (12) -
path
_ info= (12) - port (12)
- port= (12)
-
proxy
_ basic _ auth (12) -
proxy
_ uri (12) - query (12)
- query= (12)
-
query
_ string (12) -
query
_ string= (12) - quick (12)
- range (12)
-
range
_ length (12) - read (12)
-
read
_ body (24) - ref (12)
- refresh (12)
- registry (12)
- registry= (12)
- relative? (12)
- request (12)
-
request
_ body _ permitted? (12) -
request
_ uri (36) -
request
_ uri= (12) - response (12)
-
response
_ body _ permitted? (12) - root (12)
-
route
_ from (12) -
route
_ to (12) - scheme (12)
- scheme= (12)
- scope (12)
- scope= (12)
- select (12)
-
set
_ content _ type (12) -
set
_ form _ data (12) - sign (12)
- specs (12)
- ssl? (12)
-
start
_ element (12) -
start
_ prefix _ mapping (12) - status (12)
-
sub
_ type (12) - system (12)
- then (14)
- to (12)
- to= (12)
-
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (12) -
type
_ params (12) - typecode (12)
- typecode= (12)
- unescape (12)
-
unparsed
_ uri (12) - update (12)
- uri= (12)
- user (12)
- user= (12)
- userinfo (12)
- userinfo= (12)
- value (12)
-
verify
_ chain (12) -
verify
_ chain= (12) -
verify
_ data (12) -
verify
_ data= (12) -
verify
_ gem (12) -
verify
_ root (12) -
verify
_ root= (12) -
verify
_ signer (12) -
verify
_ signer= (12) - yaml (12)
-
yield
_ self (16)
検索結果
先頭5件
-
URI
:: Generic # ==(uri) -> bool (11186.0) -
引数に指定した URI (文字列またはURIオブジェクト)との一致判定を行い ます。URI は正規化して比較されます。
...した URI (文字列またはURIオブジェクト)との一致判定を行い
ます。URI は正規化して比較されます。
@param uri 比較したい URI を URI オブジェクトで指定します。
例:
require 'uri'
u1 = URI.parse('http://example.com/?hoge')
u2 = URI.parse('ht... -
URI
:: Generic # -(src) -> URI :: Generic (11143.0) -
与えられた URI を表す src からの相対パスを返します。
...えられた URI を表す src からの相対パスを返します。
@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。
例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x... -
URI
:: Generic # route _ from(src) -> URI :: Generic (11143.0) -
与えられた URI を表す src からの相対パスを返します。
...えられた URI を表す src からの相対パスを返します。
@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。
例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x... -
URI
:: Generic # route _ to(dst) -> URI :: Generic (11132.0) -
自身から dst への相対パスを返します。
...自身から dst への相対パスを返します。
@param dst URI を文字列かURIオブジェクトで与えます。
例:
require 'uri'
p URI.parse('http://example.com/').route_to('http://example.com/foo/bar.html')
#=> #<URI::Generic:0x20100198 URL:foo/bar.html>... -
URI
:: Generic # find _ proxy -> URI | nil (11130.0) -
プロキシ URI を返します。
...プロキシ URI を返します。
プロキシ URI は http_proxy, ftp_proxy, no_proxy などの環境変数から取得
します。適切なプロキシが見つからない場合は nil を返します。
環境変数は大文字にしたもの(HTTP_PROXY, FTP_PROXY, NO_PROXYなど)も調べ......設定されうるためです。そのため、
HTTP_PROXY(環境変数が大文字小文字を区別しない場合は http_proxy も) は使
われません。代わりに CGI_HTTP_PROXY が使われます。
@raise BadURIError selfが相対URIであった場合に発生します。
@see ENV... -
URI
:: Generic # find _ proxy(env = ENV) -> URI | nil (11130.0) -
プロキシ URI を返します。
...プロキシ URI を返します。
プロキシ URI は http_proxy, ftp_proxy, no_proxy などの環境変数から取得
します。適切なプロキシが見つからない場合は nil を返します。
環境変数は大文字にしたもの(HTTP_PROXY, FTP_PROXY, NO_PROXYなど)も調べ......区別しない場合は http_proxy も) は使
われません。代わりに CGI_HTTP_PROXY が使われます。
@param env 環境変数 ENV の代わりに参照するオブジェクトを指定します。
@raise BadURIError selfが相対URIであった場合に発生します。
@see ENV... -
URI
:: Generic # normalize -> URI :: Generic (11130.0) -
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと 構成要素がなければ '/' をセットします。
...
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと
構成要素がなければ '/' をセットします。
例:
require 'uri'
u = URI.parse('http://Example.Com')
p u.to_s #=> "http://Example.Com"
p u.normalize.to_s... -
URI
:: Generic # parser -> URI :: Parser (11118.0) -
selfのパーサを返します。未定義であった場合は URI::DEFAULT_PARSER を返します。
...selfのパーサを返します。未定義であった場合は URI::DEFAULT_PARSER を返します。... -
URI
:: Generic # path -> String | nil (11037.0) -
自身の path を文字列で返します。設定されていない場合は nil を返します。
...します。
require 'uri'
p URI.parse('http://example.com/hoge').path #=> "/hoge"
p URI.parse('http://example.com').path #=> ""
p URI.parse('mailto:nospam@localhost').path #=> nil
p URI('ftp://example.com/foo').path #=> 'foo'
p URI('ftp://example.com/%2Ffoo').... -
URI
:: Generic # hostname -> String | nil (11035.0) -
自身の hostname を文字列で返します。また、URI::Generic#host が設 定されていない場合は nil を返します。
...URI::Generic#host が設
定されていない場合は nil を返します。
このメソッドは URI::Generic#host に IPv6 アドレスが設定されていた
場合はブラケットを削除した文字列を返しますがそれ以外は同じ文字列を返し
ます。
require 'uri'......u = URI("http://[::1]/bar")
p u.hostname # => "::1"
p u.host # => "[::1]"...