25533件ヒット
[1-100件を表示]
(0.115秒)
別のキーワード
ライブラリ
- ビルトイン (7792)
- abbrev (24)
- benchmark (192)
- bigdecimal (156)
-
bigdecimal
/ math (72) -
cgi
/ core (108) -
cgi
/ html (564) -
cgi
/ util (60) - cmath (240)
- coverage (7)
- csv (483)
- date (316)
- dbm (108)
- delegate (48)
- digest (36)
-
digest
/ sha2 (12) - drb (24)
-
drb
/ extserv (12) - erb (80)
- etc (12)
- fiddle (108)
- fileutils (180)
- forwardable (144)
- gdbm (72)
-
io
/ console (24) - ipaddr (24)
- irb (12)
-
irb
/ cmd / chws (12) -
irb
/ cmd / help (12) -
irb
/ cmd / pushws (12) -
irb
/ context (24) -
irb
/ ext / history (12) -
irb
/ ext / math-mode (4) -
irb
/ ext / save-history (36) -
irb
/ extend-command (24) -
irb
/ input-method (36) -
irb
/ inspector (12) -
irb
/ magic-file (24) -
irb
/ output-method (72) - json (168)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (24) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) - logger (37)
- matrix (248)
-
minitest
/ spec (8) -
minitest
/ unit (5) - mkmf (516)
-
net
/ ftp (102) -
net
/ http (1183) -
net
/ imap (216) -
net
/ pop (60) -
net
/ smtp (136) - objspace (36)
- observer (12)
- open3 (168)
- openssl (1656)
- optparse (312)
- ostruct (36)
- pathname (433)
- pp (48)
- prettyprint (84)
- prime (96)
- pstore (24)
- psych (806)
- pty (12)
- rake (180)
-
rdoc
/ code _ object (12) -
rdoc
/ context (72) -
rdoc
/ generator / darkfish (12) -
rdoc
/ markup (36) -
rdoc
/ markup / formatter (12) -
rdoc
/ markup / to _ html _ crossref (12) -
rdoc
/ parser (12) -
rdoc
/ stats (12) -
rdoc
/ text (24) - readline (144)
- resolv (228)
- resolv-replace (60)
-
rexml
/ document (504) -
rexml
/ parsers / pullparser (36) -
rexml
/ parsers / sax2parser (60) -
rexml
/ parsers / ultralightparser (12) -
rexml
/ sax2listener (12) -
rinda
/ rinda (36) -
rinda
/ tuplespace (48) -
rubygems
/ command (72) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / which _ command (24) -
rubygems
/ config _ file (36) -
rubygems
/ custom _ require (12) -
rubygems
/ dependency _ installer (12) -
rubygems
/ digest / digest _ adapter (12) -
rubygems
/ ext / builder (12) -
rubygems
/ ext / configure _ builder (12) -
rubygems
/ ext / ext _ conf _ builder (12) -
rubygems
/ ext / rake _ builder (12) -
rubygems
/ format (48) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ indexer (12) -
rubygems
/ installer (36) -
rubygems
/ old _ format (48) -
rubygems
/ package / tar _ header (24) -
rubygems
/ package / tar _ reader / entry (12) -
rubygems
/ platform (48) -
rubygems
/ remote _ fetcher (156) -
rubygems
/ security (84) -
rubygems
/ server (12) -
rubygems
/ source _ index (24) -
rubygems
/ source _ info _ cache (120) -
rubygems
/ source _ info _ cache _ entry (24) -
rubygems
/ spec _ fetcher (84) -
rubygems
/ specification (84) -
rubygems
/ timer (12) -
rubygems
/ uninstaller (12) -
rubygems
/ user _ interaction (24) -
rubygems
/ validator (12) -
rubygems
/ version (24) - sdbm (108)
- securerandom (20)
- shell (468)
-
shell
/ command-processor (402) -
shell
/ filter (378) -
shell
/ process-controller (48) -
shell
/ system-command (30) - shellwords (84)
- socket (648)
- stringio (110)
- strscan (60)
- sync (12)
- thread (24)
- thwait (36)
- time (60)
- tmpdir (24)
- tracer (12)
- tsort (128)
- uri (276)
-
webrick
/ accesslog (12) -
webrick
/ htmlutils (12) -
webrick
/ httpauth (24) -
webrick
/ httpauth / basicauth (36) -
webrick
/ httpauth / digestauth (48) -
webrick
/ httpauth / htdigest (60) -
webrick
/ httpauth / htgroup (48) -
webrick
/ httpauth / htpasswd (60) -
webrick
/ httpauth / userdb (48) -
webrick
/ httpproxy (12) -
webrick
/ httprequest (72) -
webrick
/ httpresponse (204) -
webrick
/ https (12) -
webrick
/ httpserver (132) -
webrick
/ httpservlet / abstract (108) -
webrick
/ httpservlet / cgihandler (36) -
webrick
/ httpservlet / erbhandler (36) -
webrick
/ httpservlet / filehandler (144) -
webrick
/ httpservlet / prochandler (48) -
webrick
/ httpstatus (96) -
webrick
/ httputils (192) -
webrick
/ httpversion (84) - win32ole (168)
-
yaml
/ dbm (48) -
yaml
/ store (9) - zlib (276)
クラス
-
ARGF
. class (159) - Addrinfo (144)
- Array (415)
- BasicObject (84)
- BasicSocket (12)
-
Benchmark
:: Job (36) -
Benchmark
:: Report (36) -
Benchmark
:: Tms (84) - BigDecimal (144)
- Bignum (57)
- CGI (108)
-
CGI
:: Cookie (36) - CSV (276)
-
CSV
:: FieldInfo (12) -
CSV
:: Row (147) -
CSV
:: Table (48) - Class (12)
- Complex (126)
- Coverage (7)
- DBM (108)
-
DRb
:: DRbObject (12) -
DRb
:: DRbServer (12) -
DRb
:: ExtServ (12) - Data (12)
- Date (206)
- DateTime (146)
- Delegator (48)
-
Digest
:: Base (24) -
Digest
:: SHA2 (12) - Dir (333)
- ERB (44)
-
Encoding
:: Converter (36) - Enumerator (79)
-
Enumerator
:: ArithmeticSequence (35) - Exception (32)
- FalseClass (36)
-
Fiddle
:: Function (12) -
Fiddle
:: Handle (48) -
Fiddle
:: Pointer (36) - File (530)
-
File
:: Stat (12) - Fixnum (60)
- Float (177)
- GDBM (72)
-
Gem
:: Command (72) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: WhichCommand (24) -
Gem
:: ConfigFile (36) -
Gem
:: DependencyInstaller (12) -
Gem
:: DigestAdapter (12) -
Gem
:: Ext :: Builder (12) -
Gem
:: Ext :: ConfigureBuilder (12) -
Gem
:: Ext :: ExtConfBuilder (12) -
Gem
:: Ext :: RakeBuilder (12) -
Gem
:: Format (48) -
Gem
:: GemPathSearcher (24) -
Gem
:: Indexer (12) -
Gem
:: Installer (36) -
Gem
:: OldFormat (48) -
Gem
:: Package :: TarHeader (24) -
Gem
:: Package :: TarReader :: Entry (12) -
Gem
:: Platform (48) -
Gem
:: RemoteFetcher (144) -
Gem
:: RemoteFetcher :: FetchError (12) -
Gem
:: Security :: Policy (36) -
Gem
:: Security :: Signer (24) -
Gem
:: Server (12) -
Gem
:: SourceIndex (24) -
Gem
:: SourceInfoCache (120) -
Gem
:: SourceInfoCacheEntry (24) -
Gem
:: SpecFetcher (84) -
Gem
:: Specification (84) -
Gem
:: StreamUI (12) -
Gem
:: Uninstaller (12) -
Gem
:: Validator (12) -
Gem
:: Version (24) - Hash (557)
- IO (513)
- IPAddr (24)
- IPSocket (12)
-
IRB
:: Context (64) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: FileInputMethod (12) -
IRB
:: Inspector (12) -
IRB
:: OutputMethod (60) -
IRB
:: ReadlineInputMethod (12) -
IRB
:: StdioInputMethod (12) -
IRB
:: StdioOutputMethod (12) - Integer (356)
- KeyError (28)
- Logger (24)
-
Logger
:: Application (1) -
Logger
:: Formatter (12) - MatchData (152)
- Matrix (188)
- Method (116)
-
MiniTest
:: Spec (2) -
MiniTest
:: Unit (2) - Module (405)
-
Net
:: FTP (102) -
Net
:: HTTP (847) -
Net
:: HTTPGenericRequest (36) -
Net
:: HTTPRequest (12) -
Net
:: HTTPResponse (24) -
Net
:: IMAP (216) -
Net
:: POP3 (48) -
Net
:: POPMail (12) -
Net
:: SMTP (136) - NilClass (43)
- NoMethodError (19)
- Numeric (141)
- Object (278)
-
OpenSSL
:: ASN1 :: GraphicString (24) -
OpenSSL
:: ASN1 :: ObjectId (12) -
OpenSSL
:: BN (300) -
OpenSSL
:: Cipher (120) -
OpenSSL
:: Cipher :: AES (12) -
OpenSSL
:: Cipher :: AES128 (12) -
OpenSSL
:: Cipher :: AES192 (12) -
OpenSSL
:: Cipher :: AES256 (12) -
OpenSSL
:: Cipher :: BF (12) -
OpenSSL
:: Cipher :: CAST5 (12) -
OpenSSL
:: Cipher :: DES (12) -
OpenSSL
:: Cipher :: IDEA (12) -
OpenSSL
:: Cipher :: RC2 (24) -
OpenSSL
:: Cipher :: RC4 (24) -
OpenSSL
:: Cipher :: RC5 (12) -
OpenSSL
:: Config (12) -
OpenSSL
:: Digest :: DSS (12) -
OpenSSL
:: Digest :: DSS1 (12) -
OpenSSL
:: Digest :: MD2 (12) -
OpenSSL
:: Digest :: MD4 (12) -
OpenSSL
:: Digest :: MD5 (12) -
OpenSSL
:: Digest :: MDC2 (12) -
OpenSSL
:: Digest :: RIPEMD160 (12) -
OpenSSL
:: Digest :: SHA (36) -
OpenSSL
:: Digest :: SHA1 (36) -
OpenSSL
:: Digest :: SHA224 (36) -
OpenSSL
:: Digest :: SHA256 (36) -
OpenSSL
:: Digest :: SHA384 (36) -
OpenSSL
:: Digest :: SHA512 (36) -
OpenSSL
:: Engine (12) -
OpenSSL
:: HMAC (60) -
OpenSSL
:: Netscape :: SPKI (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: OCSP :: CertificateId (24) -
OpenSSL
:: OCSP :: Request (12) -
OpenSSL
:: PKCS7 (36) -
OpenSSL
:: PKey :: DH (144) -
OpenSSL
:: PKey :: EC (12) -
OpenSSL
:: PKey :: EC :: Group (24) -
OpenSSL
:: SSL :: SSLContext (120) -
OpenSSL
:: SSL :: SSLServer (12) -
OpenSSL
:: SSL :: SSLSocket (36) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
OpenSSL
:: X509 :: Name (24) -
OpenSSL
:: X509 :: Store (36) -
OpenSSL
:: X509 :: StoreContext (12) - OpenStruct (48)
- OptionParser (300)
- PP (48)
- PStore (24)
- Pathname (421)
- PrettyPrint (84)
- Prime (48)
-
Prime
:: PseudoPrimeGenerator (24) -
Process
:: Status (24) -
Psych
:: Emitter (48) -
Psych
:: Handler (84) -
Psych
:: Nodes :: Alias (24) -
Psych
:: Nodes :: Document (60) -
Psych
:: Nodes :: Mapping (60) -
Psych
:: Nodes :: Node (24) -
Psych
:: Nodes :: Scalar (84) -
Psych
:: Nodes :: Sequence (60) -
Psych
:: Nodes :: Stream (24) -
Psych
:: Parser (24) -
Psych
:: ScalarScanner (24) -
Psych
:: Stream (36) -
Psych
:: Visitors :: YAMLTree (48) -
RDoc
:: CodeObject (12) -
RDoc
:: Context (60) -
RDoc
:: Context :: Section (12) -
RDoc
:: Generator :: Darkfish (12) -
RDoc
:: Markup (36) -
RDoc
:: Markup :: Formatter (12) -
RDoc
:: Markup :: ToHtmlCrossref (12) -
RDoc
:: Options (36) -
RDoc
:: Parser (12) -
RDoc
:: Stats (12) -
REXML
:: CData (12) -
REXML
:: Child (60) -
REXML
:: DocType (24) -
REXML
:: Document (24) -
REXML
:: Element (84) -
REXML
:: Elements (60) -
REXML
:: Entity (12) -
REXML
:: Formatters :: Default (12) -
REXML
:: Formatters :: Pretty (24) -
REXML
:: Formatters :: Transitive (12) -
REXML
:: Instruction (12) -
REXML
:: Parent (84) -
REXML
:: Parsers :: PullEvent (12) -
REXML
:: Parsers :: PullParser (24) -
REXML
:: Parsers :: SAX2Parser (60) -
REXML
:: Parsers :: UltraLightParser (12) -
REXML
:: Text (24) -
REXML
:: XMLDecl (12) -
REXML
:: XPath (36) -
Rake
:: EarlyTime (12) -
Rake
:: FileList (12) -
Rake
:: InvocationChain (48) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: TaskArguments (12) - Random (24)
- Range (138)
- Rational (132)
- Regexp (84)
- Resolv (60)
-
Resolv
:: DNS (36) -
Resolv
:: DNS :: Resource :: HINFO (12) -
Resolv
:: DNS :: Resource :: IN :: SRV (12) -
Resolv
:: DNS :: Resource :: MX (12) -
Resolv
:: DNS :: Resource :: SOA (12) -
Resolv
:: Hosts (84) -
Rinda
:: TupleEntry (12) -
Rinda
:: TupleSpace (36) -
Rinda
:: TupleSpaceProxy (36) -
RubyVM
:: InstructionSequence (24) - SDBM (108)
- SOCKSSocket (36)
- Shell (468)
-
Shell
:: CommandProcessor (402) -
Shell
:: Filter (378) -
Shell
:: ProcessController (48) -
Shell
:: SystemCommand (30) - Socket (252)
-
Socket
:: AncillaryData (12) - String (651)
- StringIO (110)
- StringScanner (60)
- Struct (42)
- Symbol (165)
- SystemCallError (12)
- TCPServer (24)
- TCPSocket (60)
- Thread (332)
-
Thread
:: ConditionVariable (12) -
Thread
:: Mutex (10) -
Thread
:: Queue (44) -
Thread
:: SizedQueue (96) - ThreadGroup (12)
- ThreadsWait (36)
- Time (234)
- Tracer (12)
- TrueClass (36)
- UDPSocket (60)
- UNIXServer (48)
- UNIXSocket (48)
-
URI
:: FTP (36) -
URI
:: Generic (96) -
URI
:: HTTP (36) -
URI
:: LDAP (24) -
URI
:: MailTo (36) - UnboundMethod (48)
- Vector (60)
-
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPAuth :: BasicAuth (36) -
WEBrick
:: HTTPAuth :: DigestAuth (48) -
WEBrick
:: HTTPAuth :: Htdigest (60) -
WEBrick
:: HTTPAuth :: Htgroup (48) -
WEBrick
:: HTTPAuth :: Htpasswd (60) -
WEBrick
:: HTTPProxyServer (12) -
WEBrick
:: HTTPRequest (84) -
WEBrick
:: HTTPResponse (204) -
WEBrick
:: HTTPServer (84) -
WEBrick
:: HTTPServer :: MountTable (48) -
WEBrick
:: HTTPServlet :: AbstractServlet (108) -
WEBrick
:: HTTPServlet :: CGIHandler (36) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (60) -
WEBrick
:: HTTPServlet :: ERBHandler (36) -
WEBrick
:: HTTPServlet :: FileHandler (84) -
WEBrick
:: HTTPServlet :: ProcHandler (48) -
WEBrick
:: HTTPUtils :: FormData (60) -
WEBrick
:: HTTPVersion (84) - WIN32OLE (72)
-
WIN32OLE
_ EVENT (24) -
WIN32OLE
_ METHOD (48) -
WIN32OLE
_ PARAM (12) -
YAML
:: DBM (48) -
YAML
:: Store (9) -
Zlib
:: Deflate (60) -
Zlib
:: GzipReader (84) -
Zlib
:: GzipWriter (84) -
Zlib
:: Inflate (24)
モジュール
- Abbrev (12)
- Benchmark (36)
- BigMath (96)
-
CGI
:: HtmlExtension (564) -
CGI
:: QueryExtension (60) - CMath (240)
- Comparable (60)
- Digest (12)
-
ERB
:: DefMethod (12) -
ERB
:: Util (24) - Enumerable (171)
- Fiddle (12)
- FileTest (36)
- FileUtils (204)
- Forwardable (72)
- GC (30)
-
Gem
:: Security (24) -
Gem
:: UserInteraction (12) - IRB (12)
-
IRB
:: ExtendCommandBundle (24) -
IRB
:: HistorySavingAbility (12) - JSON (48)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (780)
- Marshal (48)
- Math (324)
-
MiniTest
:: Assertions (3) -
Net
:: HTTPHeader (264) - ObjectSpace (96)
- Observable (12)
- Open3 (168)
-
OpenSSL
:: ASN1 (36) -
OpenSSL
:: Buffering (48) -
OpenSSL
:: PKCS5 (24) -
OpenSSL
:: Random (12) -
OptionParser
:: Arguable (12) - PTY (12)
- Process (60)
-
Process
:: GID (12) -
Process
:: UID (12) - Psych (150)
-
RDoc
:: Text (24) -
REXML
:: Namespace (12) -
REXML
:: SAX2Listener (12) -
Rake
:: TaskManager (24) - RakeFileUtils (12)
- Readline (84)
-
RubyVM
:: AbstractSyntaxTree (10) - SecureRandom (20)
- Shellwords (84)
- SingleForwardable (72)
-
Sync
_ m (12) - TSort (128)
- URI (48)
-
WEBrick
:: AccessLog (12) -
WEBrick
:: HTMLUtils (12) -
WEBrick
:: HTTPAuth (24) -
WEBrick
:: HTTPAuth :: UserDB (48) -
WEBrick
:: HTTPStatus (96) -
WEBrick
:: HTTPUtils (132) - Zlib (24)
オブジェクト
- ENV (156)
-
IRB
:: MagicFile (24) -
Readline
:: HISTORY (60) - main (24)
キーワード
- != (12)
- !~ (12)
- % (73)
- & (78)
- * (114)
- ** (66)
- + (138)
- - (102)
-
/ (124) - < (67)
- << (79)
- <= (61)
- <=> (240)
- == (412)
- === (119)
- =~ (52)
- > (67)
- >= (61)
- >> (25)
- E (12)
- GraphicString (24)
- Hash (12)
- Marshal (12)
- PI (12)
- Pathname (12)
- Proxy (12)
-
RSTRING
_ END (12) -
RSTRING
_ PTR (12) -
WIN32OLE
_ METHOD (12) - [] (390)
- []= (192)
- ^ (54)
-
_ httpdate (12) -
_ iso8601 (12) -
_ jisx0301 (12) -
_ parse (12) -
_ rfc2822 (12) -
_ rfc3339 (12) -
_ rfc822 (12) -
_ strptime (24) -
_ xmlschema (12) - a (24)
- abbrev (24)
-
abort
_ on _ exception (24) -
abort
_ on _ exception= (24) -
absolute
_ path? (6) -
accept
_ charset= (12) - acos (18)
- acos! (6)
- acosh (18)
- acosh! (6)
-
active
_ job? (6) - add (48)
-
add
_ authenticator (12) -
add
_ delegate _ command _ to _ shell (6) -
add
_ field (12) -
add
_ handler (12) -
add
_ html (12) -
add
_ method (12) -
add
_ path (12) -
add
_ response _ handler (24) -
add
_ schedule (6) -
add
_ special (12) -
add
_ specs (12) -
add
_ status (12) -
add
_ tag (12) -
add
_ to (12) -
add
_ trace _ func (12) -
add
_ word _ pair (12) -
adler32
_ combine (12) - after (1)
- alias (12)
-
alias
_ command (18) -
alias
_ method (12) -
all
_ waits (12) - alphanumeric (8)
- anchor= (48)
-
angle
_ with (12) - append (54)
- asin (18)
- asin! (6)
- asinh (18)
- asinh! (6)
-
assert
_ match (1) -
assert
_ respond _ to (1) -
assert
_ throws (1) - assoc (12)
- at (12)
- atan (30)
- atan! (6)
- atan2 (18)
- atan2! (6)
- atanh (18)
- atanh! (6)
- atime (18)
-
auth
_ cram _ md5 (12) -
auth
_ login (12) -
auth
_ only (24) -
auth
_ plain (12) -
auth
_ type= (12) - authenticate (48)
-
backtrace
_ locations (24) - base (12)
- basename (30)
-
basic
_ auth (24) -
basic
_ quote _ characters= (12) -
basic
_ word _ break _ characters= (12) - before (1)
- begin (12)
- begins? (12)
- benchmark (12)
- benchmark= (12)
- bind (36)
- binwrite (12)
- birthtime (11)
- blockdev? (30)
- blockquote (24)
- bm (12)
- bmbm (12)
- body= (24)
-
body
_ stream (12) -
body
_ stream= (12) - breakable (12)
- build (108)
- build2 (12)
-
build
_ self _ signed _ cert (12) -
bulk
_ threshold= (12) - byteoffset (6)
- byteslice (24)
- bytesplice (5)
-
ca
_ file= (12) -
ca
_ path= (24) - cache (12)
-
cache
_ dir (12) - cachesize= (12)
- call (24)
- caller (12)
-
caller
_ locations (24) - canonical= (12)
- caption (24)
- casecmp (24)
- casecmp? (18)
- cat (18)
- catch (24)
- cbrt (18)
- cbrt! (6)
- cd (12)
- ceildiv (3)
- center (12)
- cert= (12)
-
cert
_ chain= (24) - challenge (12)
- challenge= (12)
-
change
_ privilege (24) - changed (12)
- characters (12)
- chardev? (42)
- chdir (90)
- check (24)
-
check
_ nonce (12) -
check
_ private _ key (12) -
check
_ sizeof (24) -
check
_ until (12) - checkbox (24)
-
checkbox
_ group (24) - children (28)
- chmod (66)
-
chmod
_ R (12) - chomp (12)
-
choose
_ from _ list (24) - chown (66)
-
chown
_ R (12) - chr (24)
- chroot (12)
- chunked= (12)
- cipher (12)
- cipher= (12)
- ciphers= (24)
- civil (12)
-
class
_ variables (12) - cleanpath (12)
-
client
_ error? (12) -
clock
_ gettime (12) -
close
_ on _ empty _ response= (12) - cmp (36)
-
cmp
_ issuer (12) - coerce (72)
- collect (26)
- collect! (14)
-
collect
_ method (12) - commercial (12)
- compile (12)
-
completer
_ quote _ characters= (12) -
completer
_ word _ break _ characters= (12) -
completion
_ append _ character= (12) -
compute
_ key (12) - concat (33)
- connect (36)
-
connect
_ from (24) -
connect
_ to (24) -
connection
_ for (12) -
const
_ defined? (12) -
const
_ get (12) -
const
_ source _ location (12) - constants (12)
-
content
_ length (12) -
content
_ length= (24) -
content
_ type= (24) -
continue
_ timeout= (12) - convert (12)
- copy (24)
-
copy
_ stream (24) - cos (30)
- cos! (6)
- cosh (18)
- cosh! (6)
- count (12)
-
count
_ nodes (12) -
count
_ objects (12) -
count
_ objects _ size (12) -
count
_ tdata _ objects (12) -
crc32
_ combine (12) -
create
_ ext _ from _ hash (12) -
create
_ header (12) - ctime (18)
- curry (22)
- daemon (12)
-
datetime
_ format= (12) - debug= (6)
-
deconstruct
_ keys (20) - decrypt (24)
-
def
_ builtin _ commands (6) -
def
_ class (12) -
def
_ delegator (24) -
def
_ delegators (24) -
def
_ erb _ method (12) -
def
_ instance _ delegator (12) -
def
_ instance _ delegators (12) -
def
_ method (12) -
def
_ module (12) -
def
_ single _ delegator (12) -
def
_ single _ delegators (12) -
def
_ system _ command (12) - default (24)
- default= (12)
-
default
_ proc= (12) -
default
_ record _ separator (6) -
default
_ record _ separator= (6) -
default
_ system _ path (6) -
default
_ system _ path= (6) - defaults= (12)
-
define
_ method (48) -
define
_ singleton _ method (24) - deflate (12)
- delegate (24)
- delete (114)
-
delete
_ all (12) -
delete
_ at (12) -
delete
_ passwd (24) - deq (24)
- dequote (12)
- detach (12)
- detached= (12)
-
dh
_ compute _ key (12) - dig (10)
- digest (84)
- directory? (30)
- dirname (18)
-
display
_ thread _ id= (12) - div (54)
- divmod (42)
- dlopen (12)
-
do
_ DELETE (12) -
do
_ GET (72) -
do
_ HEAD (12) -
do
_ OPTIONS (24) -
do
_ POST (60) -
do
_ PUT (12) -
document
_ children= (12) - download (12)
- dump (48)
-
dump
_ stream (12) - each (348)
- each2 (24)
-
each
_ address (48) -
each
_ child (56) -
each
_ cons (24) -
each
_ element (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) -
each
_ line (204) -
each
_ name (48) -
each
_ object (48) -
each
_ prime (24) -
each
_ resource (12) -
each
_ slice (24) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (46) -
each
_ with _ index (48) -
each
_ with _ object (24) - echo (18)
- echo= (24)
-
egd
_ bytes (12) - ehlo (12)
- empty? (18)
- encoding= (12)
- encrypt (36)
- end (12)
-
end
_ document (12) -
end
_ with? (18) -
enhance
_ with _ matching _ rule (12) - enq (12)
- entries (24)
-
enum
_ for (24) - eql? (234)
- equal? (36)
- erf (12)
- erfc (12)
- error? (12)
- escape (48)
- escape8bit (12)
- escapeHTML (12)
-
escape
_ html (12) -
escape
_ path (12) -
eval
_ history= (12) - executable? (30)
-
executable
_ real? (30) - execute (36)
- exist? (30)
- exists? (18)
- exp (30)
- exp! (6)
- extended (12)
- extensions= (12)
-
extra
_ chain _ cert= (12) -
extra
_ rdoc _ files= (12) - extract (24)
-
family
_ addrinfo (24) - fdiv (54)
- fetch (248)
-
fetch
_ path (12) -
fetch
_ size (12) -
fetch
_ spec (12) -
fetch
_ values (20) - field (12)
- fields (12)
- file (24)
- file? (30)
-
file
_ field (24) -
file
_ uri? (12) - filename (12)
- filename= (24)
-
filename
_ quote _ characters= (12) - fill (24)
- filter (36)
- find (22)
-
find
_ executable (12) -
find
_ gems (12) -
find
_ gems _ with _ sources (12) -
find
_ header (12) -
find
_ library (24) -
find
_ matching (12) -
find
_ paths (12) -
find
_ type (24) - first (26)
- flatten (12)
- flush (60)
-
flush
_ left (12) -
flush
_ sessions (12) - fnmatch (24)
- fnmatch? (24)
- foreach (150)
- fork (12)
- form (48)
-
form
_ data= (12) - format (36)
- frexp (12)
- from (12)
-
from
_ file _ by _ path (24) -
from
_ io (24) - ftype (18)
- g= (12)
- gamma (12)
- gcd (12)
-
gem
_ path= (24) -
gem
_ paths (12) - generate (48)
-
generate
_ line (12) - get (48)
- get2 (24)
-
get
_ elements (12) -
get
_ fields (12) -
get
_ file _ uri _ path (12) -
get
_ instance (24) -
get
_ passwd (36) -
get
_ path (12) -
get
_ print (24) -
get
_ response (24) -
get
_ text (12) - getaddress (24)
- getaddresses (12)
- gethostbyaddr (12)
- gethostbyname (24)
- getname (12)
- getnames (12)
- getopts (60)
- getpriority (12)
- gets (54)
- glob (58)
- gm (24)
- group (12)
- grpowned? (30)
- gsub (36)
- gsub! (24)
-
handle
_ arguments (12) -
handle
_ interrupt (12) - handler= (24)
- handles? (12)
-
has
_ key? (60) -
has
_ name? (12) -
has
_ value? (72) -
have
_ framework (24) -
have
_ func (24) -
have
_ header (24) -
have
_ library (24) -
have
_ macro (24) -
have
_ option? (12) -
have
_ struct _ member (24) -
have
_ type (24) -
have
_ var (24) - head (12)
- head2 (24)
- header (24)
- header= (12)
- header? (12)
-
header
_ convert (36) - headers= (12)
- helo (12)
- help (12)
- here? (12)
- hex (12)
- hexdigest (180)
- hexencode (12)
- hidden (24)
-
history
_ file= (12) -
home
_ install _ warning= (12) - homepage= (12)
- host= (12)
- hostname= (24)
- hstack (24)
- html (24)
-
html
_ escape (12) - httopnly= (12)
- httpdate (36)
-
hyperlink
_ all= (12) - hypot (12)
- img (24)
- implicit= (36)
-
implicit
_ end= (12) - include (12)
- include? (84)
- indentation= (12)
- index (19)
-
infect
_ with _ assertions (1) - info? (12)
- inherited (12)
- initialize (12)
- inject (12)
- input= (6)
- insert (24)
-
insert
_ after (12) -
insert
_ before (12) -
insert
_ output (12) -
install
_ alias _ method (12) -
install
_ system _ commands (12) - instance (24)
-
instance
_ delegate (12) -
instance
_ method (12) -
instance
_ methods (12) - intersection (6)
- ip (12)
-
irb
_ original _ method _ name (12) - item (24)
- iv= (12)
- jd (12)
- jisx0301 (12)
- join (84)
-
join
_ nowait (6) -
json
_ create (156) -
keep
_ alive= (12) - key (12)
- key= (12)
- key? (84)
-
key
_ len= (12) -
keys
_ with _ inspector (12) - kill (24)
-
kill
_ job (6) - last (14)
-
last
_ match (24) -
latest
_ gc _ info (12) - lchmod (24)
- lchown (24)
- ldexp (12)
- lgamma (12)
- libpathflag (12)
- line (24)
-
line
_ width= (12) - lineno= (12)
- lines (32)
- link (18)
-
link
_ command (12) - list (12)
- listen (60)
- ljust (12)
- load (27)
-
load
_ documents (8) -
load
_ file (12) -
load
_ mime _ types (12) -
load
_ specs (12) -
load
_ stream (24) -
loaded
_ from= (12) - local (24)
-
local
_ host= (12) -
local
_ port= (12) - lock (12)
- log (48)
- log! (12)
- log10 (18)
- log10! (6)
- log2 (18)
- log2! (6)
- lshift! (12)
- lstat (18)
- major (12)
- major= (12)
- make (12)
-
make
_ partial _ content (12) -
make
_ passwd (36) - map (14)
- map! (14)
-
marshal
_ load (48) - match (48)
- match? (12)
- matches? (12)
-
matching
_ file? (12) -
matching
_ files (12) -
math
_ mode= (4) - max (44)
- max= (12)
-
max
_ by (48) - member? (60)
- members (12)
- memberwise (12)
- merge (24)
- merge! (36)
- method (12)
-
method
_ added (18) -
method
_ defined? (12) -
method
_ missing (36) -
method
_ removed (12) -
method
_ undefined (12) - methods (12)
-
mime
_ type (12) - min (44)
- minor (12)
- minor= (12)
- mkcol (12)
- mkdir (30)
- mkpath (12)
- mktime (24)
- mktmpdir (24)
- mlsd (20)
- mlst (10)
-
mod
_ add (12) -
mod
_ exp (12) -
mod
_ mul (12) -
mod
_ sub (12) - modulo (42)
- mount (12)
-
mount
_ proc (24) - move (12)
- mtime (18)
- mult (12)
-
multipart
_ form (48) -
must
_ be _ within _ delta (1) -
must
_ be _ within _ epsilon (1) -
must
_ match (1) -
must
_ respond _ to (1) -
must
_ throw (1) - name (12)
- name= (12)
-
named
_ captures (12) - new (1695)
- new2 (12)
-
new
_ ntoh (12) -
new
_ with _ uri (12) -
next
_ month (12) -
next
_ sibling= (12) -
next
_ wait (6) -
normalize
_ uri (12) -
not
_ modified? (12) - notify (12)
-
num
_ methods= (12) - offset (24)
-
ole
_ method (12) -
ole
_ method _ help (12) -
ole
_ show _ help (12) - on (96)
-
on
_ event _ with _ outargs (12) -
on
_ head (12) -
on
_ tail (12) - open (318)
-
open
_ timeout= (12) -
open
_ uri _ or _ path (12) - ordinal (12)
- out (30)
- owned? (30)
- p= (12)
- pack (21)
-
pack
_ sockaddr _ in (12) -
pack
_ sockaddr _ un (12) - padding= (12)
- parameters (24)
- params (48)
- params= (12)
-
params
_ ok? (12) - paranoid (12)
- parent= (12)
- parse (96)
- parse! (12)
-
parse
_ file (22) -
parse
_ files _ matching (12) -
parse
_ header (12) -
parse
_ line (12) -
parse
_ range _ header (12) -
parse
_ time (12) -
password
_ field (24) - patch (24)
- path (24)
- path= (36)
-
path
_ info= (12) -
path
_ ok? (12) -
path
_ warning= (12) - pathconf (12)
-
pathmap
_ replace (12) -
pbkdf2
_ hmac (12) -
pbkdf2
_ hmac _ sha1 (12) - peek (12)
-
pending
_ interrupt? (24) - permutation (24)
- pipe? (30)
-
pipeline
_ r (24) -
pipeline
_ rw (24) -
pipeline
_ start (24) -
pipeline
_ w (24) -
pkcs5
_ keyivgen (12) - plain= (12)
- polar (12)
- pop (24)
- popen2 (24)
- popen2e (24)
- popen3 (24)
- post (24)
- post2 (24)
-
post
_ connection _ check (12) -
post
_ form (12) - pow (24)
- pp (24)
- ppx (12)
-
prepare
_ range (12) - prepend (12)
- pretty (12)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
prev
_ month (12) -
previous
_ sibling= (12) - prime? (12)
-
prime
_ fasttest? (12) - print (24)
- printn (12)
- priority (12)
- priority= (12)
-
priv
_ key= (12) -
private
_ class _ method (24) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) -
process
_ args (1) - propfind (12)
- proppatch (12)
-
protected
_ instance _ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (24) -
proxy
_ address= (12) -
proxy
_ basic _ auth (24) -
proxy
_ from _ env= (12) -
proxy
_ pass= (12) -
proxy
_ port= (12) -
proxy
_ user= (12) -
psych
_ to _ yaml (12) -
psych
_ y (12) -
psych
_ yaml _ as (4) -
pub
_ key= (12) -
public
_ class _ method (24) -
public
_ instance _ method (12) -
public
_ instance _ methods (12) -
public
_ method (12) -
public
_ method _ defined? (12) -
public
_ methods (24) - puke (1)
- push (72)
- pushd (6)
- pushdir (6)
- put (12)
- put2 (24)
- putc (60)
- puts (12)
-
query
_ string= (12) - quo (48)
- quote (12)
- quoted= (12)
-
radio
_ group (24) - raise (12)
-
rake
_ extension (12) - range= (24)
- rassoc (12)
- raw (12)
-
rb
_ define _ class _ under (12) - read (132)
-
read
_ all (24) -
read
_ body (24) -
read
_ cache _ data (12) -
read
_ timeout= (12) - readable? (30)
-
readable
_ real? (30) - readline (39)
- readlines (75)
- readlink (30)
- realdirpath (24)
- realpath (36)
-
reason
_ phrase (12) -
reason
_ phrase= (12) - redirect? (12)
- refresh (24)
- regexp (12)
- register (12)
-
relative
_ path _ from (12) - remainder (27)
-
remove
_ dir (12) -
remove
_ entry (12) -
remove
_ entry _ secure (12) -
remove
_ file (12) -
remove
_ handler (12) -
remove
_ method (12) -
remove
_ response _ handler (12) - rename (30)
- reopen (24)
- replace (84)
-
replace
_ child (12) -
replace
_ with (12) - report (24)
-
report
_ on _ exception (18) -
report
_ on _ exception= (18) - request (36)
-
request
_ get (24) -
request
_ head (24) -
request
_ http _ version= (12) -
request
_ method= (12) -
request
_ post (24) -
request
_ put (24) -
request
_ uri= (12) - require (12)
-
require
_ path= (12) -
require
_ paths= (12) - reset (36)
-
reset
_ cache _ for (12) - restore (12)
- result (7)
-
result
_ with _ hash (8) - rjust (12)
- rm (18)
- rmdir (30)
- round (21)
- rshift! (12)
-
safe
_ load (19) -
save
_ history= (12) - scalar (12)
- scan (12)
- scheme= (12)
-
script
_ name= (12) -
scrolling
_ list (24) - scrub (36)
- scrub! (36)
- search (48)
-
search
_ convpath (12) -
search
_ full (12) -
search
_ with _ source (24) - seek (36)
- send (12)
-
send
_ request (12) - separator (12)
- seplist (12)
-
server
_ error? (12) - service (24)
-
session
_ cache _ mode= (12) -
session
_ cache _ size= (12) -
set
_ cache _ data (12) -
set
_ content _ type (12) -
set
_ debug _ output (12) -
set
_ dictionary (24) -
set
_ error (12) -
set
_ form _ data (12) -
set
_ log (1) -
set
_ params (12) -
set
_ passwd (36) -
set
_ range (36) -
set
_ redirect (12) -
set
_ trace _ func (12) -
set
_ visibility _ for (12) - setacl (12)
- setgid? (30)
- setpriority (12)
- setuid? (30)
-
setup
_ params (12) -
sev
_ threshold= (12) - sfork (6)
- sh (12)
-
sharing
_ detection (12) -
sharing
_ detection= (12) - shebang (12)
- shellescape (12)
- shelljoin (12)
- shellsplit (12)
- shellwords (12)
- shift (48)
-
show
_ all= (12) -
show
_ lookup _ failure (12) - shuffle! (24)
- shutdown (24)
- sin (30)
- sin! (6)
-
single
_ delegate (12) -
singleline
_ format (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - sinh (18)
- sinh! (6)
- size (30)
- size? (30)
-
size
_ opt _ params (12) -
size
_ params (12) - sleep (10)
- slice (84)
- slice! (12)
-
sockaddr
_ in (12) -
sockaddr
_ un (12) - socket? (30)
- sort (12)
-
spec
_ path (12) - split (61)
-
split
_ all (12) -
split
_ header _ value (12) - sprintf (12)
- sqrt (30)
- sqrt! (6)
- squeeze (12)
- squeeze! (12)
-
ssl
_ params (12) -
ssl
_ timeout= (12) -
ssl
_ version= (12) - start (148)
-
start
_ document (12) -
start
_ job (6) -
start
_ mapping (12) -
start
_ sequence (12) -
start
_ stream (12) -
start
_ with? (18) - stat (30)
-
static
_ path= (12) - status= (12)
- step (28)
- sticky? (30)
- store (24)
- strftime (24)
-
strip
_ hashes (12) -
strongly
_ connected _ components (12) - strptime (24)
- style= (36)
- sub (72)
- sub! (24)
-
sub
_ ext (12) - submit (24)
- success? (12)
- summarize (24)
-
summary
_ indent= (12) -
summary
_ width= (12) - sym (12)
- symlink (18)
- symlink? (30)
-
sync
_ synchronize (6) - synchronize (6)
-
synthesize
_ file _ task (12) - syscall (12)
- sysopen (12)
- sysread (12)
- sysseek (12)
- system (18)
-
system
_ path (6) -
system
_ path= (6) - table (12)
- tag= (36)
-
tag
_ directives= (12) - take (24)
- tally (8)
- tan (18)
- tan! (6)
- tanh (18)
- tanh! (6)
- tcp (36)
-
tcp
_ server _ loop (12) -
tcp
_ server _ sockets (24) - tee (18)
-
terminate
_ job (6) - test (18)
- text (24)
-
text
_ field (24) - textarea (24)
- thread (12)
-
thread
_ variable? (12) - throw (12)
- time (12)
-
tmp
_ dh _ callback= (12) -
to
_ a (12) -
to
_ enum (24) -
to
_ h (19) -
to
_ json (132) -
to
_ yaml (24) - tokenize (12)
- touch (12)
- trace (12)
-
trace
_ var (24) -
transform
_ keys (12) -
transform
_ keys! (12) - traverse (12)
- truncate (42)
-
trusted
_ cert _ path (12) -
try
_ constant (24) -
try
_ cpp (24) -
try
_ file (12) -
try
_ func (24) -
try
_ static _ assert (24) -
try
_ type (24) -
try
_ var (24) - tsort (12)
-
tsort
_ each (23) -
tsort
_ each _ child (12) -
type
_ params (12) - ucmp (12)
- udp (12)
-
udp
_ server _ loop (12) -
udp
_ server _ sockets (24) -
uid
_ fetch (12) -
uid
_ search (12) -
uid
_ sort (12) -
uid
_ store (12) -
uid
_ thread (12) - umount (12)
-
unalias
_ command (12) -
undef
_ method (12) -
undef
_ system _ command (12) - unescape (24)
- unescapeHTML (12)
-
unescape
_ html (12) - ungetbyte (12)
- ungetc (48)
- union (7)
- unix (36)
-
unix
_ rights (12) -
unix
_ server _ loop (12) -
unix
_ server _ socket (24) - unlink (30)
- unlock (12)
-
unmatched
_ alias _ lists= (12) - unmount (12)
- unpack (12)
- unparse (12)
- unshift (36)
-
untrace
_ var (12) - update (120)
- uptodate? (12)
-
use
_ ssl= (12) - user= (12)
- utc (24)
- utime (30)
- value= (12)
- value? (60)
-
values
_ at (36) - verbose= (6)
- verify (24)
-
verify
_ callback= (12) -
verify
_ chain= (12) -
verify
_ compaction _ references (6) -
verify
_ depth= (24) -
verify
_ gem (12) -
verify
_ gem _ file (12) -
verify
_ trust _ dir (12) - version= (12)
-
virtual
_ host (12) - wait (12)
-
waiting
_ job? (6) -
warn
_ legacy (12) -
when
_ writing (12) - width= (12)
- with (3)
-
with
_ config (24) -
with
_ defaults (12) -
with
_ object (48) -
with
_ werror (24) -
world
_ readable? (24) -
world
_ writable? (24) - wrap (24)
- writable? (30)
-
writable
_ real? (30) - write (72)
-
write
_ timeout= (7) - xmlschema (60)
- y (12)
- yaml (12)
-
yaml
_ as (4) - zero? (30)
- | (72)
検索結果
先頭5件
- ERB
:: Util . # h(s) -> String - REXML
:: Element # each _ element _ with _ attribute(key , value = nil , max = 0 , name = nil) {|element| . . . } -> () - REXML
:: Element # each _ element _ with _ text(text = nil , max = 0 , name = nil) {|element| . . . } -> () - Enumerable
# each _ with _ index(*args) -> Enumerator - Enumerable
# each _ with _ index(*args) {|item , index| . . . } -> self
-
ERB
:: Util . # h(s) -> String (18107.0) -
文字列 s を HTML用にエスケープした文字列を返します。
...文字列 s を HTML用にエスケープした文字列を返します。
文字列 s 中に含まれる &"<> を、実体参照 & " < > にそれぞれ変更した文字列を返します
(CGI.escapeHTMLとほぼ同じです)。
@param s HTMLエスケープを行う文字列
//......emlist[例][ruby]{
require "erb"
include ERB::Util
puts html_escape("is a > 0 & a < 10?")
# is a > 0 & a < 10?
//}... -
REXML
:: Element # each _ element _ with _ attribute(key , value = nil , max = 0 , name = nil) {|element| . . . } -> () (12224.0) -
特定の属性を持つすべての子要素を引数としてブロックを呼び出します。
...、それは xpath 文字列と見なされ、
それにマッチするもののみが対象となります。
max に 0 を指定すると、max の指定は無視されます(0個ではありません)。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param max ブロック......大個数
@param name xpath文字列
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a><b id='1'/><c id='2'/><d id='1'/><e/></a>")
doc.root.each_element_with_attribute('id'){|e| p e }
# >> <b id='1'/>
# >> <c id='2'/>
# >> <d id='1'/>
doc.root.each_element_with_attribute('id'......, '1'){|e| p e }
# >> <b id='1'/>
# >> <d id='1'/>
doc.root.each_element_with_attribute('id', '1', 1){|e| p e }
# >> <b id='1'/>
doc.root.each_element_with_attribute('id', '1', 0, 'd'){|e| p e }
# >> <d id='1'/>
//}... -
REXML
:: Element # each _ element _ with _ text(text = nil , max = 0 , name = nil) {|element| . . . } -> () (12218.0) -
テキストを子ノードとして 持つすべての子要素を引数としてブロックを呼び出します。
...定すると、それは xpath 文字列と見なされ、
それにマッチするもののみが対象となります。
max に 0 を指定すると、max の指定は無視されます(0個ではありません)。
@param text テキストの中身(文字列)
@param max ブロック呼出の......要素の最大個数
@param name xpath文字列
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>'
doc.root.each_element_with_text {|e|p e}
# >> <b> ... </>
# >> <c> ... </>
# >> <d> ... </>
doc.root.each_element_with_text('b'){|e|p e}
# >> <......b> ... </>
# >> <c> ... </>
doc.root.each_element_with_text('b', 1){|e|p e}
# >> <b> ... </>
doc.root.each_element_with_text(nil, 0, 'd'){|e|p e}
# >> <d> ... </>
//}... -
Enumerable
# each _ with _ index(*args) -> Enumerator (12206.0) -
要素とそのインデックスをブロックに渡して繰り返します。
...th_index は offset 引数を受け取りますが、
each_with_index は受け取りません (引数はイテレータメソッドにそのまま渡されます)。
@param args イテレータメソッド (each など) にそのまま渡されます。
//emlist[例][ruby]{
[5, 10, 15].each_with_......index do |n, idx|
p [n, idx]
end
# => [5, 0]
# [10, 1]
# [15, 2]
//}
//emlist[引数ありの例][ruby]{
require 'stringio'
StringIO.new("foo|bar|baz").each_with_index("|") do |s, i|
p [s, i]
end
# => ["foo|", 0]
# ["bar|", 1]
# ["baz", 2]
//}
@see Enumerator#with_index... -
Enumerable
# each _ with _ index(*args) {|item , index| . . . } -> self (12206.0) -
要素とそのインデックスをブロックに渡して繰り返します。
...th_index は offset 引数を受け取りますが、
each_with_index は受け取りません (引数はイテレータメソッドにそのまま渡されます)。
@param args イテレータメソッド (each など) にそのまま渡されます。
//emlist[例][ruby]{
[5, 10, 15].each_with_......index do |n, idx|
p [n, idx]
end
# => [5, 0]
# [10, 1]
# [15, 2]
//}
//emlist[引数ありの例][ruby]{
require 'stringio'
StringIO.new("foo|bar|baz").each_with_index("|") do |s, i|
p [s, i]
end
# => ["foo|", 0]
# ["bar|", 1]
# ["baz", 2]
//}
@see Enumerator#with_index... -
Enumerable
# each _ with _ object(obj) -> Enumerator (12206.0) -
与えられた任意のオブジェクトと要素をブロックに渡し繰り返し、最初に与えられたオブジェクトを返します。
...返します。
ブロックを省略した場合は Enumerator を返します。
@param obj 任意のオブジェクトを指定します。
//emlist[例][ruby]{
evens = (1..10).each_with_object([]) {|i, a| a << i*2 }
# => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
//}
@see Enumerator#with_object... -
Enumerable
# each _ with _ object(obj) {|(*args) , memo _ obj| . . . } -> object (12206.0) -
与えられた任意のオブジェクトと要素をブロックに渡し繰り返し、最初に与えられたオブジェクトを返します。
...返します。
ブロックを省略した場合は Enumerator を返します。
@param obj 任意のオブジェクトを指定します。
//emlist[例][ruby]{
evens = (1..10).each_with_object([]) {|i, a| a << i*2 }
# => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
//}
@see Enumerator#with_object... -
Matrix
# each _ with _ index(which = :all) -> Enumerator (12206.0) -
行列の各要素をその位置とともに引数としてブロックを呼び出します。
...。
which で処理する要素の範囲を指定することができます。
Matrix#each と同じなのでそちらを参照してください。
ブロックを省略した場合、 Enumerator を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].each_with_index do......|e, row, col|
puts "#{e} at #{row}, #{col}"
end
# => 1 at 0, 0
# => 2 at 0, 1
# => 3 at 1, 0
# => 4 at 1, 1
//}
@param which どの要素に対してブロックを呼び出すのかを Symbol で指定します
@see Matrix#each... -
Matrix
# each _ with _ index(which = :all) {|e , row , col| . . . } -> self (12206.0) -
行列の各要素をその位置とともに引数としてブロックを呼び出します。
...。
which で処理する要素の範囲を指定することができます。
Matrix#each と同じなのでそちらを参照してください。
ブロックを省略した場合、 Enumerator を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[ [1,2], [3,4] ].each_with_index do......|e, row, col|
puts "#{e} at #{row}, #{col}"
end
# => 1 at 0, 0
# => 2 at 0, 1
# => 3 at 1, 0
# => 4 at 1, 1
//}
@param which どの要素に対してブロックを呼び出すのかを Symbol で指定します
@see Matrix#each...