るりまサーチ

最速Rubyリファレンスマニュアル検索!
612件ヒット [1-100件を表示] (0.102秒)

別のキーワード

  1. openssl g
  2. openssl g=
  3. dsa g=
  4. dsa g
  5. dh g=

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

URI::LDAP#attributes -> String (18202.0)

自身の Attribute を文字列で返します。

自身の Attribute を文字列で返します。

REXML::Attributes#get_attribute_ns(namespace, name) -> REXML::Attribute | nil (9125.0)

namespace と name で特定される属性を返します。

...e.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

a.attributes.get_attribute_ns("", "att") # => att='&lt;'
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
//}...

REXML::Attributes#get_attribute(name) -> Attribute | nil (9119.0)

name という名前の属性を取得します。

...REXML::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='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

a.attributes.get_attri...
...bute("att") # => att='&lt;'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}...

REXML::Attributes#length -> Integer (9107.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='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

p a.attributes.length # => 3
//}...

CGI::HtmlExtension#scrolling_list(attributes) -> String (6209.0)

select 要素を生成します。

...select 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
popup_menu({"NAME" => "name", "SIZE" => 2, "MULTIPLE" => true,
"VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"] })
# <SELECT NAME="name" MULTIPLE SIZE="2...

絞り込み条件を変える

CGI::HtmlExtension#checkbox_group(attributes) -> String (6208.0)

タイプが checkbox である input 要素のグループを生成します。

...す。

@param attributes 属性をハッシュで指定します。

例:
checkbox_group({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })

checkbox_group({ "NAME" => "name",
"VALUES" => [["foo"], ["bar", true], "baz"] })

checkbox_group({ "NAME" =...

CGI::HtmlExtension#image_button(attributes) -> String (6208.0)

タイプが image の input 要素を生成します。

...タイプが image の input 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string">...

CGI::HtmlExtension#img(attributes) -> String (6208.0)

img 要素を生成します。

...img 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
img({ "SRC" => "src", "ALT" => "alt", "WIDTH" => 100, "HEIGHT" => 50 })
# <IMG SRC="src" ALT="alt" WIDTH="100" HEIGHT="50">...

CGI::HtmlExtension#radio_group(attributes) -> String (6208.0)

タイプが radio である input 要素のリストを生成します。

...きます。

@param attributes 属性をハッシュで指定します。

例:
radio_group({ "NAME" => "name",
"VALUES" => ["foo", "bar", "baz"] })

radio_group({ "NAME" => "name",
"VALUES" => [["foo"], ["bar", true], "baz"] })

radio_group({ "NAME" => "na...
<< 1 2 3 ... > >>