1929件ヒット
[201-300件を表示]
(0.132秒)
別のキーワード
ライブラリ
- ビルトイン (90)
- csv (36)
- dbm (108)
- gdbm (108)
-
net
/ ftp (20) -
net
/ http (48) -
net
/ pop (24) -
net
/ smtp (24) - open-uri (108)
- openssl (416)
- ostruct (77)
- pathname (12)
-
rake
/ loaders / makefile (12) -
rexml
/ streamlistener (12) - sdbm (156)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (18) - socket (168)
- stringio (36)
- tempfile (36)
- zlib (408)
クラス
- BasicSocket (60)
- CSV (36)
- DBM (108)
- Dir (12)
-
File
:: Stat (12) - GDBM (108)
- IO (36)
- IPSocket (12)
- Integer (12)
-
Net
:: FTP (20) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (24) -
Net
:: POP3 (24) -
Net
:: SMTP (24) - Object (30)
-
OpenSSL
:: ASN1 :: ObjectId (60) -
OpenSSL
:: BN (260) -
OpenSSL
:: Config (12) -
OpenSSL
:: SSL :: SSLContext (24) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
OpenSSL
:: X509 :: Name (24) -
OpenSSL
:: X509 :: StoreContext (12) - OpenStruct (77)
- Pathname (12)
-
Rake
:: MakefileLoader (12) - SDBM (156)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (18) - StringIO (36)
- TCPServer (24)
- Tempfile (36)
- UNIXServer (24)
- UNIXSocket (48)
-
Zlib
:: GzipReader (240) -
Zlib
:: GzipWriter (168)
モジュール
-
OpenURI
:: Meta (96) -
OpenURI
:: OpenRead (12) -
REXML
:: StreamListener (12)
キーワード
- << (24)
- <=> (24)
- > (6)
- >> (18)
- [] (12)
- []= (12)
- accept (24)
-
add
_ row (12) - addr (12)
-
base
_ uri (12) -
bit
_ set? (12) -
body
_ stream (12) -
body
_ stream= (12) - charset (24)
- ciphers (12)
-
clear
_ bit! (12) -
client
_ cert _ cb= (12) - close (24)
- close! (12)
- closed? (12)
- cmp (12)
- coerce (12)
- comment= (12)
- config= (12)
-
content
_ encoding (12) -
content
_ type (12) - delete (36)
-
delete
_ all (24) -
delete
_ if (12) - dig (10)
-
do
_ not _ reverse _ lookup (12) - each (36)
-
each
_ byte (24) -
each
_ line (24) -
each
_ pair (24) - entitydecl (12)
- eof (12)
- eof? (12)
- error= (12)
- fcntl (12)
- fdatasync (12)
- fetch (36)
- finish (12)
- flush (24)
- getc (12)
- getpeername (12)
- gets (12)
- getsockname (12)
- invert (36)
- keys (24)
-
last
_ modified (12) - lineno (12)
- lineno= (12)
- ln (12)
- load (12)
-
local
_ address (12) -
long
_ name (12) - lshift! (12)
-
mask
_ bits! (12) - mlsd (20)
-
mod
_ add (12) -
mod
_ exp (12) -
mod
_ inverse (12) -
mod
_ mul (12) -
mod
_ sub (12) - mtime= (12)
- negative? (8)
-
num
_ bits (12) -
num
_ bytes (12) - oid (12)
-
orig
_ name= (12) - out (18)
- path (12)
- peeraddr (24)
- pos (24)
-
pretty
_ print (12) -
prime
_ fasttest? (12) - print (12)
- printf (12)
- putc (12)
- puts (24)
- read (36)
-
read
_ body (24) - readchar (12)
- readline (12)
- readlines (12)
- ready (12)
- recvfrom (12)
- reject! (12)
-
remote
_ address (12) - reopen (24)
- replace (36)
- rewind (12)
- rshift! (12)
- select (36)
-
set
_ bit! (12) - shift (24)
-
short
_ name (12) - sn (12)
- status (12)
- store (12)
- sysaccept (24)
- tell (24)
- then (14)
-
to
_ a (36) -
to
_ bn (12) -
to
_ h (19) -
to
_ hash (24) -
to
_ s (36) - ucmp (12)
- ungetc (12)
- update (24)
-
values
_ at (36) - write (12)
-
yield
_ self (16)
検索結果
先頭5件
-
OpenURI
:: Meta # last _ modified -> Time | nil (3019.0) -
対象となる URI の最終更新時刻を Time オブジェクトで返します。 Last-Modified ヘッダがない場合は nil を返します。
...対象となる URI の最終更新時刻を Time オブジェクトで返します。
Last-Modified ヘッダがない場合は nil を返します。
例:
//emlist[例][ruby]{
require 'open-uri'
open('http://www.rubyist.net/') {|f|
p f.last_modified
#=> Thu Feb 26 16:54:58 +0900 2004
}
//}......象となる URI の最終更新時刻を Time オブジェクトで返します。
Last-Modified ヘッダがない場合は nil を返します。
例:
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://www.rubyist.net/') {|f|
p f.last_modified
#=> Thu Feb 26 16:54:58 +0900 2004
}
//}... -
OpenURI
:: Meta # meta -> Hash (3019.0) -
ヘッダを収録したハッシュを返します。
...します。
//emlist[例][ruby]{
require 'open-uri'
open('http://example.com/') {|f|
p f.meta
#=> {"date"=>"Sun, 04 May 2008 11:26:40 GMT",
# "content-type"=>"text/html;charset=utf-8",
# "server"=>"Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e",
# "transfer-enco......ます。
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://example.com/') {|f|
p f.meta
#=> {"date"=>"Sun, 04 May 2008 11:26:40 GMT",
# "content-type"=>"text/html;charset=utf-8",
# "server"=>"Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e",
# "transfer-enc... -
OpenURI
:: Meta # status -> [String] (3019.0) -
対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
...対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}......対象となるリソースのステータスコードと reason phrase を文字列の配列として返します。
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://example.com/') {|f|
p f.status #=> ["200", "OK"]
}
//}... -
Net
:: SMTP # ready(from _ addr , *to _ addrs) {|f| . . . . } -> () (3014.0) -
メール書き込みの準備をし、書き込み先のストリームオブジェクトを ブロックに渡します。ブロック終了後、書きこんだ結果が 送られます。
...ス ('...@...'のかたち) 、
to_addrs には送信先メールアドレスを文字列で渡します。
require 'net/smtp'
Net::SMTP.start('smtp.example.com', 25) {|smtp|
smtp.open_message_stream('from@example.com', 'to@example.net') {|f|
f.puts 'From: from@example.com'
f.p... -
OpenSSL
:: BN # pretty _ print(pp) (3013.0) -
Kernel.#pp でオブジェクトの内容を出力するときに、内部で呼ばれるメソッドです。
...nel.#pp でオブジェクトの内容を出力するときに、内部で呼ばれるメソッドです。
//emlist[][ruby]{
require 'pp'
require 'openssl'
pp 5.to_bn #=> #<OpenSSL::BN 5>
pp (-5).to_bn #=> #<OpenSSL::BN -5>
//}
@param pp PP クラスのインスタンスオブジェクト... -
OpenSSL
:: ASN1 :: ObjectId # ln -> String | nil (3007.0) -
オブジェクト識別子に対応する long name を返します。
...オブジェクト識別子に対応する long name を返します。
例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.ln #=> "X509v3 Subject Alternative Name"
@see OpenSSL::ASN1::ObjectId#sn... -
OpenSSL
:: ASN1 :: ObjectId # long _ name -> String | nil (3007.0) -
オブジェクト識別子に対応する long name を返します。
...オブジェクト識別子に対応する long name を返します。
例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.ln #=> "X509v3 Subject Alternative Name"
@see OpenSSL::ASN1::ObjectId#sn... -
OpenSSL
:: ASN1 :: ObjectId # oid -> String (3007.0) -
オブジェクト識別子のドット区切り数値を文字列で返します。
...オブジェクト識別子のドット区切り数値を文字列で返します。
例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.oid #=> "2.5.29.17"
@raise OpenSSL::ASN1::ASN1Error オブジェクト識別子名が未知である場合に発生します... -
OpenSSL
:: ASN1 :: ObjectId # short _ name -> String | nil (3007.0) -
オブジェクト識別子に対応する short name を返します。
...オブジェクト識別子に対応する short name を返します。
例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.sn #=> "subjectAltName"
@see OpenSSL::ASN1::ObjectId#ln... -
OpenSSL
:: ASN1 :: ObjectId # sn -> String | nil (3007.0) -
オブジェクト識別子に対応する short name を返します。
...オブジェクト識別子に対応する short name を返します。
例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.sn #=> "subjectAltName"
@see OpenSSL::ASN1::ObjectId#ln...