4673件ヒット
[4601-4673件を表示]
(0.106秒)
ライブラリ
- ビルトイン (2413)
- csv (72)
- dbm (36)
- gdbm (36)
- getoptlong (48)
- matrix (244)
-
net
/ http (96) -
net
/ pop (72) -
net
/ smtp (36) - openssl (48)
- ostruct (24)
- pathname (63)
- pp (12)
- prettyprint (1)
- prime (96)
- psych (12)
- rake (12)
-
rdoc
/ context (48) - resolv (84)
-
rexml
/ document (204) -
rexml
/ parsers / pullparser (12) -
rinda
/ tuplespace (12) -
rubygems
/ package / tar _ input (12) -
rubygems
/ package / tar _ reader (36) -
rubygems
/ source _ index (24) - sdbm (36)
- set (45)
- shell (30)
-
shell
/ builtin-command (36) -
shell
/ command-processor (30) -
shell
/ filter (36) -
shell
/ system-command (12) - socket (12)
- stringio (176)
- thread (18)
- tsort (117)
- un (12)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
webrick
/ httputils (12) -
win32
/ registry (36) - win32ole (132)
-
yaml
/ dbm (12) - zlib (120)
クラス
-
ARGF
. class (264) - Array (213)
- BasicSocket (12)
- CSV (24)
-
CSV
:: Row (24) -
CSV
:: Table (24) - DBM (36)
- Dir (62)
- Enumerator (163)
-
Enumerator
:: ArithmeticSequence (14) -
Enumerator
:: Chain (14) -
Enumerator
:: Lazy (171) -
Enumerator
:: Yielder (30) - GDBM (36)
-
Gem
:: Package :: TarInput (12) -
Gem
:: Package :: TarReader (36) -
Gem
:: SourceIndex (24) - GetoptLong (48)
- Hash (136)
- IO (249)
- Matrix (196)
- Module (12)
-
Net
:: POPMail (72) -
Net
:: SMTP (36) - Object (60)
-
OpenSSL
:: ASN1 :: Constructive (12) - OpenStruct (24)
- PP (12)
- Pathname (63)
- PrettyPrint (1)
- Prime (24)
-
Prime
:: PseudoPrimeGenerator (72) -
Psych
:: Nodes :: Node (12) -
RDoc
:: Context (48) -
REXML
:: AttlistDecl (12) -
REXML
:: Attributes (24) -
REXML
:: Element (36) -
REXML
:: Elements (48) -
REXML
:: Parent (72) -
REXML
:: Parsers :: PullParser (12) -
Rake
:: TaskArguments (12) - Range (33)
- Resolv (24)
-
Resolv
:: DNS (36) -
Resolv
:: Hosts (24) -
Rinda
:: TupleSpace (12) - SDBM (36)
- Set (60)
- Shell (30)
-
Shell
:: Cat (6) -
Shell
:: CommandProcessor (30) -
Shell
:: Concat (6) -
Shell
:: Echo (6) -
Shell
:: Filter (36) -
Shell
:: Glob (6) -
Shell
:: SystemCommand (12) -
Shell
:: Tee (6) -
Shell
:: Void (6) - StopIteration (12)
- String (260)
- StringIO (176)
- Struct (48)
- Thread (48)
-
Thread
:: Queue (82) -
Thread
:: SizedQueue (46) - Vector (48)
-
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPUtils :: FormData (12) - WIN32OLE (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ PARAM (24) -
WIN32OLE
_ TYPE (24) -
WIN32OLE
_ VARIABLE (60) -
Win32
:: Registry (36) -
YAML
:: DBM (12) -
Zlib
:: GzipReader (96) -
Zlib
:: GzipWriter (24)
モジュール
- Enumerable (499)
- Kernel (12)
-
Net
:: HTTPHeader (96) -
OpenSSL
:: Buffering (36) -
REXML
:: Node (12) - TSort (117)
キーワード
- % (2)
- + (7)
- << (12)
- [] (12)
- all (24)
-
append
_ features (12) - bytes (59)
-
canonical
_ each (12) - cat (18)
- chars (66)
- chmod (12)
- chunk (36)
-
chunk
_ while (12) - clear (12)
- close (10)
- closed? (10)
- codepoints (59)
- collect (36)
- collect! (38)
-
collect
_ concat (12) - count (36)
- default (12)
-
default
_ event _ sources (12) -
delete
_ if (24) - deq (24)
- difference (12)
- drop (12)
- each2 (24)
-
each
_ address (36) -
each
_ attribute (24) -
each
_ byte (120) -
each
_ capitalized (12) -
each
_ capitalized _ name (12) -
each
_ char (96) -
each
_ child (62) -
each
_ classmodule (12) -
each
_ codepoint (84) -
each
_ cons (24) -
each
_ constant (12) -
each
_ data (12) -
each
_ element (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) -
each
_ entry (51) -
each
_ grapheme _ cluster (16) -
each
_ header (12) -
each
_ index (48) -
each
_ key (36) -
each
_ line (225) -
each
_ method (12) -
each
_ name (48) -
each
_ option (12) -
each
_ pair (120) -
each
_ recursive (12) -
each
_ resource (12) -
each
_ slice (24) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) -
each
_ value (36) -
each
_ with _ index (72) -
each
_ with _ object (24) - eager (6)
- echo (18)
- entries (12)
-
enum
_ for (48) - eof (12)
- eof? (12)
- feed (12)
- filter! (14)
-
find
_ index (36) - first (24)
- first? (1)
-
flat
_ map (12) -
force
_ quotes? (12) - foreach (18)
- glob (18)
-
grapheme
_ clusters (16) - handler= (12)
- index (36)
- inject (48)
-
inplace
_ mode (12) - intersection (12)
- invert (12)
- join (24)
-
keep
_ if (19) - length (12)
- lines (115)
- mail (24)
- map (24)
- map! (38)
- merge (12)
- name (12)
- next (12)
-
next
_ values (12) - notify (12)
-
ole
_ query _ interface (12) -
ole
_ type (12) -
ole
_ type _ detail (12) - ordering= (12)
- output? (12)
- pack (21)
-
peek
_ values (12) - pop (48)
- pos (24)
- push (24)
- recvmsg (12)
- reduce (36)
- rehash (12)
- reject! (24)
- replace (48)
-
respond
_ to? (12) - result (12)
-
reverse
_ each (52) - rewind (24)
- select! (19)
-
send
_ mail (12) - sendmail (12)
- seplist (12)
- shift (24)
- size (12)
-
slice
_ after (46) -
slice
_ before (60) -
slice
_ when (23) - step (3)
-
strongly
_ connected _ components (12) - subtract (12)
- sum (36)
-
super
_ each (6) - take (12)
-
take
_ while (24) - tee (18)
- tell (24)
-
to
_ a (24) -
to
_ enum (48) -
to
_ h (19) -
to
_ proc (6) -
to
_ s (12) - tsort (12)
-
tsort
_ each (23) -
tsort
_ each _ child (12) -
tsort
_ each _ node (12) - unpack (12)
- update (36)
- upto (12)
- value (24)
- variables (12)
-
with
_ index (48) -
with
_ object (24) - yield (12)
- zip (48)
検索結果
先頭5件
-
DBM
# update(other) {|key , value| . . . } -> self (107.0) -
self と other の内容をマージします。
...self と other の内容をマージします。
重複するキーに対応する値はother の内容で上書きされます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。
require 'dbm'
db1 = DBM.open('aaa.db', 0666, DBM::NEWDB)
db... -
GDBM
# update(other) -> self (107.0) -
self と other の内容をマージします。
...self と other の内容をマージします。
重複するキーに対応する値はother の内容で上書きされます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。... -
Hash
# keep _ if -> Enumerator (107.0) -
キーと値を引数としてブロックを評価した結果が真であるような要素を self に残します。
...なかった場合は、自身と keep_if から生成した
Enumerator オブジェクトを返します。
//emlist[例][ruby]{
h1 = {}
c = ("a".."g")
c.each_with_index {|e, i| h1[i] = e }
h2 = h1.dup
h1.select! # => #<Enumerator: {0=>"a", 1=>"b", 2=>"c", 3=>"d", 4=>"e", 5=>"f", 6=>"g"}:select!......>
h1.select! { |k, v| k % 3 == 0 } # => {0=>"a", 3=>"d", 6=>"g"}
h1.select! { |k, v| true } # => nil
h2.keep_if { |k, v| k % 3 == 0 } # => {0=>"a", 3=>"d", 6=>"g"}
h2.keep_if { |k, v| true } # => {0=>"a", 3=>"d", 6=>"g"}
//}
@see Hash#select, Hash#delete_if, Hash#reject!... -
Hash
# select! -> Enumerator (107.0) -
キーと値を引数としてブロックを評価した結果が真であるような要素を self に残します。
...なかった場合は、自身と keep_if から生成した
Enumerator オブジェクトを返します。
//emlist[例][ruby]{
h1 = {}
c = ("a".."g")
c.each_with_index {|e, i| h1[i] = e }
h2 = h1.dup
h1.select! # => #<Enumerator: {0=>"a", 1=>"b", 2=>"c", 3=>"d", 4=>"e", 5=>"f", 6=>"g"}:select!......>
h1.select! { |k, v| k % 3 == 0 } # => {0=>"a", 3=>"d", 6=>"g"}
h1.select! { |k, v| true } # => nil
h2.keep_if { |k, v| k % 3 == 0 } # => {0=>"a", 3=>"d", 6=>"g"}
h2.keep_if { |k, v| true } # => {0=>"a", 3=>"d", 6=>"g"}
//}
@see Hash#select, Hash#delete_if, Hash#reject!... -
Net
:: SMTP # send _ mail(mailsrc , from _ addr , *to _ addrs) -> () (107.0) -
メールを送信します。
...信します。
mailsrc をメールとして送信します。
mailsrc は each イテレータを持つ
オブジェクトならなんでも構いません(たとえば String や File)。
from_domain は送り主のメールアドレス ('...@...'のかたち) 、
to_addrs には送信先メー......。
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 です。
@param mailsrc メールの内容
@param from_addr......アドレス
@param to_addrs 送信先のメールアドレス(複数可、少なくとも1個)
@raise IOError すでにセッションが終了している場合に発生します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPServerBusy SMTPエラー... -
Net
:: SMTP # send _ message(mailsrc , from _ addr , *to _ addrs) -> () (107.0) -
メールを送信します。
...信します。
mailsrc をメールとして送信します。
mailsrc は each イテレータを持つ
オブジェクトならなんでも構いません(たとえば String や File)。
from_domain は送り主のメールアドレス ('...@...'のかたち) 、
to_addrs には送信先メー......。
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 です。
@param mailsrc メールの内容
@param from_addr......アドレス
@param to_addrs 送信先のメールアドレス(複数可、少なくとも1個)
@raise IOError すでにセッションが終了している場合に発生します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPServerBusy SMTPエラー... -
Net
:: SMTP # sendmail(mailsrc , from _ addr , *to _ addrs) -> () (107.0) -
メールを送信します。
...信します。
mailsrc をメールとして送信します。
mailsrc は each イテレータを持つ
オブジェクトならなんでも構いません(たとえば String や File)。
from_domain は送り主のメールアドレス ('...@...'のかたち) 、
to_addrs には送信先メー......。
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 です。
@param mailsrc メールの内容
@param from_addr......アドレス
@param to_addrs 送信先のメールアドレス(複数可、少なくとも1個)
@raise IOError すでにセッションが終了している場合に発生します
@raise TimeoutError 接続がタイムアウトした場合に発生します
@raise Net::SMTPServerBusy SMTPエラー... -
SDBM
# update(other) -> self (107.0) -
self と other の内容をマージします。
...と other の内容をマージします。
重複するキーに対応する値はother の内容で上書きされます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。
require 'sdbm'
db1 = SDBM.open('aaa.gdbm', 0666)
db1.clear
db1['......a'] = 'aaa'
db1['b'] = 'bbb'
db1['c'] = 'ccc'
db2 = SDBM.open('bbb.gdbm', 0666)
db2.clear
db2['c'] = 'ccc'
db2['d'] = 'ddd'
hash = { 'x' => 'xxx', 'y' => 'yyy'}
p db1 #=> #<SDBM:0xb7d19554>
p db1.to_hash #=> {"a"=>"aaa", "b"=>"bbb", "c"=>"ccc"}
p db1.update...