1045件ヒット
[1-100件を表示]
(0.093秒)
別のキーワード
ライブラリ
- ビルトイン (198)
-
cgi
/ html (231) -
net
/ imap (44) - openssl (55)
-
rdoc
/ context (33) -
rdoc
/ markup (11) -
rdoc
/ top _ level (11) -
rexml
/ document (407) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (11) - uri (11)
-
webrick
/ httprequest (11) - win32ole (11)
クラス
- Module (66)
-
Net
:: IMAP (33) -
Net
:: IMAP :: StatusData (11) -
OpenSSL
:: X509 :: Attribute (33) -
OpenSSL
:: X509 :: Request (22) -
RDoc
:: Context (33) -
RDoc
:: Markup (11) -
RDoc
:: TopLevel (11) -
REXML
:: Attribute (132) -
REXML
:: Attributes (165) -
REXML
:: DocType (22) -
REXML
:: Element (88) - String (33)
-
Thread
:: Backtrace :: Location (11) -
URI
:: LDAP (11) -
WEBrick
:: HTTPRequest (11) -
WIN32OLE
_ TYPE (11)
モジュール
-
CGI
:: HtmlExtension (231) - Enumerable (88)
-
REXML
:: SAX2Listener (11) -
REXML
:: StreamListener (11)
キーワード
- << (11)
- == (11)
- [] (11)
- []= (11)
-
absolute
_ path (11) - add (11)
-
add
_ attribute (44) -
add
_ attributes (11) - attlistdecl (11)
-
attr
_ accessor (11) -
attr
_ reader (11) -
attr
_ writer (11) - attribute (11)
-
attribute
_ manager (11) -
attribute
_ of (11) - attributes (55)
-
attributes
_ of (11) - checkbox (11)
-
checkbox
_ group (11) - clone (11)
-
default
_ event _ sources (11) - delete (11)
-
delete
_ all (11) -
delete
_ attribute (11) - each (11)
-
each
_ attribute (22) -
each
_ element _ with _ attribute (11) - element (11)
- encode (33)
-
file
_ field (11) -
find
_ local _ symbol (11) - form (22)
-
get
_ attribute (11) -
get
_ attribute _ ns (11) -
has
_ attributes? (11) - hidden (11)
- html (22)
- img (11)
- length (11)
- max (44)
- min (44)
-
multipart
_ form (22) - namespace (11)
- namespaces (11)
-
node
_ type (11) - oid (11)
-
password
_ field (11) - prefix (11)
- prefixes (11)
-
radio
_ group (11) - remove (11)
- reset (11)
-
scrolling
_ list (11) - size (11)
-
start
_ element (11) - status (11)
- submit (11)
-
text
_ field (11) - textarea (11)
-
to
_ a (11) -
to
_ der (11) -
to
_ s (11) -
to
_ string (11) -
uid
_ fetch (11) -
uid
_ store (11) - value (22)
- write (11)
- xpath (11)
検索結果
先頭5件
-
Module
# attr(name , true) -> [Symbol] (21316.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true......。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。
@return 定義されたメソッド名を Symbol の配列で返... -
Module
# attr(name , true) -> nil (21304.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...ist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か fal... -
Net
:: IMAP :: StatusData # attr -> { String => Integer } (21302.0) -
STATUS 応答の内容をハッシュで返します。
...STATUS 応答の内容をハッシュで返します。
ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。
詳しくは 2060 の 6.3.10、7.2.4 を見てください。... -
Module
# attr(*name) -> [Symbol] (21216.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true......。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。
@return 定義されたメソッド名を Symbol の配列で返... -
Module
# attr(name , false) -> [Symbol] (21216.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true......。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。
@return 定義されたメソッド名を Symbol の配列で返... -
Module
# attr(*name) -> nil (21204.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...ist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か fal... -
Module
# attr(name , false) -> nil (21204.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...ist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か fal... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (18531.0) -
各属性に対しブロックを呼び出します。
...の属性は REXML::Attribute オブジェクトで渡されます。
//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_ele......ments("/root/a").first
a.attributes.each_attribute do |attr|
p [attr.namespace, attr.name, attr.value]
end
# => ["http://example.org/foo", "att", "1"]
# => ["http://example.org/bar", "att", "2"]
# => ["", "att", "<"]
//}... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (18507.0) -
name という名前の属性を取得します。
...L::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_attribute(......"att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (18507.0) -
namespace と name で特定される属性を返します。
...espace 名前空間(URI, 文字列)
@param name 属性名(文字列)
//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_ele......ot/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_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
OpenSSL
:: X509 :: Request # add _ attribute(attr) -> OpenSSL :: X509 :: Attribute (12608.0) -
新たな attribute を CSR に追加します。
...新たな attribute を CSR に追加します。
@param attr 追加する attribute(OpenSSL::X509::Attribute の
インスタンス)
@return 渡した attribute オブジェクトを返します
@see OpenSSL::X509::Request#attribute,
OpenSSL::X509::Request#attribute=... -
RDoc
:: Context # add _ attribute(an _ attribute) -> () (12523.0) -
引数で指定した RDoc::Attr オブジェクトを追加します。
...引数で指定した RDoc::Attr オブジェクトを追加します。
@param an_attribute RDoc::Attr オブジェクトを指定します。... -
REXML
:: Element # attribute(name , namespace = nil) -> REXML :: Attribute | nil (12507.0) -
name で指定される属性を返します。
...name で指定される属性を返します。
属性は REXML::Attribute オブジェクトの形で返します。
name は "foo:bar" のように prefix を指定することができます。
namespace で名前空間の URI を指定することで、その名前空間内で
name という......のURI(文字列)
//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.attribute("att") # => att='......<'
a.attribute("att", "http://example.org/bar") # => bar:att='2'
a.attribute("bar:att") # => bar:att='2'
a.attribute("baz") # => nil
//}...