541件ヒット
[1-100件を表示]
(0.122秒)
ライブラリ
- ビルトイン (73)
-
cgi
/ html (22) - coverage (7)
- mkmf (22)
-
net
/ imap (22) -
net
/ smtp (11) - prime (77)
- rake (11)
-
rdoc
/ context (11) -
rubygems
/ dependency _ list (11) - socket (22)
- time (22)
-
webrick
/ httpauth / authenticator (132) -
webrick
/ httpauth / basicauth (11) -
webrick
/ httpauth / digestauth (11) - win32ole (11)
クラス
- Coverage (7)
-
Gem
:: DependencyList (11) -
Net
:: IMAP (22) -
Net
:: SMTP (11) - Object (12)
- Prime (44)
-
Prime
:: EratosthenesGenerator (33) - Proc (44)
-
RDoc
:: Context (11) -
Rake
:: FileList (11) - Range (6)
- Socket (11)
- Time (22)
-
WEBrick
:: HTTPAuth :: BasicAuth (11) -
WEBrick
:: HTTPAuth :: DigestAuth (11) - WIN32OLE (11)
モジュール
-
CGI
:: HtmlExtension (22) - Kernel (22)
-
Socket
:: Constants (11) -
WEBrick
:: HTTPAuth :: Authenticator (88) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (44)
キーワード
- === (17)
- ARGV (11)
- AuthException (22)
- AuthScheme (11)
- InfoField (11)
-
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) - Numeric (11)
- RequestField (22)
- ResponseField (22)
- ResponseInfoField (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
-
SO
_ SECURITY _ AUTHENTICATION (22) - [] (11)
-
add
_ authenticator (11) - authenticate (44)
- call (11)
-
check
_ signedness (22) -
dependency
_ order (11) - each (44)
- exclude (11)
-
find
_ symbol (11) - html (22)
- logger (11)
- next (11)
- realm (11)
- rewind (11)
- start (7)
- strptime (22)
- succ (11)
- userdb (11)
- xmlrpc (3)
- yield (11)
-
yield
_ self (6) - クラス/メソッドの定義 (11)
- 制御構造 (11)
- 演算子式 (11)
検索結果
先頭5件
-
Object
# then -> Enumerator (18314.0) -
self を引数としてブロックを評価し、ブロックの結果を返します。
...ruby]{
3.next.then {|x| x**x }.to_s # => "256"
"my string".yield_self {|s| s.upcase } # => "MY STRING"
//}
値をメソッドチェインのパイプラインに次々と渡すのは良い使い方です。
//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-......uri'
require 'json'
construct_url(arguments).
yield_self {|url| URI(url).read }.
yield_self {|response| JSON.parse(response) }
//}
ブロックなしで呼び出されたときは Enumerator を返します。
例えば条件によって値を捨てるのに使えます。
//emlist[][ruby]{
#... -
Net
:: IMAP . add _ authenticator(auth _ type , authenticator) -> () (12400.0) -
Net::IMAP#authenticate で使う 認証用クラスを設定します。
...thenticate で使う
認証用クラスを設定します。
imap ライブラリに新たな認証方式を追加するために用います。
通常は使う必要はないでしょう。もしこれを用いて
認証方式を追加する場合は net/imap.rb の
Net::IMAP::LoginAuthenticator......などを参考にしてください。
@param auth_type 認証の種類(文字列)
@param authenticator 認証クラス(Class オブジェクト)... -
Socket
:: Constants :: SO _ SECURITY _ AUTHENTICATION -> Integer (12300.0) -
@todo
@todo -
Socket
:: SO _ SECURITY _ AUTHENTICATION -> Integer (12300.0) -
@todo
@todo -
WEBrick
:: HTTPAuth :: BasicAuth # authenticate(request , response) -> bool (9400.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
...敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。... -
WEBrick
:: HTTPAuth :: DigestAuth # authenticate(request , response) -> true (9400.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
...敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。... -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: ResponseField -> "Proxy-Authenticate" (9301.0) -
レスポンスフィールドのキーの名前です。
レスポンスフィールドのキーの名前です。 -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: RequestField -> "Proxy-Authorization" (9201.0) -
リクエストフィールドのキーの名前です。
リクエストフィールドのキーの名前です。 -
Prime
:: EratosthenesGenerator # rewind -> nil (9200.0) -
列挙状態を巻き戻します。
...列挙状態を巻き戻します。
//emlist[例][ruby]{
require 'prime'
generator = Prime::EratosthenesGenerator.new
p generator.next #=> 2
p generator.next #=> 3
p generator.next #=> 5
generator.rewind
p generator.next #=> 2
//}... -
WEBrick
:: HTTPAuth :: Authenticator # logger -> object (9200.0) -
ロガーオブジェクトを返します。
ロガーオブジェクトを返します。