340件ヒット
[1-100件を表示]
(0.053秒)
種類
- インスタンスメソッド (191)
- 特異メソッド (68)
- 文書 (36)
- 定数 (24)
- モジュール関数 (21)
ライブラリ
- ビルトイン (83)
-
cgi
/ html (24) - coverage (8)
-
net
/ imap (24) -
net
/ smtp (12) - prime (48)
- socket (24)
- time (24)
- timeout (21)
-
webrick
/ httpauth / authenticator (12) -
webrick
/ httpauth / basicauth (12) -
webrick
/ httpauth / digestauth (12)
クラス
モジュール
-
CGI
:: HtmlExtension (24) -
Socket
:: Constants (12) - Timeout (21)
-
WEBrick
:: HTTPAuth :: Authenticator (12)
キーワード
- === (19)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
-
SO
_ SECURITY _ AUTHENTICATION (24) - [] (12)
-
add
_ authenticator (12) - authenticate (48)
- call (12)
- each (48)
- html (24)
- start (8)
- strptime (24)
- timeout (21)
- userdb (12)
- yield (12)
-
yield
_ self (14) - クラス/メソッドの定義 (12)
- 演算子式 (12)
検索結果
先頭5件
-
Object
# then -> Enumerator (18114.0) -
self を引数としてブロックを評価し、ブロックの結果を返します。
...self を引数としてブロックを評価し、ブロックの結果を返します。
//emlist[例][ruby]{
3.next.then {|x| x**x }.to_s # => "256"
"my string".yield_self {|s| s.upcase } # => "MY STRING"
//}
値をメソッドチェインのパイプラインに次々と渡すの......返します。
例えば条件によって値を捨てるのに使えます。
//emlist[][ruby]{
# 条件にあうので何もしない
1.yield_self.detect(&:odd?) # => 1
# 条件に合わないので値を捨てる
2.yield_self.detect(&:odd?) # => nil
//}
@see Object#tap... -
Object
# then {|x| . . . } -> object (18114.0) -
self を引数としてブロックを評価し、ブロックの結果を返します。
...self を引数としてブロックを評価し、ブロックの結果を返します。
//emlist[例][ruby]{
3.next.then {|x| x**x }.to_s # => "256"
"my string".yield_self {|s| s.upcase } # => "MY STRING"
//}
値をメソッドチェインのパイプラインに次々と渡すの......返します。
例えば条件によって値を捨てるのに使えます。
//emlist[][ruby]{
# 条件にあうので何もしない
1.yield_self.detect(&:odd?) # => 1
# 条件に合わないので値を捨てる
2.yield_self.detect(&:odd?) # => nil
//}
@see Object#tap... -
Net
:: IMAP . add _ authenticator(auth _ type , authenticator) -> () (6212.0) -
Net::IMAP#authenticate で使う 認証用クラスを設定します。
...P#authenticate で使う
認証用クラスを設定します。
imap ライブラリに新たな認証方式を追加するために用います。
通常は使う必要はないでしょう。もしこれを用いて
認証方式を追加する場合は net/imap.rb の
Net::IMAP::LoginAuthentic......ator などを参考にしてください。
@param auth_type 認証の種類(文字列)
@param authenticator 認証クラス(Class オブジェクト)... -
Net
:: IMAP # authenticate(auth _ type , user , password) -> Net :: IMAP :: TaggedResponse (6124.0) -
AUTHENTICATE コマンドを送り、クライアントを認証します。
...AUTHENTICATE コマンドを送り、クライアントを認証します。
auth_type で利用する認証方式を文字列で指定します。
例:
imap.authenticate('LOGIN', user, password)
auth_type としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRA......M-MD5"
* "DIGEST-MD5"
@param auth_type 認証方式を表す文字列
@param user ユーザ名文字列
@param password パスワード文字列
@see Net::IMAP#login... -
Net
:: SMTP # authenticate(user , secret , authtype) -> () (6124.0) -
認証を行います。
...行うためこれを利用する必要はないはずです。
@param user 認証で使うアカウント名
@param secret 認証で使うパスワード
@param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)
@see Net::SMTP.start, Net::SMTP#start, Net::SMTP#auth_plain, Net::S... -
WEBrick
:: HTTPAuth :: BasicAuth # authenticate(request , response) -> bool (6118.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
...す。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合... -
WEBrick
:: HTTPAuth :: DigestAuth # authenticate(request , response) -> true (6118.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
...す。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合... -
Socket
:: Constants :: SO _ SECURITY _ AUTHENTICATION -> Integer (6116.0) -
@todo
...@todo... -
Socket
:: SO _ SECURITY _ AUTHENTICATION -> Integer (6116.0) -
@todo
...@todo... -
Object
# yield _ self -> Enumerator (3014.0) -
self を引数としてブロックを評価し、ブロックの結果を返します。
...self を引数としてブロックを評価し、ブロックの結果を返します。
//emlist[例][ruby]{
3.next.then {|x| x**x }.to_s # => "256"
"my string".yield_self {|s| s.upcase } # => "MY STRING"
//}
値をメソッドチェインのパイプラインに次々と渡すの......返します。
例えば条件によって値を捨てるのに使えます。
//emlist[][ruby]{
# 条件にあうので何もしない
1.yield_self.detect(&:odd?) # => 1
# 条件に合わないので値を捨てる
2.yield_self.detect(&:odd?) # => nil
//}
@see Object#tap...