1464件ヒット
[1-100件を表示]
(0.076秒)
ライブラリ
- ビルトイン (288)
-
cgi
/ html (252) - forwardable (24)
- json (24)
-
net
/ imap (120) - openssl (96)
-
rdoc
/ context (48) -
rdoc
/ markup (12) -
rdoc
/ top _ level (12) -
rexml
/ document (480) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (24) - uri (24)
-
webrick
/ httprequest (12) - win32ole (24)
クラス
- BasicObject (24)
-
JSON
:: Parser (12) - Module (72)
-
Net
:: IMAP (84) -
Net
:: IMAP :: FetchData (12) -
Net
:: IMAP :: MailboxList (12) -
Net
:: IMAP :: StatusData (12) - Object (12)
-
OpenSSL
:: X509 :: Attribute (60) -
OpenSSL
:: X509 :: Request (36) -
RDoc
:: Context (48) -
RDoc
:: Markup (12) -
RDoc
:: Options (12) -
RDoc
:: TopLevel (12) -
REXML
:: Attribute (168) -
REXML
:: Attributes (180) -
REXML
:: DocType (24) -
REXML
:: Element (108) - String (36)
-
Thread
:: Backtrace :: Location (48) -
URI
:: LDAP (24) -
WEBrick
:: HTTPRequest (12) -
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12)
モジュール
-
CGI
:: HtmlExtension (252) - Enumerable (96)
- Forwardable (24)
-
JSON
:: Generator :: GeneratorMethods :: Object (12) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (24)
キーワード
- ! (12)
- != (12)
- << (12)
- == (12)
- [] (12)
- []= (12)
-
absolute
_ path (12) - add (12)
-
add
_ attribute (48) -
add
_ attributes (12) -
add
_ element (12) - attlistdecl (12)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - attribute (12)
-
attribute
_ manager (12) -
attribute
_ of (12) - attributes (60)
- attributes= (24)
-
attributes
_ of (12) -
base
_ label (12) - checkbox (12)
-
checkbox
_ group (12) - clone (12)
-
def
_ delegator (12) -
def
_ instance _ delegator (12) -
default
_ event _ sources (12) - delete (12)
-
delete
_ all (12) -
delete
_ attribute (12) - each (12)
-
each
_ attribute (24) -
each
_ element _ with _ attribute (12) - element (12)
- element= (12)
- encode (36)
-
extra
_ accessor _ flags (12) - fetch (12)
-
file
_ field (12) -
find
_ local _ symbol (12) - form (24)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) - handler= (12)
-
has
_ attributes? (12) - hidden (12)
- html (24)
- img (12)
-
initialize
_ copy (12) - inspect (12)
- length (12)
- list (12)
- max (48)
- min (48)
-
multipart
_ form (24) - namespace (12)
- namespaces (12)
-
node
_ type (12) - normalized= (12)
- oid (12)
- oid= (12)
- parse (12)
-
password
_ field (12) - prefix (12)
- prefixes (12)
-
radio
_ group (12) - remove (12)
- reset (12)
-
scrolling
_ list (12) -
set
_ visibility _ for (12) - size (12)
-
start
_ element (12) - status (12)
- store (12)
- submit (12)
-
tag
_ start (12) -
text
_ field (12) - textarea (12)
-
to
_ a (12) -
to
_ der (12) -
to
_ json (12) -
to
_ s (24) -
to
_ string (12) -
uid
_ fetch (12) -
uid
_ store (12) - value (24)
- value= (12)
- write (12)
- xlist (12)
- xpath (12)
検索結果
先頭5件
-
Module
# attr(*name) -> [Symbol] (18116.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...取りのためのインスタンスメソッド name を定義します。
//emlist[例][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次... -
Module
# attr(name , false) -> [Symbol] (18116.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...取りのためのインスタンスメソッド name を定義します。
//emlist[例][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次... -
Module
# attr(name , true) -> [Symbol] (18116.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...取りのためのインスタンスメソッド name を定義します。
//emlist[例][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次... -
Module
# attr(*name) -> nil (18104.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name St... -
Module
# attr(name , false) -> nil (18104.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name St... -
Module
# attr(name , true) -> nil (18104.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name St... -
Net
:: IMAP :: FetchData # attr -> { String => object } (18102.0) -
各メッセージのアトリビュートの値をハッシュテーブルで返します。
各メッセージのアトリビュートの値をハッシュテーブルで返します。
キーはアトリビュート名の文字列、値はアトリビュートの値となります。
値のクラスはアトリビュートによって異なります。
利用可能なアトリビュートは以下の通りです。
: BODY
BODYSTRUCTURE の拡張データなしの形式。
Net::IMAP::BodyTypeBasic, Net::IMAP::BodyTypeText,
Net::IMAP::BodyTypeMessage, Net::IMAP::BodyTypeMultipart
のいずれか。
: BODY[<section>]<<... -
Net
:: IMAP :: MailboxList # attr -> [Symbol] (18102.0) -
メールボックスの属性をシンボルの配列で返します。
メールボックスの属性をシンボルの配列で返します。
これで得られるシンボルは String#capitalize でキャピタライズ
されています。
この配列には例えば以下のような値を含んでいます。
詳しくは 2060 7.2.2 などを参照してください。
以下のもの以外で、IMAP 関連 RFC で拡張された値を含んでいる
場合もあります
* :Noselect
* :Noinferiors
* :Marked
* :Unmarked -
Net
:: IMAP :: StatusData # attr -> { String => Integer } (18102.0) -
STATUS 応答の内容をハッシュで返します。
STATUS 応答の内容をハッシュで返します。
ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。
詳しくは 2060 の 6.3.10、7.2.4 を見てください。 -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (9225.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 fo......o:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/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 (9201.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 (9201.0) -
namespace と name で特定される属性を返します。
...oc.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_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "...