モジュール
-
CGI
:: HtmlExtension (24) -
MiniTest
:: Assertions (1)
キーワード
-
auth
_ only (12) - authenticate (12)
- login (24)
-
password
_ field (24) -
ruby2
_ keywords (18)
検索結果
先頭5件
- MiniTest
:: Assertions # pass(message = nil) -> true - CGI
:: HtmlExtension # password _ field(attributes) -> String - CGI
:: HtmlExtension # password _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String - Net
:: POP3 # auth _ only(account , password) -> () - Net
:: FTP # login(user = "anonymous" , passwd = nil , acct = nil) -> ()
-
MiniTest
:: Assertions # pass(message = nil) -> true (21102.0) -
アサーション数をカウントするために使用します。
アサーション数をカウントするために使用します。
@param message 無視されます。 -
CGI
:: HtmlExtension # password _ field(attributes) -> String (9101.0) -
タイプが password である input 要素を生成します。
...タイプが password である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">... -
CGI
:: HtmlExtension # password _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String (9101.0) -
タイプが password である input 要素を生成します。
...イプが password である input 要素を生成します。
@param name name 属性の値を指定します。
@param value 属性の値を指定します。
@param size size 属性の値を指定します。
@param maxlength maxlength 属性の値を指定します。
例:
password_field(......"name")
# <INPUT TYPE="password" NAME="name" SIZE="40">
password_field("name", "value")
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="40">
password_field("password", "value", 80, 200)
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">... -
Net
:: POP3 # auth _ only(account , password) -> () (6201.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...ew('pop.example.com')
pop.auth_only 'YourAccount', 'YourPassword'
@param account アカウント名文字列
@param password パスワード文字列
@raise IOError セッションが既に開始されている場合に発生します
@raise Net::POPAuthenticationError 認証に失敗した、も......うとしたがサーバがAPOPを提供していない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します... -
Net
:: FTP # login(user = "anonymous" , passwd = nil , acct = nil) -> () (201.0) -
ホストへのログイン処理を行ないます。
...処理を行ないます。
このメソッドはホストへの接続後にしか使えません。
user, passwd が省略された場合、ユーザ名
"anonymous", パスワード "anonymous@" となります。
acct を省略しなかった場合には、 ACCT コマンドを
acct で指定......したパラメータで送ります。
@param user ログインに使うユーザ名を指定します。
@param passwd ログインに使うパスワードを指定します。
@param acct ログイン後に送る ACCT コマンドのパラメータを指定します。
@raise Net::FTPTempError... -
Net
:: IMAP # authenticate(auth _ type , user , password) -> Net :: IMAP :: TaggedResponse (201.0) -
AUTHENTICATE コマンドを送り、クライアントを認証します。
...:
imap.authenticate('LOGIN', user, password)
auth_type としては以下がサポートされています。
* "LOGIN"
* "PLAIN"
* "CRAM-MD5"
* "DIGEST-MD5"
@param auth_type 認証方式を表す文字列
@param user ユーザ名文字列
@param password パスワード文字列
@see Ne... -
Net
:: IMAP # login(user , password) -> Net :: IMAP :: TaggedResponse (201.0) -
LOGIN コマンドを送り、平文でパスワードを送りクライアント ユーザを認証します。
...認証成功レスポンスを返り値として返します。
認証失敗時には例外が発生します。
@param user ユーザ名文字列
@param password パスワード文字列
@raise Net::IMAP::NoResponseError 認証に失敗した場合に発生します
@see Net::IMAP#authenticate... -
Module
# ruby2 _ keywords(method _ name , . . . ) -> nil (23.0) -
For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.
...For the given method names, marks the method as passing keywords through
a normal argument splat. This should only be called on methods that
accept an argument splat (`*args`) but not explicit keywords or a
keyword splat. It marks the method such that if the method is called
with keyword argument......ds, keywords will be passed through the method to
other methods.
This should only be used for methods that delegate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.
This method will probably be removed at some point, as it exists only
for backwards co......mpatibility. As it does not exist in Ruby versions
before 2.7, check that the module responds to this method before calling
it. Also, be aware that if this method is removed, the behavior of the
method will change so that it does not pass through keywords.
//emlist[例][ruby]{
module Mod
def foo(... -
Proc
# ruby2 _ keywords -> proc (23.0) -
Marks the proc as passing keywords through a normal argument splat. This should only be called on procs that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the proc such that if the proc is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the proc to other methods.
...Marks the proc as passing keywords through a normal argument splat. This
should only be called on procs that accept an argument splat (`*args`)
but not explicit keywords or a keyword splat. It marks the proc such
that if the proc is called with keyword arguments, the final hash
argument is marked......ords, keywords will
be passed through the proc to other methods.
This should only be used for procs that delegate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.
This method will probably be removed at some point, as it exists only
for backwards comp......atibility. As it does not exist in Ruby versions
before 2.7, check that the proc responds to this method before calling
it. Also, be aware that if this method is removed, the behavior of the
proc will change so that it does not pass through keywords.
//emlist[][ruby]{
module Mod
foo = ->(meth, *a...