1461件ヒット
[1-100件を表示]
(0.092秒)
種類
- インスタンスメソッド (1128)
- 特異メソッド (264)
- 文書 (45)
- ライブラリ (12)
- クラス (12)
ライブラリ
- ビルトイン (336)
-
cgi
/ html (252) - erb (12)
- forwardable (24)
- json (48)
-
net
/ imap (96) - openssl (120)
- psych (12)
-
rdoc
/ context (24) -
rdoc
/ markup (12) -
rexml
/ document (276) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (24) -
rubygems
/ specification (84) - tracer (24)
- uri (12)
-
webrick
/ httprequest (12) - win32ole (24)
クラス
- BasicObject (24)
- ERB (12)
-
Encoding
:: Converter (36) -
Gem
:: Specification (84) -
JSON
:: Parser (24) - Module (72)
-
Net
:: IMAP (84) -
Net
:: IMAP :: FetchData (12) - Object (24)
-
OpenSSL
:: X509 :: Attribute (84) -
OpenSSL
:: X509 :: Request (36) -
RDoc
:: Context (24) -
RDoc
:: Markup (12) -
REXML
:: Attribute (72) -
REXML
:: Attributes (108) -
REXML
:: DocType (12) -
REXML
:: Element (84) - String (36)
-
Thread
:: Backtrace :: Location (48) - Tracer (24)
-
URI
:: LDAP (12) -
WEBrick
:: HTTPRequest (12) -
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12)
モジュール
-
CGI
:: HtmlExtension (252) - Enumerable (96)
- Forwardable (24)
- JSON (12)
-
JSON
:: Generator :: GeneratorMethods :: Object (12) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (24)
キーワード
- ! (12)
- != (12)
- << (12)
- Location (12)
-
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - [] (12)
- []= (12)
-
absolute
_ path (12) - add (12)
-
add
_ attribute (48) -
add
_ attributes (12) -
add
_ element (12) -
array
_ attribute (12) -
array
_ attributes (12) - attlistdecl (12)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - attribute (12)
-
attribute
_ alias _ singular (12) -
attribute
_ defaults (12) -
attribute
_ of (12) - attributes (36)
- attributes= (24)
-
base
_ label (12) - checkbox (12)
-
checkbox
_ group (12) -
create
_ id (12) -
def
_ delegator (12) -
def
_ instance _ delegator (12) -
default
_ event _ sources (12) - delete (12)
-
delete
_ all (12) -
delete
_ attribute (12) -
each
_ element _ with _ attribute (12) - element= (12)
- encode (36)
- fetch (12)
-
file
_ field (12) - form (24)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) - handler= (12)
- hidden (12)
- html (24)
- img (12)
-
initialize
_ copy (12) - inspect (12)
- list (12)
- max (48)
- min (48)
-
multipart
_ form (24) - namespace (12)
- new (132)
- normalized= (12)
- oid (12)
- oid= (12)
- parse (12)
-
password
_ field (12) -
radio
_ group (12) -
required
_ attribute (12) -
required
_ attribute? (12) - reset (12)
-
rexml
/ parsers / streamparser (12) -
ruby 1
. 6 feature (12) -
scrolling
_ list (12) -
set
_ get _ line _ procs (24) -
set
_ visibility _ for (12) -
start
_ element (12) - status (12)
- store (12)
- submit (12)
-
tag
_ start (12) -
text
_ field (12) - textarea (12)
-
to
_ der (12) -
to
_ json (12) -
to
_ s (12) -
uid
_ fetch (12) -
uid
_ store (12) - value (12)
- value= (12)
- write (12)
- xlist (12)
-
yaml
_ tag (12) - クラス/メソッドの定義 (12)
- 演算子式 (12)
検索結果
先頭5件
-
Module
# attr(*name) -> [Symbol] (18139.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...mlist[例][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数......の定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。
@return 定義されたメソッド名を Symbol の配列で返しま... -
Module
# attr(name , false) -> [Symbol] (18139.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...mlist[例][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数......の定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。
@return 定義されたメソッド名を Symbol の配列で返しま... -
Module
# attr(name , true) -> [Symbol] (18139.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...mlist[例][ruby]{
class User
attr :name # => [:name]
# 複数の名前を渡すこともできる
attr :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるアクセスメソッドの定義は次の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数......の定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。
@return 定義されたメソッド名を Symbol の配列で返しま... -
Module
# attr(*name) -> nil (18121.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...す。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に......true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。... -
Module
# attr(name , false) -> nil (18121.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...す。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に......true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。... -
Module
# attr(name , true) -> nil (18121.0) -
インスタンス変数読み取りのためのインスタンスメソッド name を定義します。
...す。
//emlist[例][ruby]{
def name
@name
end
//}
第 2 引数 が true で指定された場合には、属性の書き込み用メソッド name= も同時に定義されます。
その定義は次の通りです。
//emlist[例][ruby]{
def name=(val)
@name = val
end
//}
第 2 引数 に......true か false を指定する方法は非推奨です。
@param name String または Symbol で指定します。... -
Net
:: IMAP :: FetchData # attr -> { String => object } (18107.0) -
各メッセージのアトリビュートの値をハッシュテーブルで返します。
...BODY.PEEK[HEADER] と同じ。文字列。
: RFC822.SIZE
メッセージの 822 サイズ。整数。
: RFC822.TEXT
BODY[TEXT] と同じ。文字列。
: UID
UID。整数。
詳しくは 2060 の FETCH command の節を見てください。
@see Net::IMAP#fetch, Net::IMAP#uid_fetch... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (9212.0) -
name という名前の属性を取得します。
...e という名前の属性を取得します。
name という名前を持つ属性がない場合は nil を返します。
@param name 属性名(文字列)
@see REXML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.or......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("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (9212.0) -
namespace と name で特定される属性を返します。
...えてしまった場合でも、このメソッドを
使うことで属性を正しく指定することができます。
@param namespace 名前空間(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo=......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", "... -
OpenSSL
:: X509 :: Request # add _ attribute(attr) -> OpenSSL :: X509 :: Attribute (6325.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) -> () (6228.0) -
引数で指定した RDoc::Attr オブジェクトを追加します。
...引数で指定した RDoc::Attr オブジェクトを追加します。
@param an_attribute RDoc::Attr オブジェクトを指定します。... -
REXML
:: Element # add _ attribute(attr) -> () (6225.0) -
要素の属性を追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
...す方法と REXML::Attribute オブジェクトを
渡す方法です。
文字列2つで指定する場合、属性値は unnormalized な文字列を渡す必要があります。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param attr 属性(REXML::Attribute オブジェ......list[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<e/>")
doc.root.add_attribute("a", "b"); doc.root # => <e a='b'/>
doc.root.add_attribute("x:a", "c"); doc.root # => <e a='b' x:a='c'/>
doc.root.add_attribute(REXML::Attribute.new("b", "d"))
doc.root # => <e a='b' x:a='c' b='d'/>
//}...