279件ヒット
[1-100件を表示]
(0.029秒)
種類
- インスタンスメソッド (158)
- 特異メソッド (88)
- 文書 (22)
- クラス (11)
ライブラリ
- ビルトイン (22)
-
cgi
/ html (11) -
irb
/ context (11) -
irb
/ ext / math-mode (4) - openssl (121)
-
rdoc
/ context (11) -
rdoc
/ markup / to _ html _ crossref (11) -
rexml
/ document (55) -
webrick
/ httputils (11)
クラス
- IO (22)
-
IRB
:: Context (4) -
OpenSSL
:: PKCS7 (33) -
OpenSSL
:: SSL :: SSLContext (77) -
OpenSSL
:: X509 :: StoreContext (11) -
RDoc
:: Context (11) -
RDoc
:: Markup :: ToHtmlCrossref (11) -
REXML
:: CData (11) -
REXML
:: Element (22) -
REXML
:: XPath (22) -
WEBrick
:: HTTPUtils :: FormData (11)
モジュール
-
CGI
:: HtmlExtension (11)
キーワード
- Context (11)
- [] (11)
-
ca
_ path (11) - cert (11)
- cert= (11)
- chain (11)
-
client
_ ca (11) - each (11)
- encrypt (11)
-
extra
_ chain _ cert (11) -
find
_ enclosing _ module _ named (11) - first (11)
-
get
_ text (11) -
math
_ mode= (4) - new (22)
-
renegotiation
_ cb (11) -
renegotiation
_ cb= (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
text
_ field (11) - verify (11)
- write (22)
-
write
_ smime (11)
検索結果
先頭5件
-
REXML
:: Element # text(path = nil) -> String | nil (18457.0) -
先頭のテキスト子ノードの文字列を返します。
...EXML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。
テキストノードがない場合には nil を返します。
@param path XPath文字列
@see REXML::Element#get_text
//em......list[][ruby]{
require 'rexml/document'
doc = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
# doc.root (<p> ... </p>) は2つのテキストノード("some text " と " more text"
# を持っているが、前者を返す
doc.root.text # => "some text "
//}... -
OpenSSL
:: SSL :: SSLContext # ca _ path -> String | nil (9207.0) -
信頼している CA 証明書ファイルを含むディレクトリを返します。
...信頼している CA 証明書ファイルを含むディレクトリを返します。
設定されていない場合は nil を返します。
@see OpenSSL::SSL::SSLContext#ca_path=... -
OpenSSL
:: SSL :: SSLContext # renegotiation _ cb -> nil | Proc (9201.0) -
ハンドシェイク開始時に呼び出されるコールバックを得ます。
...ハンドシェイク開始時に呼び出されるコールバックを得ます。
@see OpenSSL::SSL::SSLContext#renegotiation_cb=... -
OpenSSL
:: SSL :: SSLContext # renegotiation _ cb=(cb) (9112.0) -
@todo
...できます。
nil を渡すとコールバックは無効になります。
以下の例は再ネゴシエーションを一切禁止します。
num_handshakes = 0
ctx.renegotiation_cb = lambda do |ssl|
num_handshakes += 1
raise RuntimeError.new("Client renegotiation disabled") if......num_handshakes > 1
end
@param cb コールバック(Proc, Method など)もしくは nil
@see OpenSSL::SSL::SSLContext#renegotiation_cb... -
IRB
:: Context # math _ mode=(opt) (9106.0) -
math_mode を有効にするかどうかを指定します。
...math_mode を有効にするかどうかを指定します。
.irbrc ファイル中で IRB.conf[:MATH_MODE] を設定する事でも同様の事が行え
ます。
mathn ライブラリを include するため、math_mode を有効にした後は
無効にする事ができません。
@param o......pt math_mode を有効にする場合に true を指定します。
@raise IRB::CantReturnToNormalMode 既に math_mode の状態で opt に
false か nil を指定した場合に発生します。
@see IRB::Context#math_mode... -
REXML
:: Element # get _ text(path = nil) -> REXML :: Text | nil (6558.0) -
先頭のテキスト子ノードを返します。
...REXML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。
テキストノードがない場合には nil を返します。
@param path XPath文字列
@see REXML::Element#text
//emli......st[][ruby]{
require 'rexml/document'
doc = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
# doc.root (<p> ... </p>) は2つのテキストノード("some text " と " more text"
# を持っているが、前者を返す
doc.root.get_text.value # => "some text "
//}... -
CGI
:: HtmlExtension # text _ field(attributes) -> String (6241.0) -
タイプが text である input 要素を生成します。
...タイプが text である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value">... -
IRB
:: Context (6024.0) -
irb の設定を扱うためのクラスです。
...意してください。
なお、.irbrc 中に記述できる以下の設定値については、IRB::Context
オブジェクトのメソッドとして操作できません。
: IRB.conf[:AT_EXIT]
irb の終了時(サブ irb を含みません)に本項目に設定された Proc オ
ブジ......ェクトを実行します。ブロック引数には何も渡されません。
デフォルト値は [] です。
: IRB.conf[:CONTEXT_MODE]
新しいワークスペースを作成した時(サブ irb の起動や pushws した時)に、
ワークスペースに関連する Binding オブ......oc オブ
ジェクトを実行します。ブロック引数には IRB::Context が渡されます。
そのため、サブ irb の設定をまとめて実行するのに使用します。
デフォルト値は nil です。
lib:irb#configure_sub_irb も併せて参照してください... -
ruby 1
. 6 feature (3378.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...ruby 1.6 feature
ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) ->...... nil
を返すようになりました。(String#[]やString#slice と同じ結果を返すと
いうことです)
p "foo".slice!("bar") # <- 以前からこちらは nil を返していた
p "foo".slice!(5,10)
=> ruby 1.6.7 (2002-03-01) [i586-linux]
nil......のようなスクリプトでTEXT_PLAINが"text/plain; charset=iso-8859-1"
のように書き換えられていました。
((<ruby-dev:14716>))
require 'cgi'
TEXT_PLAIN = "text/plain"
cgi = CGI.new
print cgi.header("type" => TEXT_PLAIN,... -
REXML
:: XPath . first(element , path = nil , namespaces = {} , variables = {}) -> Node | nil (3332.0) -
element の path で指定した XPath 文字列にマッチする最初のノードを 返します。
...element の path で指定した XPath 文字列にマッチする最初のノードを
返します。
path に相対パスを指定した場合は element からの相対位置で
マッチするノードを探します。
絶対パスを指定した場合は element が属する文書のルー......定します。
variable で XPath 内の変数に対応する値を指定できます。
XPathインジェクション攻撃を避けるため、適切な
エスケープを付加するため、に用います。
マッチするノードがない場合には nil を返します。
@param element....../>
b1 = REXML::XPath.first(a, "b")
b1.text # => "b1"
REXML::XPath.first(doc, "/root/a/x:c") # => <x:c/>
REXML::XPath.first(a, "x:c") # => <x:c/>
REXML::XPath.first(a, "y:c") # => nil
REXML::XPath.first(a, "y:c", {"y" => "1"}) # => <x:c/>
b2 = REXML::XPath.first(doc, "/root/a/b[text()=$v]", {}, {"v"...