518件ヒット
[1-100件を表示]
(0.100秒)
ライブラリ
- ビルトイン (199)
-
cgi
/ session (11) - csv (22)
- dbm (22)
- gdbm (22)
- ostruct (11)
- pathname (11)
-
rexml
/ document (44) -
rinda
/ tuplespace (11) -
rubygems
/ dependency _ list (11) - sdbm (22)
- tempfile (11)
-
webrick
/ httpauth / htdigest (11) -
webrick
/ httpauth / htpasswd (11) -
webrick
/ httpserver (11) -
webrick
/ httpservlet / abstract (66) -
win32
/ registry (22)
クラス
- Array (52)
-
CGI
:: Session :: NullStore (11) -
CSV
:: Row (11) -
CSV
:: Table (11) - DBM (22)
- GDBM (22)
-
Gem
:: DependencyList (11) - Hash (122)
- OpenStruct (11)
- Pathname (11)
-
REXML
:: Attributes (22) -
REXML
:: Element (11) -
REXML
:: Parent (11) -
Rinda
:: TupleSpace (11) - SDBM (22)
- String (25)
- Tempfile (11)
-
WEBrick
:: HTTPAuth :: Htdigest (11) -
WEBrick
:: HTTPAuth :: Htpasswd (11) -
WEBrick
:: HTTPServer :: MountTable (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (66) -
Win32
:: Registry (22)
キーワード
-
delete
_ all (11) -
delete
_ attribute (11) -
delete
_ field (11) -
delete
_ if (88) -
delete
_ key (11) -
delete
_ passwd (22) -
delete
_ suffix (7) -
delete
_ suffix! (7) -
delete
_ value (11) -
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) - filter! (12)
-
keep
_ if (33) - notify (11)
- pack (19)
- reject (22)
- reject! (66)
-
remove
_ by _ name (11) - select! (22)
- unlink (22)
- unpack (11)
検索結果
先頭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 を削除します。
(標準) レジストリ値を削除することはできません。 -
WEBrick
:: HTTPAuth :: Htdigest # delete _ passwd(realm , user) (9202.0) -
realm に属するユーザ user のパスワードを削除します。
...realm に属するユーザ user のパスワードを削除します。
@param realm レルムを指定します。
@param user ユーザ名を指定します。...