るりまサーチ

最速Rubyリファレンスマニュアル検索!
105件ヒット [1-100件を表示] (0.187秒)
トップページ > クエリ:-[x] > クエリ:r[x] > クエリ:p[x] > クエリ:PLAIN[x] > クエリ:new[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. bigdecimal to_r
  5. fileutils cp_r

ライブラリ

キーワード

検索結果

<< 1 2 > >>

Psych::Nodes::Scalar::PLAIN -> Integer (27423.0)

plain scalar style を表します。

...plain scalar style を表します。

@see Psych::Nodes::Scalar.new,
P
sych::Nodes::Scalar#style,
P
sych::Handler#scalar...

Psych::Nodes::Scalar.new(value, anchor=nil, tag=nil, plain=true, quoted=false, style=ANY) -> Psych::Nodes:Scalar (24532.0)

Scalar オブジェクトを生成します。

...Scalar オブジェクトを生成します。

value は scalar の値を文字列で指定します。

anchor には scalar に付加されている anchor を文字列で指定します。
anchor を付けない場合には nil を指定します。

tag には scalar に付加されている t...
...す。

plain
plain style であるかどうか、quoted は quoted style であるかどうか
を指定します。style には node の style を整数値で渡します。
style は次の値のいずれかです。
* Psych::Nodes::Scalar::ANY
* Psych::Nodes::Scalar::PLAIN
* Psych::Node...
...s::Scalar::SINGLE_QUOTED
* Psych::Nodes::Scalar::DOUBLE_QUOTED
* Psych::Nodes::Scalar::LITERAL
* Psych::Nodes::Scalar::FOLDED

@param value スカラー値
@param anchor 関連付けられた anchor の名前
@param tag タグ名
@param plain plain style であるかどうか
@param quoted quo...

Psych::Nodes::Scalar#plain -> bool (15329.0)

scalar が plain style であるかどうかを返します。

...scalar plain style であるかどうかを返します。


@see Psych::Nodes::Scalar#plain=,
P
sych::Nodes::Scalar.new...

ruby 1.6 feature (12408.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...ruby 1.6 feature
r
uby version 1.6 は安定版です。この版での変更はバグ修正がメイン
になります。

((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。

== 1.6.8 (2002-12-24) ->...
...
した((<ruby-talk:40337>)), ((<ruby-core:00019>))

: 2002-09-11: Queue#((<Queue/pop>))

Queue#pop に競合状態の問題がありました ((<ruby-dev:17223>))

: 2002-09-11: SizedQueue.new

引数に 0 以下を受けつけるバグが修正されました。

: 2002-09-05: ((<リテ...
...-09-19) [i586-linux]
sub:sub
main:main
sub:sub
main:main

: net/telnet

Net::Telnet が特定のホストへ接続後、動かない事がありました。
((<ruby-list:31303>))

: CGI#header

以下のようなスクリプトでTEXT_PLAINが"text/p...

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

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

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


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく...
...Net::SMTP オブジェクト
を引数としてそのブロックを呼び、ブロック終了時に自動的に接続を閉じます。
ブロックを与えなかった場合には新しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish...
...user password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

Example:

r
equire 'net/smtp'

Net::SMTP.start('smtp.example.com')...
...新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。


以下と同じです。

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

このメソッドにブロックを与...

絞り込み条件を変える

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

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

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


以下と同じです。

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

このメソッドにブロックを与えた場合には、新しく...
...Net::SMTP オブジェクト
を引数としてそのブロックを呼び、ブロック終了時に自動的に接続を閉じます。
ブロックを与えなかった場合には新しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish...
...user password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

Example:

r
equire 'net/smtp'

Net::SMTP.start('smtp.example.com')...
...新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。


以下と同じです。

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

このメソッドにブロックを与...

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 (9624.0)

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

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


以下と同じです。

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

このメソッドにブロックを与...
...Net::SMTP オブジェクト
を引数としてそのブロックを呼び、ブロック終了時に自動的に接続を閉じます。
ブロックを与えなかった場合には新しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish...
...user password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

Example:

r
equire 'net/smtp'

Net::SMTP.start('smtp.example.com')...

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 (9624.0)

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

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


以下と同じです。

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

このメソッドにブロックを与...
...Net::SMTP オブジェクト
を引数としてそのブロックを呼び、ブロック終了時に自動的に接続を閉じます。
ブロックを与えなかった場合には新しく作られた Net::SMTP オブジェクトが
返されます。この場合終了時に Net::SMTP#finish...
...user password の両方が与えられた場合、
SMTP AUTH コマンドによって認証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。

Example:

r
equire 'net/smtp'

Net::SMTP.start('smtp.example.com')...

OpenSSL::PKCS7.write_smime(p7sig, data=nil, flags = 0) -> String (9437.0)

PKCS7 オブジェクトから S/MIME 形式の文字列を返します。

...PKCS7 オブジェクトから S/MIME 形式の文字列を返します。

data には署名対象のデータを渡します。
data に nil を渡すと OpenSSL::PKCS7#data で得られる
文字列を用います。通常は nil を渡してください。

flags には以下の定数の or...
...* OpenSSL::PKCS7::DETACHED
クリア署名をします。これは OpenSSL::PKCS7.sign で
OpenSSL::PKCS7::DETACHED を渡した場合にのみ意味を持ちます。
* OpenSSL::PKCS7::TEXT
MIME ヘッダに text/plain を付加します。
これは OpenSSL::PKCS7.sign...
...
OpenSSL::PKCS7::DETACHED を渡した場合にのみ意味を持ちます。

例:

r
equire 'openssl'

data = "foobar"
p
7 = OpenSSL::PKCS7.sign( OpenSSL::X509::Certificate.new(File.read('cert.pem')),
OpenSSL::PKey::RSA.new(File.read('privkey.pem')),...

CGI#header(options = "text/html") -> String (6408.0)

HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。

...HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。
CGI#out を使わずに自力で HTML を出力したい場合などに使います。
このメソッドは文字列エンコーディングを変換しません。

ヘッダのキ...
...下が利用可能です。

: type
Content-Type ヘッダです。デフォルトは "text/html" です。
: charset
ボディのキャラクタセットを Content-Type ヘッダに追加します。
: nph
真偽値を指定します。真ならば、HTTP のバージョン、ステータス...
...GATEWAY" --> "502 Bad Gateway"
"VARIANT_ALSO_VARIES" --> "506 Variant Also Negotiates"

@param options Hash か文字列で HTTP ヘッダを生成するための情報を指定します。

例:
header
# Content-Type: text/html

header("text/plain")...

絞り込み条件を変える

WEBrick::HTTPUtils::FormData#[](header) -> String | nil (6240.0)

自身が multipart/form-data なデータの場合に、header で指定された ヘッダの値を文字列で返します。無ければ nil を返します。

...身が multipart/form-data なデータの場合に、header で指定された
ヘッダの値を文字列で返します。無ければ nil を返します。

@param header ヘッダ名を文字列で指定します。大文字と小文字を区別しません。

例:

r
equire "webrick/cgi"
c...
...lass MyCGI < WEBrick::CGI
def do_GET(req, res)
p
req.query['q']['content-type'] #=> "plain/text"
end
end
MyCGI.new.start()...
<< 1 2 > >>