1140件ヒット
[101-200件を表示]
(0.110秒)
別のキーワード
ライブラリ
- ビルトイン (189)
- e2mmap (36)
- getoptlong (24)
- logger (98)
-
minitest
/ unit (21) - mkmf (12)
-
net
/ http (36) -
net
/ imap (322) -
net
/ smtp (120) - optparse (48)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ specification (24) -
rubygems
/ user _ interaction (36) -
shell
/ system-command (12) -
syslog
/ logger (108) - thread (6)
- win32ole (24)
クラス
- Exception (80)
- Fiber (18)
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Specification (24) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - GetoptLong (24)
- KeyError (16)
- Logger (84)
-
Logger
:: Application (2) -
Logger
:: LogDevice (12) -
Net
:: HTTPResponse (36) -
Net
:: IMAP (106) -
Net
:: IMAP :: BodyTypeMessage (192) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: Envelope (12) -
Net
:: SMTP (120) - OptionParser (24)
-
OptionParser
:: ParseError (24) -
RDoc
:: Options (12) -
Shell
:: SystemCommand (12) - SignalException (12)
-
Syslog
:: Logger (96) -
Syslog
:: Logger :: Formatter (12) - SystemCallError (12)
- Thread (12)
-
Thread
:: SizedQueue (36) -
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12)
モジュール
- Exception2MessageMapper (36)
- Kernel (12)
-
MiniTest
:: Assertions (21) - Warning (9)
キーワード
- << (12)
- == (12)
- Fail (6)
- Raise (6)
- add (36)
- append (12)
- assert (1)
-
assert
_ block (1) -
assert
_ empty (1) -
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ match (1) -
assert
_ nil (1) -
assert
_ operator (1) -
assert
_ respond _ to (1) -
assert
_ same (1) -
assert
_ send (1) -
assert
_ throws (1) - bind (6)
- body (12)
- call (12)
- complain (12)
-
content
_ id (12) - copy (12)
- data (24)
- debug (12)
-
def
_ exception (6) -
default
_ event _ sources (12) - deq (12)
- description (12)
- disposition (12)
- encoding (12)
- envelope (12)
- errno (12)
- error (12)
- exception (24)
-
exception
_ details (1) - expunge (12)
- extension (12)
- fail (6)
- fatal (12)
- flunk (1)
- formatter (12)
- formatter= (24)
- greeting (12)
- handler= (12)
- info (12)
- inspect (12)
- key (8)
- language (12)
- lines (12)
- log (26)
- mailfrom (12)
- md5 (12)
-
media
_ subtype (12) -
media
_ type (12) - move (10)
- msg (12)
- multipart? (12)
- notify (12)
-
on
_ tail (12) - param (12)
- parts (12)
- pass (1)
- pop (12)
- raise (30)
- rcptto (12)
-
rcptto
_ list (12) - ready (12)
- receiver (8)
- search (12)
-
send
_ mail (12) - sendmail (12)
- separator (12)
-
set
_ error (12) - shift (12)
- signm (12)
- size (12)
- skip (1)
- sort (12)
- subtype (12)
-
to
_ s (24) -
uid
_ sort (12) -
uid
_ thread (12) - unknown (12)
- updated (36)
- value (12)
- warn (33)
- write (12)
検索結果
先頭5件
- Gem
:: Specification # post _ install _ message -> String - GetoptLong
# error _ message -> String | nil - Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class - Net
:: SMTP # send _ message(mailsrc , from _ addr , *to _ addrs) -> () - Net
:: IMAP :: BodyTypeMessage # body -> Net :: IMAP :: BodyTypeBasic | Net :: IMAP :: BodyTypeMessage | Net :: IMAP :: BodyTypeText | Net :: IMAP :: BodyTypeMultipart
-
Gem
:: Specification # post _ install _ message -> String (6102.0) -
インストール完了後に表示するメッセージを返します。
インストール完了後に表示するメッセージを返します。 -
GetoptLong
# error _ message -> String | nil (6102.0) -
現在のエラーのエラーメッセージを返します。エラーが発生していな ければ、nil を返します。
現在のエラーのエラーメッセージを返します。エラーが発生していな
ければ、nil を返します。 -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (3108.0) -
exception_name という名前の例外クラスを定義します。
...前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定します。... -
Net
:: SMTP # send _ message(mailsrc , from _ addr , *to _ addrs) -> () (3108.0) -
メールを送信します。
...は送信先メールアドレスを文字列で渡します。
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string,
'from@example.com',
'to1@example.net', 'to2@example.net'
}
sendmail は obsolete で... -
Net
:: IMAP :: BodyTypeMessage # body -> Net :: IMAP :: BodyTypeBasic | Net :: IMAP :: BodyTypeMessage | Net :: IMAP :: BodyTypeText | Net :: IMAP :: BodyTypeMultipart (3101.0) -
ボディを返します。
ボディを返します。 -
Exception2MessageMapper
# Fail(exception _ class = nil , *rest) -> () (3019.0) -
登録されている情報を使用して、例外を発生させます。
...値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>......ss, 1, 2, 3
end
end
Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。
Foo.Raise Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)... -
Exception2MessageMapper
# Raise(exception _ class = nil , *rest) -> () (3019.0) -
登録されている情報を使用して、例外を発生させます。
...値。
@raise Exception2MessageMapper::ErrNotRegisteredException 指定された例外クラスに対応するメッセージが存在しない場合に発生します。
例:
class Foo
extend Exception2MessageMapper
p def_exception :NewExceptionClass, "message...%d, %d and %d" # =>......ss, 1, 2, 3
end
end
Foo.new().foo() #=> in `Raise': message...1, 2 and 3 (Foo::NewExceptionClass)
# という例外が発生します。
Foo.Raise Foo::NewExceptionClass, 1, 3, 5 #=> in `Raise': message...1, 3 and 5 (Foo::NewExceptionClass)... -
Net
:: SMTP # ready(from _ addr , *to _ addrs) {|f| . . . . } -> () (3014.0) -
メール書き込みの準備をし、書き込み先のストリームオブジェクトを ブロックに渡します。ブロック終了後、書きこんだ結果が 送られます。
...信先メールアドレスを文字列で渡します。
require 'net/smtp'
Net::SMTP.start('smtp.example.com', 25) {|smtp|
smtp.open_message_stream('from@example.com', 'to@example.net') {|f|
f.puts 'From: from@example.com'
f.puts 'To: to@example.net'
f.puts 'Subject: te......TPエラーコード5xxの場合に発生します
@raise Net::SMTPAuthenticationError 送信に必要な認証を行っていなかった場合に発生します
@raise Net::SMTPUnknownError SMTPエラーコードがプロトコル上不正な場合に発生します
@see Net::SMTP#send_message... -
Exception
# to _ s -> String (3008.0) -
エラーメッセージをあらわす文字列を返します。
...エラーメッセージをあらわす文字列を返します。
//emlist[例][ruby]{
begin
1 + nil
rescue => e
p e.message #=> "nil can't be coerced into Fixnum"
end
//}... -
Net
:: HTTPResponse # msg -> String (3008.0) -
HTTP サーバがリザルトコードに付加して返すメッセージです。 例えば 'Not Found' などです。
...して返すメッセージです。
例えば 'Not Found' などです。
msg は obsolete です。使わないでください。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.message # => "OK"
//}...