502件ヒット
[101-200件を表示]
(0.071秒)
別のキーワード
ライブラリ
- ビルトイン (241)
- bigdecimal (12)
- ipaddr (28)
-
irb
/ output-method (12) - mathn (3)
-
minitest
/ spec (1) -
minitest
/ unit (7) - mkmf (24)
- pathname (12)
-
rexml
/ document (84) -
rexml
/ sax2listener (24) - rss (12)
-
rubygems
/ package / tar _ header (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
webrick
/ httprequest (12)
クラス
- BigDecimal (12)
- Bignum (60)
- Fixnum (108)
-
Gem
:: Package :: TarHeader (12) - IPAddr (28)
-
IRB
:: OutputMethod (12) -
MiniTest
:: Unit (6) - Module (1)
- Pathname (12)
-
REXML
:: Attribute (12) -
REXML
:: Attributes (12) -
REXML
:: Element (36) -
RSS
:: NSError (12) - Regexp (12)
-
RubyVM
:: InstructionSequence (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (40)
- Symbol (12)
-
WEBrick
:: HTTPRequest (12)
モジュール
- Kernel (24)
-
MiniTest
:: Assertions (1) -
REXML
:: Namespace (24) -
REXML
:: SAX2Listener (24)
キーワード
- % (6)
- & (6)
- * (6)
- ** (6)
- + (6)
- - (6)
- -@ (3)
-
/ (9) - < (3)
- << (6)
- <= (3)
- <=> (6)
- == (3)
- > (3)
- >= (3)
- >> (6)
- [] (6)
- ^ (6)
-
_ assertions (1) - abs (6)
-
add
_ namespace (12) -
assertion
_ count (1) - basename (30)
-
bit
_ length (3) -
create
_ makefile (12) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) - div (6)
- divmod (3)
-
end
_ prefix _ mapping (12) -
end
_ with? (6) - errors (1)
- even? (3)
- failures (1)
- fdiv (3)
-
fixed
_ encoding? (12) - fixup (12)
-
infect
_ with _ assertions (1) - inspect (3)
-
install
_ files (12) - magnitude (6)
- mask (12)
- modulo (6)
- namespace (12)
- odd? (3)
- ppx (12)
- prefix (56)
- prefix= (20)
- prefixes (24)
- remainder (3)
- run (1)
- size (6)
- skips (1)
-
start
_ prefix _ mapping (12) -
start
_ with? (14) - succ (3)
-
test
_ count (1) -
to
_ a (12) -
to
_ f (3) -
to
_ s (3) - zero? (3)
- | (6)
- ~ (6)
検索結果
先頭5件
-
REXML
:: Attribute # prefix -> String (6101.0) -
属性の名前空間を返します。
...t.new( "elns:myelement" )
e.add_attribute( "nsa:a", "aval" )
e.add_attribute( "b", "bval" )
p e.attributes.get_attribute( "a" ).prefix # -> "nsa"
p e.attributes.get_attribute( "b" ).prefix # -> "elns"
a = REXML::Attribute.new( "x", "y" )
p a.prefix # -> ""
//}... -
REXML
:: Attributes # prefixes -> [String] (6101.0) -
self の中で宣言されている prefix の集合を 文字列の配列で返します。
...self の中で宣言されている prefix の集合を
文字列の配列で返します。
self が属する要素より上位の要素で定義されているものは含みません。
//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").first
p doc.root.attributes.prefixes # => ["foo", "bar"]
p a.attributes.prefixes # => []
//}... -
REXML
:: Element # prefixes -> [String] (6101.0) -
self の文脈で定義されている prefix を文字列の配列を返します。
...る prefix を文字列の配列を返します。
対象の要素とその外側の要素で定義されている prefix を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a xmlns:x='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")
doc.elements['//b'].prefixes # =>... -
REXML
:: Namespace # prefix -> String (6101.0) -
prefix (前置修飾子) を返します。
...prefix (前置修飾子) を返します。
@see REXML::Namespace#prefix=... -
REXML
:: Namespace # prefix=(value) (6101.0) -
prefix (前置修飾子) を設定します。
...prefix (前置修飾子) を設定します。
@param value prefix文字列
@see REXML::Namespace#prefix... -
RSS
:: NSError # prefix (6101.0) -
@todo
@todo -
Regexp
# fixed _ encoding? -> bool (6101.0) -
正規表現が任意の ASCII 互換エンコーディングとマッチ可能な時に false を返します。
...の ASCII 互換エンコーディングとマッチ可能な時に false を返します。
//emlist[例][ruby]{
# -*- coding:utf-8 -*-
r = /a/
r.fixed_encoding? # => false
r.encoding # => #<Encoding:US-ASCII>
r =~ "\u{6666} a"......# => 2
r =~ "\xa1\xa2 a".force_encoding("euc-jp") # => 2
r =~ "abc".force_encoding("euc-jp") # => 0
r = /a/u
r.fixed_encoding? # => true
r.encoding # => #<Encoding:UTF-8>
r =~ "\u{6666} a"......# => Encoding::CompatibilityError
end
r =~ "abc".force_encoding("euc-jp") # => 0
r = /\u{6666}/
r.fixed_encoding? # => true
r.encoding # => #<Encoding:UTF-8>
r =~ "\u{6666} a"... -
WEBrick
:: HTTPRequest # fixup -> () (6101.0) -
リクエストの残りのエンティティボディを読み込みます。
リクエストの残りのエンティティボディを読み込みます。 -
Fixnum
# %(other) -> Fixnum | Bignum | Float (3101.0) -
算術演算子。剰余を計算します。
算術演算子。剰余を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果 -
Fixnum
# &(other) -> Fixnum | Bignum (3101.0) -
ビット二項演算子。論理積を計算します。
ビット二項演算子。論理積を計算します。
@param other 数値
1 & 1 #=> 1
2 & 3 #=> 2 -
Fixnum
# *(other) -> Fixnum | Bignum | Float (3101.0) -
算術演算子。積を計算します。
算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果