271件ヒット
[1-100件を表示]
(0.062秒)
種類
- インスタンスメソッド (121)
- モジュール関数 (66)
- 文書 (62)
- 特異メソッド (22)
ライブラリ
- ビルトイン (22)
- fileutils (77)
-
net
/ imap (44) - openssl (33)
-
rake
/ packagetask (11) -
rubygems
/ dependency _ list (11) -
rubygems
/ source _ index (11)
クラス
- BasicObject (11)
-
Gem
:: DependencyList (11) -
Gem
:: SourceIndex (11) - Module (11)
-
Net
:: IMAP (44) -
OpenSSL
:: SSL :: SSLContext (33) -
Rake
:: PackageTask (11)
モジュール
- FileUtils (77)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
add
_ response _ handler (22) -
cp
_ r (11) - idle (11)
- new (11)
-
remove
_ by _ name (11) -
remove
_ const (11) -
remove
_ response _ handler (11) -
remove
_ spec (11) - rm (11)
-
rm
_ r (11) -
rm
_ rf (11) - rmtree (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
session
_ remove (11) -
session
_ remove _ cb (11) -
set
_ params (11) -
singleton
_ method _ removed (11)
検索結果
先頭5件
-
FileUtils
. # remove(list , options = {}) -> () (18301.0) -
list で指定された対象を消去します。
...は配列で指定します。
@param options :force, :noop, :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby]{
require 'fileutils'
FileUtils.rm('junk.txt')
FileUtils.rm(Dir.glob('*~'))
FileUtils.rm('NotExistFile', force: true) # never raises exception
//}... -
OpenSSL
:: SSL :: SSLContext # session _ remove _ cb -> Proc | nil (15307.0) -
セッションが内部キャッシュから破棄されたときに呼び出される コールバックを返します。
...セッションが内部キャッシュから破棄されたときに呼び出される
コールバックを返します。
設定されていないときは nil を返します。
@see OpenSSL::SSL::SSLContext#session_remove_cb=... -
OpenSSL
:: SSL :: SSLContext # session _ remove(sess) -> bool (15301.0) -
セッションを OpenSSL::SSL::SSLContext 内部のキャッシュ領域から 取り除きます。
...OpenSSL::SSL::SSLContext 内部のキャッシュ領域から
取り除きます。
成功時には真を返します。キャッシュ領域に存在しないセッションを
削除しようとした場合は偽を返します。
@param sess 削除するセッション(OpenSSL::SSL::Session)... -
BasicObject
# singleton _ method _ removed(name) -> object (12322.0) -
特異メソッドが Module#remove_method に より削除された時にインタプリタから呼び出されます。
...特異メソッドが Module#remove_method に
より削除された時にインタプリタから呼び出されます。
通常のメソッドの削除に対するフックには
Module#method_removedを使います。
@param name 削除されたメソッド名が Symbol で渡されます。......singleton_method_removed(name)
puts "singleton method \"#{name}\" was removed"
end
end
obj = Foo.new
def obj.foo
end
class << obj
remove_method :foo
end
#=> singleton method "foo" was removed
//}
@see Module#method_removed,BasicObject#singleton_method_added,BasicObject#singleton_method_... -
Module
# remove _ const(name) -> object (12319.0) -
name で指定した定数を取り除き、その定数に設定されていた値を 返します。
...ールやクラスに定義されていない場合に発生します。
//emlist[例][ruby]{
class Foo
FOO = 1
p remove_const(:FOO) # => 1
p FOO # => uninitialized constant FOO at Foo (NameError)
end
//}
組み込みクラス/モジュールを設定している定数や Kernel.#auto......指定した(まだロードしてない)定数を含めて削除する事ができます。
取り除かれた定数は参照できなくなりますが、消える訳ではないので注意して
使用してください。
@see Module#remove_class_variable, Object#remove_instance_variable... -
Net
:: IMAP # remove _ response _ handler(handler) -> () (12301.0) -
レスポンスハンドラを削除します。
...レスポンスハンドラを削除します。
@param handler 削除するハンドラ
@see Net::IMAP#add_response_handler... -
Gem
:: DependencyList # remove _ by _ name(full _ name) -> Gem :: Specification (6301.0) -
与えられた名前を持つ Gem::Specification を自身から削除します。
...名前を持つ Gem::Specification を自身から削除します。
このメソッドでは削除後の依存関係をチェックしません。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name, Array#delete_if... -
Gem
:: SourceIndex # remove _ spec(full _ name) -> Gem :: Specification (6301.0) -
引数で指定された名前を持つ Gem をインデックスから削除します。
引数で指定された名前を持つ Gem をインデックスから削除します。 -
FileUtils
. options -> Array (6206.0) -
オプション名の配列を返します。
...オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["verbose", "mode", "noop", "parents", "force", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}......オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["noop", "verbose", "force", "mode", "parents", "owner", "group", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}... -
Net
:: IMAP # add _ response _ handler(handler) -> () (6206.0) -
レスポンスハンドラを追加します。
...スハンドラはサーバから応答を受け取るごとに
呼びだされます。ハンドラには
Net::IMAP::TaggedResponse もしくは
Net::IMAP::UntaggedResponse オブジェクトが
渡されます。
主にサーバからの非同期的なイベントを受け取るため
に用い......ンドラはメインのスレッドとは別のスレッドで
呼びだされることに注意してください。
例:
imap.add_response_handler do |resp|
p resp
end
@param handler 追加するハンドラ(Proc や Method オブジェクト)
@see Net::IMAP#remove_response_handler...