種類
ライブラリ
- ビルトイン (250)
-
cgi
/ core (12) -
cgi
/ session (48) -
cgi
/ session / pstore (12) -
cgi
/ util (12) - csv (156)
- date (1660)
- dbm (12)
- digest (12)
- fileutils (36)
- gdbm (12)
-
json
/ add / date (24) -
json
/ add / date _ time (24) - logger (57)
-
net
/ imap (84) - nkf (24)
- observer (12)
- open-uri (12)
- openssl (108)
- psych (19)
- rss (576)
-
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / update _ command (36) -
rubygems
/ config _ file (36) -
rubygems
/ doc _ manager (12) -
rubygems
/ package / tar _ header (12) -
rubygems
/ source _ index (24) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (36) -
rubygems
/ user _ interaction (36) - sdbm (12)
- time (144)
-
webrick
/ httpresponse (72) -
webrick
/ ssl (12) - win32ole (12)
-
yaml
/ dbm (12)
クラス
- Array (12)
- CGI (24)
-
CGI
:: Session (12) -
CGI
:: Session :: FileStore (12) -
CGI
:: Session :: MemoryStore (12) -
CGI
:: Session :: NullStore (12) -
CGI
:: Session :: PStore (12) - CSV (108)
-
CSV
:: FieldInfo (36) - DBM (12)
- Date (1238)
- DateTime (398)
-
Digest
:: Base (12) - Enumerator (6)
- Exception (24)
- GDBM (12)
-
Gem
:: Commands :: UpdateCommand (24) -
Gem
:: ConfigFile (36) -
Gem
:: DocManager (12) -
Gem
:: Package :: TarHeader (12) -
Gem
:: SourceIndex (24) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (36) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - Hash (24)
- Logger (33)
-
Logger
:: Formatter (24) - Module (12)
-
Net
:: IMAP (60) -
Net
:: IMAP :: ContentDisposition (12) -
Net
:: IMAP :: Envelope (12) - Object (12)
-
OpenSSL
:: Cipher (12) -
OpenSSL
:: Digest (12) -
OpenSSL
:: HMAC (12) -
OpenSSL
:: X509 :: CRL (48) -
RDoc
:: Options (12) -
RSS
:: ImageFaviconModel :: ImageFavicon (24) -
RSS
:: ImageItemModel :: ImageItem (24) -
RSS
:: Maker :: ChannelBase (72) -
RSS
:: Maker :: ItemsBase (12) -
RSS
:: Maker :: ItemsBase :: ItemBase (48) -
RSS
:: Parser (24) -
RSS
:: RDF :: Channel (24) -
RSS
:: RDF :: Channel :: ImageFavicon (24) -
RSS
:: RDF :: Image (24) -
RSS
:: RDF :: Item (24) -
RSS
:: RDF :: Textinput (24) -
RSS
:: Rss :: Channel (72) -
RSS
:: Rss :: Channel :: Item (48) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) - Random (36)
- Range (52)
- SDBM (12)
- Time (192)
-
WEBrick
:: HTTPResponse (72) -
YAML
:: DBM (12)
モジュール
- DublinCoreModel (36)
- FileUtils (36)
-
Gem
:: InstallUpdateOptions (24) -
Gem
:: LocalRemoteOptions (12) - Kernel (48)
- NKF (24)
- Observable (12)
-
OpenSSL
:: X509 (24) -
OpenURI
:: Meta (12) - Psych (19)
-
RSS
:: SyndicationModel (72) -
WEBrick
:: Config (12) -
WIN32OLE
:: VARIANT (12)
オブジェクト
- ENV (24)
キーワード
- + (12)
- - (12)
- << (12)
- <=> (12)
- == (12)
- === (19)
- >> (12)
- Converters (12)
-
DEFAULT
_ UPDATE _ SOURCES (12) - Date (12)
- DateMatcher (12)
- DateTime (12)
- DateTimeMatcher (12)
- ENGLAND (12)
- Error (12)
- GREGORIAN (12)
- ITALY (12)
- InstallUpdateOptions (12)
- JULIAN (12)
-
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) -
NKF
_ RELEASE _ DATE (12) - OutdatedCommand (12)
-
RUBY
_ RELEASE _ DATE (12) - SSL (12)
- UpdateCommand (12)
- VERSION (12)
-
VT
_ DATE (12) -
V
_ ERR _ ERROR _ IN _ CRL _ LAST _ UPDATE _ FIELD (12) -
V
_ ERR _ ERROR _ IN _ CRL _ NEXT _ UPDATE _ FIELD (12) - [] (12)
-
_ httpdate (12) -
_ iso8601 (12) -
_ jisx0301 (12) -
_ parse (12) -
_ rfc2822 (12) -
_ rfc3339 (12) -
_ rfc822 (12) -
_ strptime (24) -
_ xmlschema (12) -
add
_ observer (12) -
add
_ update _ sources _ option (12) - ajd (12)
- amjd (12)
- append (12)
- asctime (12)
- autoload? (12)
-
backtrace
_ locations (12) - body= (12)
- chunked= (12)
- civil (24)
- commercial (24)
-
content
_ length (12) -
content
_ length= (12) - convert (36)
- converters (12)
- copy (12)
- cover? (19)
- cp (12)
- ctime (12)
- cwday (12)
- cweek (12)
- cwyear (12)
- date= (156)
-
datetime
_ format (24) -
datetime
_ format= (24) - day (12)
-
dc
_ date (12) -
dc
_ date= (12) -
dc
_ dates (12) -
deconstruct
_ keys (4) -
do
_ rubygems _ update (12) -
do
_ sort= (12) -
do
_ validate (12) -
do
_ validate= (12) - downto (24)
- england (12)
- entries (7)
- eval (24)
-
force
_ update (12) - format (12)
-
format
_ date (12) -
format
_ datetime (12) - friday? (12)
- gregorian (12)
- gregorian? (12)
-
gregorian
_ leap? (12) - header (24)
- hour (12)
- httpdate (60)
- index (12)
-
install
_ update _ defaults _ str (12) - iso8601 (60)
- italy (12)
- jd (36)
- jisx0301 (48)
-
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
_ create (24) - julian (12)
- julian? (12)
-
julian
_ leap? (12) - lastBuildDate (24)
- lastBuildDate= (24)
-
last
_ update (12) -
last
_ update= (12) - ld (12)
- leap? (24)
- line (12)
- mday (12)
- min (12)
- minute (12)
- mjd (12)
- mon (12)
- monday? (12)
- month (12)
-
net
/ smtp (12) - new (45)
-
new
_ offset (12) -
new
_ start (12) - next (12)
-
next
_ day (12) -
next
_ month (12) -
next
_ update (12) -
next
_ update= (12) -
next
_ year (12) - now (12)
- offset (12)
-
optparse
/ date (12) - ordinal (24)
- outdated (12)
- param (12)
- parse (48)
-
prev
_ day (12) -
prev
_ month (12) -
prev
_ year (12) - produce (6)
- pubDate (48)
- pubDate= (48)
- rand (36)
-
rb
_ iterate (12) - rdoc (12)
-
rfc1123
_ date (12) - rfc2822 (60)
- rfc3339 (48)
- rfc822 (60)
- rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / update _ command (12) -
safe
_ load (19) - saturday? (12)
- sec (12)
-
sec
_ fraction (12) - second (12)
-
second
_ fraction (12) - sort (12)
- sprintf (12)
- start (12)
- step (24)
- strftime (24)
- strptime (48)
- succ (12)
- sunday? (12)
-
sy
_ updateBase (12) -
sy
_ updateBase= (12) -
sy
_ updateFrequency (12) -
sy
_ updateFrequency= (12) -
sy
_ updatePeriod (12) -
sy
_ updatePeriod= (12) - thursday? (12)
- time (12)
-
to
_ a (7) -
to
_ csv (12) -
to
_ date (24) -
to
_ datetime (24) -
to
_ json (24) -
to
_ s (24) -
to
_ time (24) - today (24)
- tsort (12)
- tuesday? (12)
-
uid
_ sort (12) -
unconverted
_ fields? (12) - update (228)
-
update
_ checksum (12) -
update
_ ri _ cache (12) -
update
_ sources (12) -
update
_ sources= (12) - updated (36)
- upto (24)
- uptodate? (12)
-
valid
_ civil? (12) -
valid
_ commercial? (12) -
valid
_ date? (12) -
valid
_ jd? (12) -
valid
_ ordinal? (12) - validate (12)
- wday (12)
- wednesday? (12)
-
which
_ to _ update (12) -
write
_ headers? (12) - xmlschema (60)
- yaml (12)
- yday (12)
- year (12)
- zone (12)
- パターンマッチ (3)
- リテラル (12)
検索結果
-
WEBrick
:: HTTPResponse # to _ s -> String (6.0) -
実際にクライアントに送られるデータを文字列として返します。
...列として返します。
require 'webrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 08:58:49 GMT
Server:
Content-Length: 4
hoge... -
net
/ smtp (6.0) -
メールを送信するためのプロトコル SMTP (Simple Mail Transfer Protocol) を扱うライブラリです。
...e(<<-EndOfMail, 'from@example.com', 'to@example.net')
From: Your Name <from@example.com>
To: Dest Address <to@example.net>
Subject: test mail
Date: Sat, 23 Jun 2001 16:26:43 +0900
Message-Id: <unique.message.id.string@yourhost.example.com>
This is a test mail.
EndOfMail
}
====... -
rdoc (6.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...--force-update
出力済みのファイルの方が新しい場合でも全てのファイルを更新します。
1.9.2 以下では指定しなかった場合は有効になりません。1.9.2 以降は指定
しなかった場合でも有効になります。
: --no-force-update
出......RDoc の通
常の動作と干渉するため、保存する事ができません。
* --coverage-report
* --dry-run
* --encoding
* --force-update
* --format
* --pipe
* --quiet
* --template
* --verbose
===[a:markup] Markup
コメント部はかなり自然に書くことができます......取り除いたりできます。'#++' で始まる行が現われると、
処理を再開します。
# Extract the age and calculate the
# date-of-birth.
#--
# FIXME: fails if the birthday falls on
# February 29th
#++
# The DOB is returned as a Time object.
def get_dob(person)... -
ruby 1
. 6 feature (6.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...ruby '-*' -v
=> ruby 1.6.7 (2002-03-01) [i586-linux]
=> ruby: invalid option -* (-h will show valid options)
: 2002-05-22 parsedate
バージョンアップ((<ruby-dev:17171>))
: 2002-05-22 -T オプション
ruby のコマンドラインオプション -T の後に空白......ify frozen Time (TypeError)
from -:3
: File::SEPARATOR
: File::ALT_SEPARATOR
: File::PATH_SEPARATOR
: RUBY_PLATFORM
: RUBY_RELEASE_DATE
: RUBY_VERSION
これらは、freeze された文字列になりました。
p File::SEPARATOR.frozen?
p File::ALT_SEPARATOR.fr... -
パターンマッチ (6.0)
-
パターンマッチ * patterns * variable_binding * variable_pinning * matching_non_primitive_objects * guard_clauses * current_feature_status * pattern_syntax * some_undefined_behavior_examples
...は deconstruct や deconstruct_keys を実装しています。
MatchData#deconstruct
MatchData#deconstruct_keys
Time#deconstruct_keys
Date#deconstruct_keys
DateTime#deconstruct_keys
===[a:guard_clauses] ガード節
if を使って、パターンにマッチしたときに評価される追加...