511件ヒット
[101-200件を表示]
(0.136秒)
ライブラリ
- ビルトイン (104)
-
irb
/ cmd / help (11) - json (11)
- rake (110)
- resolv (33)
-
rexml
/ document (198) -
rubygems
/ command (11) -
rubygems
/ command _ manager (11) -
rubygems
/ commands / update _ command (11) -
rubygems
/ specification (11)
クラス
- Data (2)
- Encoding (11)
-
Gem
:: Command (11) -
Gem
:: CommandManager (11) -
Gem
:: Commands :: UpdateCommand (11) -
Gem
:: Specification (11) -
IRB
:: ExtendCommand :: Help (11) - MatchData (11)
- Module (69)
-
REXML
:: Attribute (11) -
REXML
:: Attributes (22) -
REXML
:: DocType (11) -
REXML
:: Element (66) -
Rake
:: FileList (11) -
Rake
:: NameSpace (22) -
Rake
:: Task (22) -
Rake
:: TaskArguments (22) - Regexp (11)
- Resolv (11)
-
Resolv
:: DNS (11) -
Resolv
:: Hosts (11)
モジュール
- Kernel (33)
-
REXML
:: Namespace (88) -
Rake
:: TaskManager (11)
キーワード
- JSON (11)
- [] (11)
-
add
_ namespace (22) -
arg
_ names (11) - attribute (11)
-
command
_ names (11) -
deconstruct
_ keys (2) -
delete
_ namespace (11) - execute (11)
-
get
_ all _ gem _ names (11) -
get
_ attribute _ ns (11) - getnames (33)
-
has
_ name? (11) - import (11)
-
in
_ namespace (11) - include (11)
-
local
_ name (11) - name= (11)
- namespace (33)
- namespaces (33)
-
new
_ scope (11) - prefix (11)
- prefix= (11)
- private (16)
-
private
_ class _ method (8) - protected (16)
- public (16)
-
public
_ class _ method (8) -
ruby2
_ keywords (5) -
set
_ arg _ names (11) - tasks (11)
-
which
_ to _ update (11)
検索結果
先頭5件
-
REXML
:: Namespace # name=(name) (12209.0) -
名前を設定します。
...名前を設定します。
prefix を持つ名前も持たない名前も受け付けます。
@param name 名前(文字列)... -
Gem
:: Command # get _ all _ gem _ names -> Array (12202.0) -
コマンドラインで与えられた Gem の名前を全て取得して返します。
コマンドラインで与えられた Gem の名前を全て取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。 -
Gem
:: CommandManager # command _ names -> Array (12202.0) -
登録されているコマンド名の配列を返します。
登録されているコマンド名の配列を返します。 -
Rake
:: Task # arg _ names -> Array (12202.0) -
自身のパラメータ名のリストを返します。
自身のパラメータ名のリストを返します。 -
Rake
:: Task # set _ arg _ names(args) (12202.0) -
自身のパラメータの名前のリストをセットします。
自身のパラメータの名前のリストをセットします。
@param args シンボルのリストを指定します。 -
REXML
:: Attribute # namespace(arg = nil) -> String | nil (12201.0) -
属性の名前空間の URI を返します。
...//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("xmlns:ns", "http://www.example.com/ns")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").prefix # => "ns"
p e.attributes.get_attribute("r").namespace # => "http://www.example.com/ns"
//}... -
REXML
:: Attributes # namespaces -> { String => String } (12201.0) -
self の中で宣言されている名前空間の集合を返します。
...p://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 doc.root.attributes.namespaces
# => {"foo"=>"http://example.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}... -
REXML
:: DocType # namespaces -> nil (12201.0) -
nil を返します。
nil を返します。 -
REXML
:: Element # add _ namespace(prefix , uri) -> self (12201.0) -
名前空間を要素に追加します。
...ォルトの namespace の uri を指定します。
既に同じ prefix が存在する場合はそれが上書きされます。
@param prefix 名前空間の prefix
@param uri 名前空間の uri
//emlist[][ruby]{
require 'rexml/document'
a = REXML::Element.new("a")
a.add_namespace("xmlns:foo"......, "bar" )
a.add_namespace("foo", "bar") # 上と同じ意味
a.add_namespace("twiddle")
a.to_s # => "<a xmlns:foo='bar' xmlns='twiddle'/>"
a.add_namespace("foo", "baz")
a.to_s # => "<a xmlns:foo='baz' xmlns='twiddle'/>"
//}... -
REXML
:: Element # add _ namespace(uri) (12201.0) -
名前空間を要素に追加します。
...ォルトの namespace の uri を指定します。
既に同じ prefix が存在する場合はそれが上書きされます。
@param prefix 名前空間の prefix
@param uri 名前空間の uri
//emlist[][ruby]{
require 'rexml/document'
a = REXML::Element.new("a")
a.add_namespace("xmlns:foo"......, "bar" )
a.add_namespace("foo", "bar") # 上と同じ意味
a.add_namespace("twiddle")
a.to_s # => "<a xmlns:foo='bar' xmlns='twiddle'/>"
a.add_namespace("foo", "baz")
a.to_s # => "<a xmlns:foo='baz' xmlns='twiddle'/>"
//}...