275件ヒット
[1-100件を表示]
(0.202秒)
ライブラリ
-
net
/ imap (11) - rake (44)
-
rexml
/ document (220)
クラス
-
Net
:: IMAP (11) -
REXML
:: Attribute (11) -
REXML
:: Attributes (33) -
REXML
:: DocType (11) -
REXML
:: Element (77) -
Rake
:: NameSpace (22)
モジュール
- Kernel (11)
-
REXML
:: Namespace (88) -
Rake
:: TaskManager (11)
キーワード
- [] (11)
-
add
_ namespace (22) - attribute (11)
- capability (11)
-
delete
_ namespace (11) - each (11)
-
get
_ attribute _ ns (11) -
has
_ name? (11) -
in
_ namespace (11) -
local
_ name (11) - name (11)
- name= (11)
- namespaces (33)
- prefix (11)
- prefix= (11)
- tasks (11)
- whitespace (11)
検索結果
先頭5件
-
Kernel
# namespace(name = nil) { . . . } -> Rake :: NameSpace (30821.0) -
新しい名前空間を作成します。
...新しい名前空間を作成します。
与えられたブロックを評価する間は、その名前空間を使用します。
例:
ns = namespace "nested" do
task :run
end
task_run = ns[:run] # find :run in the given namespace.
@see Rake::TaskManager#in_namespace... -
REXML
:: Element # namespace(prefix=nil) -> String (30338.0) -
self の文脈で prefix が指している名前空間の URI を返します。
...は nil を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a xmlns='1' xmlns:y='2'><b/><c xmlns:z='3'/><y:d /></a>")
b = doc.elements['//b']
b.namespace # => "1"
b.namespace("y") # => "2"
b.namespace("z") # => nil
d = doc.elements['//y:d']
d.namespace... -
REXML
:: Attribute # namespace(arg = nil) -> String | nil (30308.0) -
属性の名前空間の URI を返します。
... nil を返します。
@param arg この値を指定すると、その属性の名前空間でなく、arg という名前空間
の URI が返されます。
通常は省略します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("xmlns:n......s", "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"
//}... -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (21514.0) -
与えられた名前の名前空間でブロックを評価します。
...ます。
@param name 名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
namespace :sample do
def hoge
puts "hoge"
end
end
task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hoge"
end
end
//}... -
REXML
:: Namespace # name=(name) (21401.0) -
名前を設定します。
...名前を設定します。
prefix を持つ名前も持たない名前も受け付けます。
@param name 名前(文字列)... -
REXML
:: Namespace # expanded _ name -> String (21223.0) -
REXML::Namespace#name= で設定された名前を返します。
...REXML::Namespace#name= で設定された名前を返します。
name= で指定した名前が prefix を含んでいれば
prefix を含む名前を返し、そうでなければ
prefix を含まない名前を返します。
@see REXML::Namespace#prefix... -
REXML
:: Namespace # has _ name?(other , ns = nil) -> bool (21213.0) -
self が other と ns で指定した名前を持っているならば真を返します。
...self が other と ns で指定した名前を持っているならば真を返します。
ns が nil でない場合は名前空間も比較されます。
other が ":" を含んでいる(つまり prefix を含んでいる)場合は
REXML::Namespace#fully_expanded_name と other を比較しま......す。
どちらでもない場合は other と REXML::Namespace#name を直接
比較します。
@param other 比較する名前(文字列)
@param ns 比較する名前空間(文字列)... -
REXML
:: Namespace # fully _ expanded _ name -> String (21201.0) -
完全修飾名を返します。
完全修飾名を返します。 -
REXML
:: Namespace # local _ name -> String (21201.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Namespace # name -> String (21201.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。