736件ヒット
[201-300件を表示]
(0.086秒)
ライブラリ
- ビルトイン (48)
-
cgi
/ core (12) -
cgi
/ session (48) -
cgi
/ session / pstore (12) - csv (72)
- date (160)
-
json
/ add / date (12) -
json
/ add / date _ time (12) -
net
/ imap (24) - rss (144)
-
rubygems
/ commands / update _ command (12) -
rubygems
/ config _ file (24) -
rubygems
/ specification (36) -
webrick
/ httpresponse (72)
クラス
- Array (12)
- CGI (12)
-
CGI
:: Session (12) -
CGI
:: Session :: FileStore (12) -
CGI
:: Session :: MemoryStore (12) -
CGI
:: Session :: NullStore (12) -
CGI
:: Session :: PStore (12) - CSV (60)
- Date (110)
- DateTime (74)
- Exception (24)
-
Gem
:: Commands :: UpdateCommand (12) -
Gem
:: ConfigFile (24) -
Gem
:: Specification (36) - Module (12)
-
Net
:: IMAP (12) -
Net
:: IMAP :: ContentDisposition (12) -
RDoc
:: Options (12) -
RSS
:: ImageFaviconModel :: ImageFavicon (24) -
RSS
:: RDF :: Channel :: ImageFavicon (24) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) - Time (12)
-
WEBrick
:: HTTPResponse (72)
モジュール
キーワード
- - (12)
- == (12)
- [] (12)
-
add
_ update _ sources _ option (12) - ajd (12)
- amjd (12)
- append (12)
- autoload? (12)
-
backtrace
_ locations (12) - body= (12)
- chunked= (12)
-
content
_ length (12) -
content
_ length= (12) - convert (36)
- converters (12)
- date= (48)
-
deconstruct
_ keys (4) -
do
_ rubygems _ update (12) -
force
_ update (12) - header (12)
-
install
_ update _ defaults _ str (12) - mon (12)
- monday? (12)
- month (12)
-
next
_ month (12) - offset (12)
- param (12)
-
prev
_ month (12) -
sec
_ fraction (12) - second (12)
-
second
_ fraction (12) - strftime (12)
-
sy
_ updateBase (12) -
sy
_ updateBase= (12) -
sy
_ updateFrequency (12) -
sy
_ updateFrequency= (12) -
sy
_ updatePeriod (12) -
sy
_ updatePeriod= (12) -
to
_ csv (12) -
to
_ json (24) -
to
_ s (12) -
unconverted
_ fields? (12) - update (60)
-
update
_ sources (12) -
update
_ sources= (12) - validate (12)
- zone (12)
検索結果
先頭5件
-
Gem
:: LocalRemoteOptions # add _ update _ sources _ option (15201.0) -
オプション --update-source を追加します。
...オプション --update-source を追加します。... -
Date
# to _ json(*args) -> String (15113.0) -
自身を JSON 形式の文字列に変換して返します。
...身を JSON 形式の文字列に変換して返します。
内部的にはハッシュにデータをセットしてから JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。
@param args 引数はそのまま JSON::Generator::GeneratorMethods::Hash#to_json に渡され......ます。
//emlist[例][ruby]{
require "json/add/core"
Date.today.to_json
# => "{\"json_class\":\"Date\",\"y\":2018,\"m\":12,\"d\":11,\"sg\":2299161.0}"
//}
@see JSON::Generator::GeneratorMethods::Hash#to_json... -
DateTime
# second -> Integer (14101.0) -
秒を返します (0-59)。
秒を返します (0-59)。 -
RSS
:: ImageFaviconModel :: ImageFavicon # date= (12103.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # date= (12103.0) -
@todo
@todo -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (12101.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
DateTime
# offset -> Rational (11101.0) -
時差を返します。
時差を返します。 -
Gem
:: Specification # date=(date) (9219.0) -
@param date 日付をセットします。デフォルトは今日です。
...@param date 日付をセットします。デフォルトは今日です。... -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (9213.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
...ion#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。
現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。
//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Date.......new(2000, month, -1).day == 31
raise "#{month} is not long month"
end
def get_exception
return begin
yield
rescue => e
e
end
end
e = get_exception { check_long_month(2) }
p e.backtrace_locations
# => ["test.rb:4:in `check_long_month'", "test.rb:15:in `block in <main>'", "test.rb:9:......in `get_exception'", "test.rb:15:in `<main>'"]
//}
@see Exception#backtrace...