424件ヒット
[1-100件を表示]
(0.083秒)
別のキーワード
ライブラリ
-
irb
/ ext / use-loader (36) -
net
/ http (36) - open-uri (48)
- openssl (36)
- pp (4)
-
rdoc
/ context (48) -
rdoc
/ markup (12) -
rexml
/ document (156) -
rexml
/ streamlistener (12) - uri (24)
-
webrick
/ httputils (12)
クラス
-
IRB
:: Context (36) - Object (4)
-
OpenSSL
:: SSL :: SSLContext (24) -
OpenSSL
:: X509 :: StoreContext (12) -
RDoc
:: Context (48) -
RDoc
:: Markup (12) -
REXML
:: CData (24) -
REXML
:: Element (72) -
REXML
:: Instruction (24) -
REXML
:: Text (36) -
URI
:: MailTo (24) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
Net
:: HTTPHeader (36) -
OpenURI
:: Meta (48) -
REXML
:: StreamListener (12)
キーワード
- [] (12)
-
add
_ require (12) -
add
_ special (12) -
add
_ to (12) - charset (24)
- ciphers (12)
-
client
_ cert _ cb= (12) - content (12)
-
content
_ type (24) -
each
_ element _ with _ text (12) - entitydecl (12)
- error= (12)
-
get
_ text (12) -
has
_ elements? (12) -
initialize
_ methods _ etc (12) -
main
_ type (12) -
next
_ element (12) -
pretty
_ print (4) - requires (12)
-
sub
_ type (12) - target (12)
- text= (12)
-
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (24) -
use
_ loader (12) -
use
_ loader= (12) -
use
_ loader? (12) - value (24)
- value= (12)
検索結果
先頭5件
-
REXML
:: Element # text(path = nil) -> String | nil (18156.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 "
//}... -
RDoc
:: Context # add _ require(a _ require) -> () (9231.0) -
自身が所属する RDoc::TopLevel オブジェクトに引数で指定した RDoc::Require を追加します。
...自身が所属する RDoc::TopLevel オブジェクトに引数で指定した
RDoc::Require を追加します。
@param a_require RDoc::Require オブジェクトを指定します。... -
RDoc
:: Context # requires -> [RDoc :: Require] (9218.0) -
追加された RDoc::Require の配列を返します。
...追加された RDoc::Require の配列を返します。... -
REXML
:: Element # text=(text) (6297.0) -
「先頭の」テキストノードを text で置き換えます。
...ノードを text で置き換えます。
テキストノードを1つ以上保持している場合はそのうち
最初のノードを置き換えます。
要素がテキストノードを保持していない場合は新たなテキストノードが追加されます。
text には文字......ext、nil のいずれかが指定できます。
REXML::Text オブジェクトを指定した場合には、それが設定され、
文字列を指定した場合には
REXML::Text.new(text, whitespace(), nil, raw())
で生成される Text オブジェクトが設定されます。
nil を指定......されます。
@param text 置き換え後のテキスト(文字列、REXML::Text, nil(削除))
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new('<a><b/></a>')
doc.to_s # => "<a><b/></a>"
doc.root.text = "Foo"; doc.to_s # => "<a><b/>Foo</a>"
doc.root.text = "Bar"; doc.to_s # =... -
REXML
:: Element # get _ text(path = nil) -> REXML :: Text | nil (6257.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 "
//}... -
REXML
:: Element # each _ element _ with _ text(text = nil , max = 0 , name = nil) {|element| . . . } -> () (6251.0) -
テキストを子ノードとして 持つすべての子要素を引数としてブロックを呼び出します。
...テキストを子ノードとして
持つすべての子要素を引数としてブロックを呼び出します。
text を指定すると、テキストの内容が text であるもののみを対象とします。
maxを指定すると、対象となる子要素の先頭 max 個のみが対......)。
@param text テキストの中身(文字列)
@param max ブロック呼出の対象とする子要素の最大個数
@param name xpath文字列
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>'
doc.root.each_element_with_text {|e|p e}
#......>> <b> ... </>
# >> <c> ... </>
# >> <d> ... </>
doc.root.each_element_with_text('b'){|e|p e}
# >> <b> ... </>
# >> <c> ... </>
doc.root.each_element_with_text('b', 1){|e|p e}
# >> <b> ... </>
doc.root.each_element_with_text(nil, 0, 'd'){|e|p e}
# >> <d> ... </>
//}... -
URI
:: MailTo # to _ mailtext -> String (6108.0) -
URI オブジェクトからメールテキスト文字列を生成します。
...URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&... -
URI
:: MailTo # to _ rfc822text -> String (6108.0) -
URI オブジェクトからメールテキスト文字列を生成します。
...URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&... -
IRB
:: Context # use _ loader -> bool (3033.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
...load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader=...