2750件ヒット
[1-100件を表示]
(0.198秒)
ライブラリ
- ビルトイン (266)
-
cgi
/ core (22) -
cgi
/ html (22) - coverage (17)
- csv (143)
-
drb
/ extservm (33) - e2mmap (78)
- etc (77)
- getoptlong (11)
-
irb
/ cmd / subirb (11) -
irb
/ help (11) - json (209)
-
json
/ add / struct (11) - logger (80)
-
minitest
/ unit (19) - mkmf (11)
-
net
/ http (22) -
net
/ imap (264) -
net
/ smtp (11) - openssl (11)
- optparse (22)
- rake (99)
-
rake
/ gempackagetask (22) -
rake
/ packagetask (165) -
rdoc
/ markup (22) - rubygems (22)
-
rubygems
/ command (11) -
rubygems
/ command _ manager (33) -
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / which _ command (11) -
rubygems
/ doc _ manager (11) -
rubygems
/ package / tar _ header (220) -
rubygems
/ package / tar _ input (44) -
rubygems
/ package / tar _ output (44) -
rubygems
/ package / tar _ reader (33) -
rubygems
/ package / tar _ reader / entry (88) -
rubygems
/ package / tar _ writer (154) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ specification (22) -
rubygems
/ user _ interaction (33) - shell (6)
-
shell
/ system-command (6) - syslog (44)
-
syslog
/ logger (88) - timeout (8)
-
webrick
/ accesslog (11) -
webrick
/ httprequest (11) - win32ole (22)
クラス
- BasicObject (11)
- CSV (143)
- Coverage (17)
-
DRb
:: ExtServManager (33) - Data (8)
-
Etc
:: Passwd (11) - Exception (62)
- Fiber (10)
-
Gem
:: Command (11) -
Gem
:: CommandManager (33) -
Gem
:: Commands :: BuildCommand (11) -
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: Commands :: WhichCommand (11) -
Gem
:: DocManager (11) -
Gem
:: Package :: TarHeader (220) -
Gem
:: Package :: TarInput (33) -
Gem
:: Package :: TarOutput (44) -
Gem
:: Package :: TarReader (33) -
Gem
:: Package :: TarReader :: Entry (88) -
Gem
:: Package :: TarWriter (88) -
Gem
:: Package :: TarWriter :: BoundedStream (44) -
Gem
:: Package :: TarWriter :: RestrictedStream (22) -
Gem
:: RemoteFetcher :: FetchError (11) -
Gem
:: Specification (22) -
Gem
:: StreamUI :: SilentProgressReporter (11) -
Gem
:: StreamUI :: SimpleProgressReporter (11) -
Gem
:: StreamUI :: VerboseProgressReporter (11) - GetoptLong (11)
-
IRB
:: ExtendCommand :: Jobs (11) -
JSON
:: Parser (22) -
JSON
:: State (33) - Logger (55)
-
Logger
:: Application (3) -
Logger
:: LogDevice (22) - Module (3)
-
Net
:: HTTPResponse (22) -
Net
:: IMAP (11) -
Net
:: IMAP :: BodyTypeBasic (11) -
Net
:: IMAP :: BodyTypeMessage (176) -
Net
:: IMAP :: BodyTypeMultipart (22) -
Net
:: IMAP :: BodyTypeText (11) -
Net
:: IMAP :: Envelope (11) -
Net
:: IMAP :: MailboxQuota (11) -
Net
:: SMTP (11) - NoMethodError (17)
- Object (11)
-
OptionParser
:: ParseError (22) -
RDoc
:: Markup (22) -
RDoc
:: Options (77) -
Rake
:: GemPackageTask (22) -
Rake
:: PackageTask (165) - Shell (6)
-
Shell
:: SystemCommand (6) - Struct (36)
-
Syslog
:: Logger (77) -
Syslog
:: Logger :: Formatter (11) - SystemExit (11)
- Thread (11)
-
WEBrick
:: Cookie (11) -
WEBrick
:: HTTPRequest (11) - WIN32OLE (11)
-
WIN32OLE
_ EVENT (11)
モジュール
-
CGI
:: HtmlExtension (22) -
CGI
:: QueryExtension (22) - Enumerable (44)
- Etc (66)
- Exception2MessageMapper (78)
- GC (11)
- Gem (22)
- IRB (11)
- JSON (99)
-
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) - Kernel (69)
-
MiniTest
:: Assertions (19) - ObjectSpace (11)
-
OpenSSL
:: X509 (11) -
Rake
:: TaskManager (99) - Syslog (44)
- Timeout (8)
-
WEBrick
:: AccessLog (11) - Warning (6)
キーワード
- == (11)
- === (11)
-
AGENT
_ LOG _ FORMAT (11) - BodyTypeMessage (11)
- FIELDS (11)
- Fail (12)
- JSON (11)
-
PACK
_ FORMAT (11) - Raise (12)
- RubyGemsPackageVersion (11)
- RubyGemsVersion (11)
-
SC
_ 2 _ PBS _ MESSAGE (11) -
SC
_ AVPHYS _ PAGES (11) -
SC
_ MESSAGE _ PASSING (11) -
SC
_ PAGESIZE (11) -
SC
_ PAGE _ SIZE (11) -
SC
_ PHYS _ PAGES (11) - TarInput (11)
-
UNPACK
_ FORMAT (11) -
V
_ ERR _ KEYUSAGE _ NO _ CERTSIGN (11) - [] (11)
-
accept
_ language (22) - add (33)
-
add
_ file (22) -
add
_ file _ simple (22) -
add
_ gem _ contents (11) -
add
_ signatures (11) - append (11)
- 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) -
attr
_ writer (3) -
attribute
_ manager (11) - bind (6)
- body (11)
-
bytes
_ read (11) - call (11)
- checksum (11)
- close (22)
- closed? (11)
- codepage (11)
-
col
_ sep (11) - command (11)
-
content
_ id (11) -
coverage
_ report (11) -
coverage
_ report= (11) - crit (11)
- debug (11)
-
def
_ exception (12) - define (15)
-
define
_ task (11) - description (11)
- devmajor (11)
- devminor (11)
- directory? (11)
- disposition (11)
- dump (11)
- encoding (11)
-
enhance
_ with _ matching _ rule (11) - envelope (11)
- error (11)
- exception (22)
-
exception
_ details (1) - execute (11)
-
extend
_ object (6) - extension (11)
- fail (17)
-
fast
_ generate (11) -
fast
_ unparse (11) - fatal (11)
- file? (11)
-
find
_ command _ possibilities (11) -
find
_ paths (11) -
full
_ name (11) -
garbage
_ collect (22) -
gem
_ file (11) -
gem
_ spec (11) - generate (22)
- getc (11)
- gid (11)
- gname (11)
- hash (13)
- homepage (11)
-
image
_ format (11) -
in
_ namespace (11) - info (22)
- instance (33)
- intern (11)
- j (11)
- jj (11)
- language (44)
-
last
_ comment (11) -
last
_ description (11) - limit (11)
-
line
_ stub (6) - lines (11)
- linkname (11)
-
load
_ gemspec (11) - log (24)
- lookup (11)
- magic (11)
-
main
_ page (11) - max (22)
-
max
_ age (11) - md5 (11)
-
media
_ subtype (11) -
media
_ type (11) - min (22)
- mkdir (11)
- mode (11)
- msg (11)
- mtime (11)
- multipart? (11)
- name (22)
-
need
_ zip (11) - new (185)
- notice (11)
- notify (12)
-
object
_ nl (11) - open (55)
-
package
_ dir (11) -
package
_ dir _ path (11) -
package
_ files (11) -
package
_ name (11) -
page
_ dir (11) -
page
_ dir= (11) - param (11)
- parse (33)
- parse! (11)
- parts (11)
- pass (1)
- pos (11)
- prefix (11)
-
pretty
_ generate (11) -
pretty
_ unparse (11) -
print
_ usage (11) - raise (32)
- rdoc (11)
-
rdoc
_ installed? (11) - read (22)
- readlines (11)
-
register
_ command (11) - rewind (22)
-
ruby 1
. 6 feature (11) -
rubygems
/ package / tar _ input (11) - service (11)
-
set
_ log (1) - size (22)
- source (11)
- space (11)
-
space
_ before (11) - start (11)
- subtype (11)
-
synthesize
_ file _ task (11) -
tar
_ bz2 _ file (11) -
tar
_ command (11) -
tar
_ gz _ file (11) -
tgz
_ file (11) - timeout (8)
-
to
_ json (33) -
to
_ s (33) - typeflag (11)
- uid (11)
- uname (11)
- unknown (11)
- unparse (11)
- updated (33)
- uri (11)
- usage (44)
-
user
_ agent (11) - version (22)
- warn (31)
- warning (11)
- with (2)
- write (33)
- written (11)
-
zip
_ command (11) -
zip
_ file (11) -
zipped
_ stream (11) - パターンマッチ (4)
- 制御構造 (11)
検索結果
先頭5件
- Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class - Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class - Rake
:: PackageTask # package _ dir _ path -> String - Etc
:: Passwd # age -> Integer - Gem
:: Package :: TarInput # metadata -> Gem :: Specification
-
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (21600.0) -
exception_name という名前の例外クラスを定義します。
...exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定......します。
省略すると StandardError を使用します。... -
Exception2MessageMapper
. def _ exception(klass , exception _ name , message _ format , superklass = StandardError) -> Class (21600.0) -
exception_name という名前の例外クラスを定義します。
...exception_name という名前の例外クラスを定義します。
@param klass 一階層上となるクラス名を指定します。
@param exception_name 例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマットを指定しま......Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@param superklass 定義する例外クラスのスーパークラスを指定します。
省略すると StandardError を使用します。
@return 定義した例外クラ... -
Rake
:: PackageTask # package _ dir _ path -> String (21406.0) -
パッケージに含むファイルを配置するディレクトリを返します。
...パッケージに含むファイルを配置するディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir_path # => "pkg/sample-1.0.0"
end
//}... -
Etc
:: Passwd # age -> Integer (21401.0) -
エージ(整数)を返します。このメンバはシステム依存です。
エージ(整数)を返します。このメンバはシステム依存です。 -
Gem
:: Package :: TarInput # metadata -> Gem :: Specification (21400.0) -
メタデータを返します。
メタデータを返します。 -
RDoc
:: Markup # attribute _ manager -> RDoc :: AttributeManager (18700.0) -
自身の RDoc::AttributeManager オブジェクトを返します。
...自身の RDoc::AttributeManager オブジェクトを返します。... -
Exception
# exception(error _ message) -> Exception (18600.0) -
引数を指定しない場合は self を返します。引数を指定した場合 自身のコピー を生成し Exception#message 属性を error_message にして返します。
...Exception#message 属性を error_message にして返します。
Kernel.#raise は、実質的に、例外オブジェクトの exception
メソッドの呼び出しです。
@param error_message エラーメッセージを表す文字列を指定します。
//emlist[例][ruby]{
begin
# .........# 何か処理
rescue => e
raise e.exception("an error occurs during hogehoge process") # 詳しいエラーメッセージ
end
//}... -
Exception
. exception(error _ message = nil) -> Exception (18600.0) -
例外オブジェクトを生成して返します。
...sage エラーメッセージを表す文字列を指定します。このメッセージは
属性 Exception#message の値になり、デフォルトの例外ハンドラで表示されます。
//emlist[例][ruby]{
e = Exception.new("some message")
p e # => #<Excepti......on: some message>
p e.message # => "some message"
//}
//emlist[例][ruby]{
e = Exception.exception("some message")
p e # => #<Exception: some message>
p e.message # => "some message"
//}... -
Timeout
. # timeout(sec , exception _ class , message) {|i| . . . } -> object (18586.0) -
ブロックを sec 秒の期限付きで実行します。 ブロックの実行時間が制限を過ぎたときは例外 Timeout::Error が発生します。
...限を過ぎたときは例外
Timeout::Error が発生します。
exception_class を指定した場合には Timeout::Error の代わりに
その例外が発生します。
ブロックパラメータ i は sec がはいります。
また sec が 0 もしくは nil のときは制限時間な......exception_class タイムアウトした時、発生させる例外を指定します.
@param message エラーメッセージを指定します.省略した場合は
"execution expired" になります.
例 長い計算のタイムアウト
require 'timeout'
def calc_pi(min)......のスレッドが割り込めない処理に対して timeout は無力です。
そのようなものは実用レベルでは少ないのですが、
Socket などは DNSの名前解決に時間がかかった場合割り込めません
(resolv-replace を使用する必要があります)。
そ... -
Rake
:: TaskManager # define _ task(task _ class , *args) { . . . } -> Rake :: Task (18512.0) -
タスクを定義します。
...aram task_class タスククラスを指定します。
@param args タスクに渡すパラメータを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.define_task(Rake::Task, :t) # => <Rake::Task t =>... -
CGI
:: HtmlExtension # image _ button(attributes) -> String (18500.0) -
タイプが image の input 要素を生成します。
...タイプが image の input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
image_button({ "SRC" => "url", "ALT" => "string" })
# <INPUT TYPE="image" SRC="url" ALT="string">...