るりまサーチ

最速Rubyリファレンスマニュアル検索!
156件ヒット [1-100件を表示] (0.027秒)

別のキーワード

  1. http proxy_pass
  2. net/http proxy_pass
  3. thread pass
  4. _builtin pass
  5. http proxy_pass=

ライブラリ

クラス

モジュール

検索結果

<< 1 2 > >>

Etc::Passwd#name -> String (21101.0)

このユーザのログイン名を返します。

このユーザのログイン名を返します。

Etc::Passwd#name=(name) (9202.0)

このユーザのログイン名を設定します。

このユーザのログイン名を設定します。

CGI::HtmlExtension#password_field(name = "", value = nil, size = 40, maxlength = nil) -> String (6265.0)

タイプが password である input 要素を生成します。

... password である input 要素を生成します。

@param name name 属性の値を指定します。

@param value 属性の値を指定します。

@param size size 属性の値を指定します。

@param maxlength maxlength 属性の値を指定します。

例:
pass
word_field("name")...
...# <INPUT TYPE="password" NAME="name" SIZE="40">

pass
word_field("name", "value")
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="40">

pass
word_field("password", "value", 80, 200)
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">...

CGI::HtmlExtension#password_field(attributes) -> String (6135.0)

タイプが password である input 要素を生成します。

...タイプが password である input 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
pass
word_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">...

Etc::Passwd (6006.0)

Etc.#getpwent で得られる構造体。

...の構造体の値を変更してもシステムには反映されません。

全てのシステムで提供されているメンバ。
* name
* passwd
* uid
* gid
* gecos
* dir
* shell

以降のメンバはシステムによっては提供されません。
* change
* quota
*...

絞り込み条件を変える

Etc::SC_MESSAGE_PASSING -> Integer (3105.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

OpenSSL::PKCS12.create(pass, name, pkey, cert, ca=nil, key_nid=nil, cert_nid=nil, key_iter=nil, mac_iter=nil, keytype=nil) -> OpenSSL::PKCS12 (226.0)

PKCS#12 オブジェクトを生成します。

...PKCS#12 オブジェクトを生成します。

pass
はデータを暗号化するためのパスフレーズです。
name
は利用者の利便性のためにオブジェクトに与える名前です。
pkey は秘密鍵、certは証明書、caはCA証明書の配列です。
ca に nil を渡...
...の互換性のためです。
互換性が問題でなければ 2048(PKCS12_DEFAULT_ITER)を用いてください。


@param pass パスフレーズ文字列
@param name 名前文字列
@param pkey 秘密鍵(OpenSSL::PKey::PKey のサブクラスのオブジェクト)
@param cert 証明書(OpenSSL...

Etc.#getpwnam(name) -> Etc::Passwd (223.0)

passwd データベースを検索し、 名前が name である passwd エントリを返します。

...
pass
wd データベースを検索し、
名前が name である passwd エントリを返します。

@param name 検索するユーザ名。

@raise ArgumentError エントリが見つからなかった場合に発生します。

@see getpwnam(3), Etc::Passwd...

Net::SMTP.start(address, port = Net::SMTP.default_port, tls_verify: true, tls_hostname: nil, helo: &#39;localhost&#39;, user: nil, password: nil, authtype: DEFAULT_AUTH_TYPE) -> Net::SMTP (200.0)

新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。

...ッションを開始します。


以下と同じです。

require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)

このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
...
...MTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

user と password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで...
...am tls_verify サーバー証明書を検証するか否か
@param tls_hostname サーバー証明書のホスト名
@param helo HELO で名乗るドメイン名です
@param user 認証で使うアカウント名
@param password 認証で使うパスワード
@param authtype 認証の種類(:plain,...

Net::SMTP.start(address, port = Net::SMTP.default_port, tls_verify: true, tls_hostname: nil, helo: &#39;localhost&#39;, user: nil, password: nil, authtype: DEFAULT_AUTH_TYPE) {|smtp| ... } -> object (200.0)

新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。

...ッションを開始します。


以下と同じです。

require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)

このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
...
...MTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish を呼ぶのは利用者の責任と
なります。

user と password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで...
...am tls_verify サーバー証明書を検証するか否か
@param tls_hostname サーバー証明書のホスト名
@param helo HELO で名乗るドメイン名です
@param user 認証で使うアカウント名
@param password 認証で使うパスワード
@param authtype 認証の種類(:plain,...

絞り込み条件を変える

Net::Telnet#login(opts, password=nil) -> String (124.0)

指定したユーザ名とパスワードでログインします。

...ログインします。

opts が文字列である場合は、 それをユーザ名、passwordをパスワードと
してログインします。
opts がハッシュである場合には、"Name" と "Password" をキーとする文字列を
ユーザ名、パスワードとしてログイン...
...できます。

"LoginPrompt" ログインプロンプトを正規表現で指定します。
デフォルト値は /[Ll]ogin[: ]*\z/n です。

"PasswordPrompt" パスワード入力プロンプトを正規表現で指定します。
デフォルト値は /[Pp]ass(?:word|phrase)[: ]*\z/n です...
...た場合、ホストからの文字列を引数にブロックを逐次実行します。


# 1つめの引数が文字列の場合
telnet.login("your name", "your password")
# 1つめの引数がハッシュの場合
telnet.login("Name" => "your name", "Password" => "your password")...

Net::Telnet#login(opts, password=nil) {|mesg| ...} -> String (124.0)

指定したユーザ名とパスワードでログインします。

...ログインします。

opts が文字列である場合は、 それをユーザ名、passwordをパスワードと
してログインします。
opts がハッシュである場合には、"Name" と "Password" をキーとする文字列を
ユーザ名、パスワードとしてログイン...
...できます。

"LoginPrompt" ログインプロンプトを正規表現で指定します。
デフォルト値は /[Ll]ogin[: ]*\z/n です。

"PasswordPrompt" パスワード入力プロンプトを正規表現で指定します。
デフォルト値は /[Pp]ass(?:word|phrase)[: ]*\z/n です...
...た場合、ホストからの文字列を引数にブロックを逐次実行します。


# 1つめの引数が文字列の場合
telnet.login("your name", "your password")
# 1つめの引数がハッシュの場合
telnet.login("Name" => "your name", "Password" => "your password")...

Module#ruby2_keywords(method_name, ...) -> nil (107.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...
...at 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.

This should only be used for methods that delegate keywords to another
method, and only for backwards comp...
...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(meth, *args, &block)
send(:"do_#{meth}", *args, &block)
end
ruby2_keywords(:f...
<< 1 2 > >>