種類
- インスタンスメソッド (313)
- 特異メソッド (154)
- ライブラリ (11)
- クラス (11)
ライブラリ
- ビルトイン (5)
-
cgi
/ core (22) -
irb
/ context (11) -
net
/ http (11) - openssl (99)
- prettyprint (33)
-
rdoc
/ context (22) -
rdoc
/ markup (11) -
rdoc
/ text (11) -
rexml
/ document (198) -
rexml
/ streamlistener (11) -
webrick
/ httputils (11) - win32ole (33)
クラス
- CGI (22)
-
Enumerator
:: Yielder (5) -
IRB
:: Context (11) -
OpenSSL
:: PKCS7 (11) -
OpenSSL
:: SSL :: SSLContext (66) -
OpenSSL
:: X509 :: StoreContext (22) - PrettyPrint (33)
-
RDoc
:: Context (11) -
RDoc
:: Context :: Section (11) -
RDoc
:: Markup (11) -
REXML
:: CData (33) -
REXML
:: Document (11) -
REXML
:: Element (66) -
REXML
:: Instruction (22) -
REXML
:: Text (33) -
REXML
:: XPath (22) -
WEBrick
:: HTTPUtils :: FormData (11) - WIN32OLE (11)
-
WIN32OLE
_ METHOD (11) -
WIN32OLE
_ TYPE (11)
モジュール
-
Net
:: HTTPHeader (11) -
RDoc
:: Text (11) -
REXML
:: StreamListener (11)
キーワード
- Instruction (11)
- [] (11)
-
add
_ special (11) - ciphers (11)
-
client
_ cert _ cb= (11) - content (11)
-
content
_ type (11) - context (11)
- each (11)
-
each
_ element _ with _ text (11) - entitydecl (11)
- first (11)
-
get
_ text (11) - header (11)
- helpcontext (22)
-
next
_ element (11) -
ole
_ show _ help (11) -
ongoing
_ visibility= (11) - out (11)
-
renegotiation
_ cb= (11) -
rexml
/ parsers / ultralightparser (11) -
session
_ new _ cb (11) -
session
_ new _ cb= (11) -
singleline
_ format (11) -
ssl
_ version= (11) -
strip
_ newlines (11) - target (11)
-
to
_ proc (5) -
to
_ s (22) - value (22)
- verify (11)
-
write
_ smime (11)
検索結果
先頭5件
- REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) - IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context - OpenSSL
:: X509 :: StoreContext . new(store , cert , chain=nil) -> OpenSSL :: X509 :: StoreContext - RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section - PrettyPrint
. new(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n") {|width| . . . } -> PrettyPrint
-
REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) (24604.0) -
テキストノードオブジェクトを生成します。
...使われます。
REXML::Text オブジェクトの場合はその内容が複製されます。
respect_whitespace に真を指定すると、arg に含まれる空白文字は保存されます。
偽の場合は空白はまとめられます。
raw は true, false, nil のいずれかを指定......いXMLマークアップは
含まれていないと仮定し、テキストの内容は変更されません。
falseの場合、そのノードは raw モードであると解釈され、
rexml はテキストに含まれているすべての(定義済み)実体を
エスケープします
nilの......tity_filter 置換したい実体の名前の配列
@param illegal ライブラリ内部用
@raise RuntimeError テキストがXMLのテキストとして不正な
文字を含んでいる場合に発生します。
//emlist[doctype なしの場合][ruby]{
p REXML::Text.new("<&", false, nil,... -
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (24601.0) -
自身を初期化します。
...を初期化します。
@param irb IRB::Irb オブジェクトを指定します。
@param workspace IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの......オブジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
を指定します。省略した場合は
IRB::StdioOutputMethod オブジェクトが新しく... -
OpenSSL
:: X509 :: StoreContext . new(store , cert , chain=nil) -> OpenSSL :: X509 :: StoreContext (24401.0) -
証明書ストアコンテキストを生成します。
...証明書を含む OpenSSL::X509::Store
オブジェクトを渡します。 cert は検証対象の証明書、chain は
中間 CA 証明書チェインを証明書の配列で渡します。
@param store ルート CA 群を持っている証明書ストア
(OpenSSL::X509::Store オブジ......ェクト)
@param cert 検証対象となる証明書(OpenSSL::X509::Certificate オブジェクト)
@param chain 検証に利用する証明書チェイン
(OpenSSL::X509::Certificate オブジェクトの配列)
@raise OpenSSL::X509::StoreError コンテキストの生成に失敗した場... -
RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section (24401.0) -
自身を初期化します。
...初期化します。
@param parent RDoc::Context オブジェクトを指定します。
@param title section のタイトルを文字列で指定します。
@param comment section のコメントを文字列で指定します。
また、section のシーケンス番号を新しく作成し... -
PrettyPrint
. new(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n") {|width| . . . } -> PrettyPrint (21550.0) -
pretty printing のためのバッファを生成します。 output は出力先です。output は << メソッドを持っていなければなりません。 << メソッドには * PrettyPrint#text の第1引数 obj * PrettyPrint#breakable の第1引数 sep * PrettyPrint.new の第3引数 newline * PrettyPrint.new に与えたブロックを評価した結果 のどれかひとつが引数として与えられます。
...printing のためのバッファを生成します。
output は出力先です。output は << メソッドを持っていなければなりません。
<< メソッドには
* PrettyPrint#text の第1引数 obj
* PrettyPrint#breakable の第1引数 sep
* PrettyPrint.new の第3引数 newline......* PrettyPrint.new に与えたブロックを評価した結果
のどれかひとつが引数として与えられます。
ブロックが指定された場合は、空白を生成するために使われます。ブロックは、生成したい空白の幅を表す整数を引数として呼......指定されない場合は、空白を生成するために {|width| ' ' * width} が使われます。
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 行の最大幅を指定します。ただし、改行でき... -
PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (21506.0) -
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 PrettyPrint.format に似ていますが、改行しません。
...ettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
PrettyPrint.format に似ていますが、改行しません。
引数 maxwidth, newline と genspace は無視されます。ブロック中の breakable の実行は、
改行せずに text の......実行であるかのように扱います。
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 無視されます。
@param newline 無視されます。
@param genspace 無視されます。... -
REXML
:: CData . new(text , respect _ whitespace = true , parent = nil) -> REXML :: CData (21460.0) -
text をテキストとして持つ CData オブジェクトを生成します。
...text をテキストとして持つ CData オブジェクトを生成します。
respect_whitespace に真を指定すると、text に含まれる空白文字は保存されます。
偽の場合は空白はまとめられます。
@param text テキスト文字列
@param respect_whitespace 空......ノード
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root />
EOS
doc.root.add(REXML::CData.new("foo bar baz "))
doc.to_s # => "<root><![CDATA[foo bar baz ]]></root>\n"
doc = REXML::Document.new(<<EOS)
<root />
EOS
doc.root.add(REXML::CData.new("foo bar baz ",......true))
doc.root.add(REXML::CData.new("foo bar baz ", false))
doc.to_s # => "<root><![CDATA[foo bar baz ]]><![CDATA[foo bar baz ]]></root>\n"
//}... -
REXML
:: Element # text(path = nil) -> String | nil (21455.0) -
先頭のテキスト子ノードの文字列を返します。
...ML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。
テキストノードがない場合には nil を返します。
@param path XPath文字列
@see REXML::Element#get_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.text # => "some text "
//}... -
PrettyPrint
. new(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n") -> PrettyPrint (21450.0) -
pretty printing のためのバッファを生成します。 output は出力先です。output は << メソッドを持っていなければなりません。 << メソッドには * PrettyPrint#text の第1引数 obj * PrettyPrint#breakable の第1引数 sep * PrettyPrint.new の第3引数 newline * PrettyPrint.new に与えたブロックを評価した結果 のどれかひとつが引数として与えられます。
...printing のためのバッファを生成します。
output は出力先です。output は << メソッドを持っていなければなりません。
<< メソッドには
* PrettyPrint#text の第1引数 obj
* PrettyPrint#breakable の第1引数 sep
* PrettyPrint.new の第3引数 newline......* PrettyPrint.new に与えたブロックを評価した結果
のどれかひとつが引数として与えられます。
ブロックが指定された場合は、空白を生成するために使われます。ブロックは、生成したい空白の幅を表す整数を引数として呼......指定されない場合は、空白を生成するために {|width| ' ' * width} が使われます。
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 行の最大幅を指定します。ただし、改行でき... -
REXML
:: Element . new(arg = UNDEFINED , parent = nil , context = nil) -> REXML :: Element (21437.0) -
要素オブジェクトを生成します。
...XML::Element オブジェクトの場合は、
新たな要素の名前、属性、context が arg のもので初期化されます。
parent で親ノードを指定します。
context には hash table で要素のコンテキストを指定します。
基本的には text node (REXML::Text)......す。
以下の Symbol をハッシュのキーとして使います。
: :respect_whitespace
空白を考慮して欲しい要素の名前の集合を文字列の配列で指定します。
また、すべての要素で空白を考慮して欲しい場合には
:all を指定します。......一切変換されません。
REXML::Element#raw も参照してください。
@param arg 要素の名前(String)もしくは初期化に使う REXML::Element
オブジェクト
@param parent 親ノード
@param context コンテキスト(Hash)
@see REXML::Parent.new, REXML::Child.new...