252件ヒット
[201-252件を表示]
(0.091秒)
別のキーワード
クラス
-
Fiddle
:: Handle (36) -
Net
:: POP3 (36) -
Net
:: SMTP (84) - TracePoint (60)
キーワード
-
close
_ enabled? (12) -
disable
_ close (12) -
disable
_ ssl (24) -
disable
_ starttls (12) -
disable
_ tls (12) - enable (24)
-
enable
_ close (12) -
enable
_ config (24) -
enable
_ ssl (24) -
enable
_ tls (12) - enabled? (12)
-
garbage
_ collect (12) - ssl? (12)
- tls? (12)
-
use
_ ssl? (12)
検索結果
先頭5件
-
TracePoint
# enable { . . . } -> object (6107.0) -
self のトレースを有効にします。
...acePoint#enabled? を返します。(トレースが既に有効であっ
た場合は true を返します。そうでなければ false を返します)
//emlist[例][ruby]{
trace.enabled? # => false
trace.enable # => false (実行前の状態)
# トレースが有効
trace.enabled? # => t......ue
trace.enable # => true (実行前の状態)
# 引き続きトレースが有効
//}
ブロックが与えられた場合、ブロック内でのみトレースが有効になります。
この場合はブロックの評価結果を返します。
//emlist[例][ruby]{
trace.enabled? # =>......false
trace.enable do
trace.enabled? # => true
end
trace.enabled? # => false
//}
[注意] イベントフックのためのメソッドにブロックの外側で参照した場合は
RuntimeError が発生する事に注意してください。
//emlist[例][ruby]{
trace.enable { p trace.li... -
TracePoint
# enabled? -> bool (6107.0) -
self のトレースが有効な場合に true を、そうでない場合に false を返しま す。
...self のトレースが有効な場合に true を、そうでない場合に false を返しま
す。
@see TracePoint#enable, TracePoint#disable... -
Net
:: POP3 # use _ ssl? -> bool (107.0) -
このインスタンスが SSL を使って接続するなら真を返します。
...このインスタンスが SSL を使って接続するなら真を返します。
@see Net::POP3#enable_ssl, Net::POP3#disable_ssl... -
Net
:: SMTP # ssl? -> bool (107.0) -
その Net::SMTP オブジェクトが SMTPS を利用するならば真を返します。
...その Net::SMTP オブジェクトが SMTPS を利用するならば真を返します。
@see Net::SMTP#enable_tls, Net::SMTP#disable_tls, Net::SMTP#start... -
Net
:: SMTP # tls? -> bool (107.0) -
その Net::SMTP オブジェクトが SMTPS を利用するならば真を返します。
...その Net::SMTP オブジェクトが SMTPS を利用するならば真を返します。
@see Net::SMTP#enable_tls, Net::SMTP#disable_tls, Net::SMTP#start...