62件ヒット
[1-62件を表示]
(0.114秒)
種類
- インスタンスメソッド (56)
- 特異メソッド (6)
ライブラリ
-
minitest
/ spec (1) - mkmf (11)
-
rexml
/ document (33) - rss (11)
-
shell
/ command-processor (6)
クラス
- Module (1)
-
REXML
:: Attribute (11) -
REXML
:: Attributes (11) -
RSS
:: NSError (11) -
Shell
:: CommandProcessor (6)
モジュール
- Kernel (11)
-
REXML
:: Namespace (11)
キーワード
-
get
_ attribute _ ns (11) -
has
_ name? (11) -
infect
_ with _ assertions (1) -
install
_ files (11) -
install
_ system _ commands (6) - namespace (11)
検索結果
先頭5件
- RSS
:: NSError # prefix - REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil - Module
# infect _ with _ assertions(positive _ prefix , negative _ prefix , skip _ regexp , map = {}) -> () - Shell
:: CommandProcessor . install _ system _ commands(prefix = "sys _ ") -> () - Kernel
# install _ files(mfile , ifiles , map = nil , srcprefix = nil) -> []
-
RSS
:: NSError # prefix (27201.0) -
@todo
@todo -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (15337.0) -
namespace と name で特定される属性を返します。
...る属性を返します。
namespace で名前空間を、 name で prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合でも、このメソッドを
使......URI, 文字列)
@param name 属性名(文字列)
//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").fir......st
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", "attt") # => nil
//}... -
Module
# infect _ with _ assertions(positive _ prefix , negative _ prefix , skip _ regexp , map = {}) -> () (12414.0) -
BDD 風にテストを書くために使用するメソッド群を定義します。
...使用するメソッド群を定義します。
@param positive_prefix assert の代わりのプレフィックスを指定します。
@param negative_prefix refute の代わりのプレフィックスを指定します。
@param skip_regexp この正規表現にマッチしたメソッドは... -
Shell
:: CommandProcessor . install _ system _ commands(prefix = "sys _ ") -> () (12307.0) -
全てのシステムコマンドをメソッドとして定義します。
...うプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。
@param prefix プレフィクスを指定します。... -
Kernel
# install _ files(mfile , ifiles , map = nil , srcprefix = nil) -> [] (12300.0) -
このメソッドは create_makefile, install_rb が使用します。 内部用のメソッドです。
...ドは create_makefile, install_rb が使用します。
内部用のメソッドです。
@param mfile Makefile を表す File のインスタンスです。
@param ifiles インストールするファイルのリストを指定します。
@param map ???
@param srcprefix ソースディレク... -
REXML
:: Attribute # namespace(arg = nil) -> String | nil (3236.0) -
属性の名前空間の URI を返します。
...の URI を返します。
URI が定義されていない場合は nil を返します。
@param arg この値を指定すると、その属性の名前空間でなく、arg という名前空間
の URI が返されます。
通常は省略します。
//emlist[][ruby]{
require 'r......exml/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
:: Namespace # has _ name?(other , ns = nil) -> bool (235.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 比較する名前空間(文字列)...