567件ヒット
[1-100件を表示]
(0.099秒)
ライブラリ
- ビルトイン (219)
-
cgi
/ session (12) - csv (24)
- dbm (24)
- gdbm (24)
- ostruct (12)
- pathname (12)
-
rexml
/ document (48) -
rinda
/ tuplespace (12) -
rubygems
/ dependency _ list (12) - sdbm (24)
- tempfile (12)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httpserver (12) -
webrick
/ httpservlet / abstract (72) -
win32
/ registry (24)
クラス
- Array (57)
-
CGI
:: Session :: NullStore (12) -
CSV
:: Row (12) -
CSV
:: Table (12) - DBM (24)
- GDBM (24)
-
Gem
:: DependencyList (12) - Hash (134)
- OpenStruct (12)
- Pathname (12)
-
REXML
:: Attributes (24) -
REXML
:: Element (12) -
REXML
:: Parent (12) -
Rinda
:: TupleSpace (12) - SDBM (24)
- String (28)
- Tempfile (12)
-
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPServer :: MountTable (12) -
WEBrick
:: HTTPServlet :: AbstractServlet (72) -
Win32
:: Registry (24)
キーワード
-
delete
_ all (12) -
delete
_ attribute (12) -
delete
_ field (12) -
delete
_ if (96) -
delete
_ key (12) -
delete
_ passwd (24) -
delete
_ suffix (8) -
delete
_ suffix! (8) -
delete
_ value (12) -
do
_ DELETE (12) -
do
_ GET (12) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (12) -
do
_ PUT (12) - filter! (14)
-
keep
_ if (36) - notify (12)
- pack (21)
- reject (24)
- reject! (72)
-
remove
_ by _ name (12) - select! (24)
- unlink (24)
- unpack (12)
検索結果
先頭5件
-
REXML
:: Attributes # delete(attribute) -> REXML :: Element (21220.0) -
指定した属性を取り除きます。
...tribute で取り除く属性を指定します。
文字列もしくは REXML::Attribute オブジェクトを指定します
self が属する要素(REXML::Element)を返します。
@param attribute 取り除く属性(文字列もしくは REXML::Attribute オブジェクト)
//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
a.attributes.delete("att") # => <a foo:att='1' bar:att='2'/......>
a.attributes.delete("foo:att") # => <a bar:att='2'/>
attr = a.attributes.get_attribute("bar:att")
a.attributes.delete(attr) # => <a/>
//}... -
CGI
:: Session :: NullStore # delete -> () (21102.0) -
セッションを削除します。 このクラスでは何もしません。
セッションを削除します。
このクラスでは何もしません。 -
WEBrick
:: HTTPServer :: MountTable # delete(dir) -> WEBrick :: HTTPServlet :: AbstractServlet (21102.0) -
ディレクトリとサーブレットの対応を削除してサーブレットを返します。
...ディレクトリとサーブレットの対応を削除してサーブレットを返します。
@param dir ディレクトリを指定します。
@return WEBrick::HTTPServlet::AbstractServlet のサブクラスのインタンスを返します。... -
CSV
:: Row # delete(header _ or _ index , minimum _ index = 0) -> [object , object] | nil (18220.0) -
ヘッダの名前かインデックスで行からフィールドを削除するために使用します。
...名前かインデックスを指定します。
@param minimum_index このインデックスより後で、ヘッダの名前を探します。
重複しているヘッダがある場合に便利です。
@return 削除したヘッダとフィールドの組を返します......前で指定][ruby]{
require "csv"
row = CSV::Row.new(["header1", "header2"], ["row1_1", "row1_2"])
row # => #<CSV::Row "header1":"row1_1" "header2":"row1_2">
row.delete("header1")
row # => #<CSV::Row "header2":"row1_2">
//}
//emlist[例 ヘッダの index で指定][ruby]{
require "csv"
row = C......2"], ["row1_1", "row1_2"])
row # => #<CSV::Row "header1":"row1_1" "header2":"row1_2">
row.delete(0)
row # => #<CSV::Row "header2":"row1_2">
//}
//emlist[例 ヘッダの名前と offset で指定][ruby]{
require "csv"
row = CSV::Row.new(["header1", "header2", "header1"], ["row1_1", "row1_2", "row... -
String
# delete _ suffix!(suffix) -> self | nil (12326.0) -
self の末尾から破壊的に suffix を削除します。
...末尾から破壊的に suffix を削除します。
@param suffix 末尾から削除する文字列を指定します。
@return 削除した場合は self、変化しなかった場合は nil
//emlist[][ruby]{
"hello".delete_suffix!("llo") # => "he"
"hello".delete_suffix!("hel") # => nil
//}......@see String#chomp!
@see String#chop!
@see String#delete_prefix!
@see String#delete_suffix
@see String#end_with?... -
String
# delete _ suffix(suffix) -> String (12326.0) -
文字列の末尾から suffix を削除した文字列のコピーを返します。
...から suffix を削除した文字列のコピーを返します。
@param suffix 末尾から削除する文字列を指定します。
@return 文字列の末尾から suffix を削除した文字列のコピー
//emlist[][ruby]{
"hello".delete_suffix("llo") # => "he"
"hello".delete_suffix("he......l") # => "hello"
//}
@see String#chomp
@see String#chop
@see String#delete_prefix
@see String#delete_suffix!
@see String#end_with?... -
REXML
:: Element # delete _ attribute(key) -> REXML :: Attribute | nil (12308.0) -
要素から key という属性名の属性を削除します。
...素(文字列(属性名) or REXML::Attributeオブジェクト)
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("E")
e.add_attribute("x", "foo"); e # => <E x='foo'/>
e.add_attribute("y:x", "bar"); e # => <E x='foo' y:x='bar'/>
e.delete_attribute("x"); e # => <E y:x='bar'/>
//}... -
REXML
:: Attributes # delete _ all(name) -> [REXML :: Attribute] (9208.0) -
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").first
a.attributes.delete_all("att") # => [a... -
Win32
:: Registry # delete _ value(name) (9203.0) -
@todo
@todo
レジストリ値 name を削除します。
(標準) レジストリ値を削除することはできません。