473件ヒット
[1-100件を表示]
(0.116秒)
別のキーワード
ライブラリ
- ビルトイン (232)
- bigdecimal (11)
- ipaddr (25)
-
irb
/ output-method (11) - mathn (3)
-
minitest
/ spec (1) -
minitest
/ unit (7) - mkmf (22)
- pathname (11)
-
rexml
/ document (77) -
rexml
/ sax2listener (22) - rss (11)
-
rubygems
/ package / tar _ header (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
webrick
/ httprequest (11)
クラス
- BigDecimal (11)
- Bignum (60)
- Fixnum (108)
-
Gem
:: Package :: TarHeader (11) - IPAddr (25)
-
IRB
:: OutputMethod (11) -
MiniTest
:: Unit (6) - Module (1)
- Pathname (11)
-
REXML
:: Attribute (11) -
REXML
:: Attributes (11) -
REXML
:: Element (33) -
RSS
:: NSError (11) - Regexp (11)
-
RubyVM
:: InstructionSequence (11) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (35)
- Symbol (10)
-
WEBrick
:: HTTPRequest (11)
モジュール
- Kernel (22)
-
MiniTest
:: Assertions (1) -
REXML
:: Namespace (22) -
REXML
:: SAX2Listener (22)
キーワード
- % (6)
- & (6)
- * (6)
- ** (6)
- + (6)
- - (6)
- -@ (3)
-
/ (9) - < (3)
- << (6)
- <= (3)
- <=> (6)
- == (3)
- > (3)
- >= (3)
- >> (6)
- [] (6)
- ^ (6)
-
_ assertions (1) - abs (6)
-
add
_ namespace (11) -
assertion
_ count (1) - basename (29)
-
bit
_ length (3) -
create
_ makefile (11) -
delete
_ prefix (7) -
delete
_ prefix! (7) -
delete
_ suffix (7) -
delete
_ suffix! (7) - div (6)
- divmod (3)
-
end
_ prefix _ mapping (11) -
end
_ with? (5) - errors (1)
- even? (3)
- failures (1)
- fdiv (3)
-
fixed
_ encoding? (11) - fixup (11)
-
infect
_ with _ assertions (1) - inspect (3)
-
install
_ files (11) - magnitude (6)
- mask (11)
- modulo (6)
- namespace (11)
- odd? (3)
- ppx (11)
- prefix (51)
- prefix= (18)
- prefixes (22)
- remainder (3)
- run (1)
- size (6)
- skips (1)
-
start
_ prefix _ mapping (11) -
start
_ with? (12) - succ (3)
-
test
_ count (1) -
to
_ a (11) -
to
_ f (3) -
to
_ s (3) - zero? (3)
- | (6)
- ~ (6)
検索結果
先頭5件
-
BigDecimal
# fix -> BigDecimal (18102.0) -
self の整数部分を新しい BigDecimal オブジェクトにして返します。
self の整数部分を新しい BigDecimal オブジェクトにして返します。 -
IPAddr
# prefix=(prefixlen) (6201.0) -
プリフィックス長を prefixlen に設定します。
...プリフィックス長を prefixlen に設定します。
@param prefixlen 設定したいプリフィックス長をビット数で指定します。
@raise IPAddr::InvalidPrefixError 引数 prefixlen に整数以外のオブジェクトを指定した場合に発生します。... -
REXML
:: SAX2Listener # end _ prefix _ mapping(prefix) -> () (6201.0) -
名前空間の接頭辞(prefix)の適用範囲が終了したときに 呼び出されるコールバックメソッドです。
...名前空間の接頭辞(prefix)の適用範囲が終了したときに
呼び出されるコールバックメソッドです。
@param prefix 接頭辞の文字列が渡されます... -
REXML
:: SAX2Listener # start _ prefix _ mapping(prefix , uri) -> () (6201.0) -
名前空間の接頭辞(prefix)が導入されたときに呼び出される コールバックメソッドです。
...名前空間の接頭辞(prefix)が導入されたときに呼び出される
コールバックメソッドです。
以下のようなXMLを処理
<a xmlns:foo="http://foo.example.org/">
<foo:b />
</a>
すると
start_prefix_mapping("foo", "http://foo.example.org/")
start_element(nil,......ample.org/"})
:
end_element(nil, "a", "a")
end_prefix_mapping("foo")
の順で呼びだされます。つまり名前空間を導入した要素の start_element の前に
start_prefix_mapping が呼びだされます。
@param prefix 接頭辞の文字列が渡されます
@param uri 接... -
String
# delete _ prefix!(prefix) -> self | nil (6201.0) -
self の先頭から破壊的に prefix を削除します。
...refix を削除します。
@param prefix 先頭から削除する文字列を指定します。
@return 削除した場合は self、変化しなかった場合は nil
//emlist[][ruby]{
"hello".delete_prefix!("hel") # => "lo"
"hello".delete_prefix!("llo") # => nil
//}
@see String#delete_prefix......@see String#delete_suffix!
@see String#start_with?... -
String
# delete _ prefix(prefix) -> String (6201.0) -
文字列の先頭から prefix を削除した文字列のコピーを返します。
...ら prefix を削除した文字列のコピーを返します。
@param prefix 先頭から削除する文字列を指定します。
@return 文字列の先頭から prefix を削除した文字列のコピー
//emlist[][ruby]{
"hello".delete_prefix("hel") # => "lo"
"hello".delete_prefix("llo")......# => "hello"
//}
@see String#delete_prefix!
@see String#delete_suffix
@see String#start_with?... -
String
# delete _ suffix!(suffix) -> self | nil (6201.0) -
self の末尾から破壊的に suffix を削除します。
...尾から破壊的に suffix を削除します。
@param suffix 末尾から削除する文字列を指定します。
@return 削除した場合は self、変化しなかった場合は nil
//emlist[][ruby]{
"hello".delete_suffix!("llo") # => "he"
"hello".delete_suffix!("hel") # => nil
//}
@se......e String#chomp!
@see String#chop!
@see String#delete_prefix!
@see String#delete_suffix
@see String#end_with?... -
String
# delete _ suffix(suffix) -> String (6201.0) -
文字列の末尾から suffix を削除した文字列のコピーを返します。
...ら suffix を削除した文字列のコピーを返します。
@param suffix 末尾から削除する文字列を指定します。
@return 文字列の末尾から suffix を削除した文字列のコピー
//emlist[][ruby]{
"hello".delete_suffix("llo") # => "he"
"hello".delete_suffix("hel")......# => "hello"
//}
@see String#chomp
@see String#chop
@see String#delete_prefix
@see String#delete_suffix!
@see String#end_with?... -
Gem
:: Package :: TarHeader # prefix -> String (6101.0) -
tar のヘッダに含まれる prefix を返します。
...tar のヘッダに含まれる prefix を返します。... -
IPAddr
# prefix -> Integer (6101.0) -
プリフィックス長をビット数で返します。
プリフィックス長をビット数で返します。 -
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 # => []
//}...