696件ヒット
[1-100件を表示]
(0.097秒)
別のキーワード
ライブラリ
- ビルトイン (84)
-
cgi
/ html (252) - forwardable (24)
- json (12)
-
net
/ imap (60) - openssl (24)
-
rdoc
/ context (12) -
rdoc
/ markup (12) -
rdoc
/ top _ level (12) -
rexml
/ document (168) -
rexml
/ streamlistener (12) - uri (12)
クラス
-
Net
:: IMAP (36) -
Net
:: IMAP :: FetchData (12) -
Net
:: IMAP :: StatusData (12) -
OpenSSL
:: X509 :: Attribute (24) -
RDoc
:: Context (12) -
RDoc
:: Markup (12) -
RDoc
:: Options (12) -
RDoc
:: TopLevel (12) -
REXML
:: Attribute (72) -
REXML
:: Attributes (84) -
REXML
:: DocType (12) - String (36)
-
Thread
:: Backtrace :: Location (48) -
URI
:: LDAP (12)
モジュール
-
CGI
:: HtmlExtension (252) - Forwardable (24)
-
JSON
:: Generator :: GeneratorMethods :: Object (12) -
REXML
:: StreamListener (12)
キーワード
- [] (12)
-
absolute
_ path (12) -
attribute
_ manager (12) -
attribute
_ of (12) - attributes (12)
-
base
_ label (12) - checkbox (12)
-
checkbox
_ group (12) -
def
_ delegator (12) -
def
_ instance _ delegator (12) - encode (36)
-
extra
_ accessor _ flags (12) -
file
_ field (12) -
find
_ local _ symbol (12) - form (24)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) - hidden (12)
- html (24)
- img (12)
- inspect (12)
- length (12)
-
multipart
_ form (24) - namespace (12)
- namespaces (12)
- oid (12)
-
password
_ field (12) - prefix (12)
- prefixes (12)
-
radio
_ group (12) - reset (12)
-
scrolling
_ list (12) -
set
_ visibility _ for (12) - size (12)
- status (12)
- store (12)
- submit (12)
-
tag
_ start (12) -
text
_ field (12) - textarea (12)
-
to
_ der (12) -
to
_ json (12) -
to
_ s (24) -
to
_ string (12) -
uid
_ store (12) - value (12)
- xpath (12)
検索結果
先頭5件
-
Net
:: IMAP :: FetchData # attr -> { String => object } (18202.0) -
各メッセージのアトリビュートの値をハッシュテーブルで返します。
...。
: BODY
BODYSTRUCTURE の拡張データなしの形式。
Net::IMAP::BodyTypeBasic, Net::IMAP::BodyTypeText,
Net::IMAP::BodyTypeMessage, Net::IMAP::BodyTypeMultipart
のいずれか。
: BODY[<section>]<<partial>>
section で指定されたセクションのボディの内......Net::IMAP::BodyTypeMessage, Net::IMAP::BodyTypeMultipart
のいずれか。
: ENVELOPE
メッセージのエンベロープ。
Net::IMAP::Envelope オブジェクト。
: FLAGS
メッセージにセットされたフラグ。
Symbol の配列。String#capitalize でキャピ... -
Net
:: IMAP :: StatusData # attr -> { String => Integer } (18202.0) -
STATUS 応答の内容をハッシュで返します。
...STATUS 応答の内容をハッシュで返します。
ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。
詳しくは 2060 の 6.3.10、7.2.4 を見てください。... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (15301.0) -
name という名前の属性を取得します。
...XML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribut......e("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (15301.0) -
namespace と name で特定される属性を返します。
...g/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribute_ns("", "att") # => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attr......ibute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
RDoc
:: Markup # attribute _ manager -> RDoc :: AttributeManager (12401.0) -
自身の RDoc::AttributeManager オブジェクトを返します。
...自身の RDoc::AttributeManager オブジェクトを返します。... -
REXML
:: Attribute # to _ string -> String (9201.0) -
"name='value'" という形式の文字列を返します。
..."name='value'" という形式の文字列を返します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//}... -
REXML
:: Attributes # length -> Integer (9101.0) -
属性の個数を返します。
...ます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
p a.attributes.length # => 3
//}... -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (6301.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...スト宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていな......くはデフォルト値が宣言されていない、のいずれかの場合は nil を返します。
@param element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT bo......title CDATA #REQUIRED
publisher CDATA "foobar publisher">
]>
EOS
p doctype.attribute_of("book", "publisher") # => "foobar publisher"
p doctype.attribute_of("bar", "foo") # => nil
p doctype.attribute_of("book", "baz") # => nil
p doctype.attribute_of("book", "title") # => nil
//}... -
REXML
:: StreamListener # tag _ start(name , attrs) -> () (6225.0) -
開始タグをパースしたとき に呼び出されるコールバックメソッドです。
...名が文字列で渡されます
@param attrs タグの属性が"属性名" => "属性値"という Hash で渡されます
=== 例
<tag attr1="value1" attr2="value2">
という開始タグに対し、
name: "tag"
attrs: {"attr1" => "value1", "attr2" => "value2"}
という引数が渡され...