別のキーワード
ライブラリ
- ビルトイン (4253)
- benchmark (33)
- bigdecimal (72)
-
cgi
/ core (22) -
cgi
/ session (44) -
cgi
/ session / pstore (11) -
cgi
/ util (132) - coverage (46)
- csv (231)
- date (539)
- dbm (33)
- debug (11)
- delegate (11)
- digest (44)
-
digest
/ sha2 (11) - drb (84)
-
drb
/ acl (11) -
drb
/ extserv (11) -
drb
/ extservm (22) -
drb
/ gw (11) -
drb
/ timeridconv (11) - e2mmap (42)
- erb (22)
- etc (44)
- fiber (8)
- fiddle (143)
-
fiddle
/ import (33) - fileutils (55)
- forwardable (22)
- gdbm (33)
-
io
/ console (11) -
io
/ console / size (22) - ipaddr (33)
- irb (66)
-
irb
/ cmd / nop (22) -
irb
/ context (11) -
irb
/ ext / save-history (11) -
irb
/ extend-command (66) -
irb
/ frame (33) -
irb
/ help (11) -
irb
/ input-method (44) -
irb
/ inspector (33) -
irb
/ magic-file (33) -
irb
/ xmp (11) - json (99)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / ostruct (11) -
json
/ add / range (11) -
json
/ add / rational (11) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / symbol (11) -
json
/ add / time (11) - logger (23)
- matrix (252)
-
minitest
/ spec (4) -
minitest
/ unit (5) - monitor (11)
-
mutex
_ m (33) -
net
/ ftp (42) -
net
/ http (286) -
net
/ imap (154) -
net
/ pop (187) -
net
/ smtp (94) -
net
/ telnet (4) - open-uri (36)
- openssl (2123)
- optparse (77)
- ostruct (11)
- pathname (55)
- pp (33)
- prettyprint (44)
- prime (110)
- pstore (11)
- psych (311)
- pty (33)
- rake (165)
-
rake
/ gempackagetask (11) -
rake
/ packagetask (11) -
rake
/ rdoctask (11) -
rake
/ testtask (11) - rbconfig (22)
-
rdoc
/ code _ object (11) -
rdoc
/ context (22) -
rdoc
/ generator / json _ index (11) -
rdoc
/ markdown (22) -
rdoc
/ markup (11) -
rdoc
/ markup / formatter (11) -
rdoc
/ markup / to _ ansi (11) -
rdoc
/ markup / to _ bs (11) -
rdoc
/ markup / to _ html (11) -
rdoc
/ markup / to _ html _ crossref (11) -
rdoc
/ markup / to _ rdoc (11) -
rdoc
/ parser (44) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
rdoc
/ parser / simple (11) -
rdoc
/ rdoc (11) -
rdoc
/ stats (11) -
rdoc
/ top _ level (44) - readline (275)
- resolv (286)
- resolv-replace (33)
-
rexml
/ document (385) -
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
rexml
/ parsers / ultralightparser (11) -
rinda
/ rinda (22) -
rinda
/ tuplespace (11) - ripper (22)
-
ripper
/ filter (11) -
ripper
/ lexer (44) -
ripper
/ sexp (22) -
rubygems
/ builder (11) -
rubygems
/ command (55) -
rubygems
/ command _ manager (11) -
rubygems
/ defaults (99) -
rubygems
/ dependency _ installer (11) -
rubygems
/ dependency _ list (11) -
rubygems
/ doc _ manager (22) -
rubygems
/ ext / builder (22) -
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ format (22) -
rubygems
/ gem _ openssl (11) -
rubygems
/ gem _ path _ searcher (11) -
rubygems
/ indexer (11) -
rubygems
/ installer (44) -
rubygems
/ old _ format (33) -
rubygems
/ package (11) -
rubygems
/ package / tar _ header (11) -
rubygems
/ package / tar _ output (11) -
rubygems
/ package / tar _ reader (11) -
rubygems
/ package / tar _ writer (33) -
rubygems
/ platform (33) -
rubygems
/ remote _ fetcher (22) -
rubygems
/ requirement (44) -
rubygems
/ security (77) -
rubygems
/ server (22) -
rubygems
/ source _ index (55) -
rubygems
/ source _ info _ cache (99) -
rubygems
/ source _ info _ cache _ entry (11) -
rubygems
/ spec _ fetcher (11) -
rubygems
/ specification (198) -
rubygems
/ user _ interaction (11) -
rubygems
/ version (33) - sdbm (33)
- securerandom (73)
- set (33)
- shell (117)
-
shell
/ command-processor (66) -
shell
/ filter (6) -
shell
/ process-controller (42) - shellwords (33)
- singleton (11)
- socket (891)
- stringio (33)
- strscan (22)
- sync (24)
-
syslog
/ logger (22) - tempfile (55)
-
test
/ unit (1) - thread (6)
- thwait (18)
- time (99)
- tmpdir (33)
- tracer (132)
- tsort (85)
- uri (402)
- weakref (11)
-
webrick
/ cgi (11) -
webrick
/ httpauth / basicauth (22) -
webrick
/ httpauth / digestauth (22) -
webrick
/ httpauth / htdigest (11) -
webrick
/ httpauth / htgroup (11) -
webrick
/ httpauth / htpasswd (11) -
webrick
/ httpproxy (33) -
webrick
/ httprequest (11) -
webrick
/ httpresponse (11) -
webrick
/ httpserver (22) -
webrick
/ httpservlet / abstract (22) -
webrick
/ httpservlet / cgihandler (11) -
webrick
/ httpservlet / erbhandler (11) -
webrick
/ httpservlet / filehandler (22) -
webrick
/ httpservlet / prochandler (11) -
webrick
/ httpstatus (11) -
webrick
/ httputils (11) -
webrick
/ httpversion (22) -
webrick
/ log (11) -
webrick
/ ssl (11) - win32ole (253)
-
yaml
/ store (19) - zlib (198)
クラス
- ACL (11)
- Addrinfo (88)
- Array (55)
- BasicSocket (22)
-
Benchmark
:: Job (11) -
Benchmark
:: Report (11) -
Benchmark
:: Tms (11) - BigDecimal (83)
- CGI (154)
-
CGI
:: Cookie (22) -
CGI
:: Session (11) -
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: MemoryStore (11) -
CGI
:: Session :: NullStore (11) -
CGI
:: Session :: PStore (11) - CSV (209)
-
CSV
:: Row (11) -
CSV
:: Table (11) - Class (22)
- Complex (44)
- Coverage (46)
- DBM (33)
-
DRb
:: DRbObject (11) -
DRb
:: DRbServer (73) -
DRb
:: ExtServ (11) -
DRb
:: ExtServManager (22) -
DRb
:: GW (11) -
DRb
:: TimerIdConv (11) - Data (14)
- Date (363)
- DateTime (198)
-
Digest
:: Base (44) -
Digest
:: SHA2 (11) - Dir (411)
- ERB (22)
- Encoding (88)
-
Encoding
:: Converter (66) - Enumerator (23)
-
Enumerator
:: Chain (6) -
Enumerator
:: Lazy (11) -
Errno
:: EXXX (22) -
Etc
:: Group (22) -
Etc
:: Passwd (22) - Exception (40)
- Fiber (33)
-
Fiddle
:: CStruct (33) -
Fiddle
:: Closure (11) -
Fiddle
:: Closure :: BlockCaller (11) -
Fiddle
:: Function (11) -
Fiddle
:: Handle (44) -
Fiddle
:: Pointer (44) - File (708)
-
File
:: Stat (11) - FrozenError (12)
- GDBM (33)
-
Gem
:: Builder (11) -
Gem
:: Command (55) -
Gem
:: CommandManager (11) -
Gem
:: DependencyInstaller (11) -
Gem
:: DependencyList (11) -
Gem
:: DocManager (22) -
Gem
:: Ext :: Builder (22) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: FileOperations (11) -
Gem
:: Format (22) -
Gem
:: GemPathSearcher (11) -
Gem
:: Indexer (11) -
Gem
:: Installer (44) -
Gem
:: OldFormat (33) -
Gem
:: Package :: TarHeader (11) -
Gem
:: Package :: TarOutput (11) -
Gem
:: Package :: TarReader (11) -
Gem
:: Package :: TarWriter (11) -
Gem
:: Package :: TarWriter :: BoundedStream (11) -
Gem
:: Package :: TarWriter :: RestrictedStream (11) -
Gem
:: Platform (33) -
Gem
:: RemoteFetcher (11) -
Gem
:: RemoteFetcher :: FetchError (11) -
Gem
:: Requirement (44) -
Gem
:: Security :: Policy (22) -
Gem
:: Security :: Signer (11) -
Gem
:: Server (22) -
Gem
:: SourceIndex (55) -
Gem
:: SourceInfoCache (99) -
Gem
:: SourceInfoCacheEntry (11) -
Gem
:: SpecFetcher (11) -
Gem
:: Specification (198) -
Gem
:: Version (33) - Hash (60)
- IO (506)
- IPAddr (33)
- IPSocket (11)
-
IRB
:: Context (11) -
IRB
:: ExtendCommand :: Nop (22) -
IRB
:: FileInputMethod (11) -
IRB
:: Frame (33) -
IRB
:: InputMethod (11) -
IRB
:: Inspector (22) -
IRB
:: ReadlineInputMethod (11) -
IRB
:: StdioInputMethod (11) - Integer (43)
-
JSON
:: Parser (11) -
JSON
:: State (22) - KeyError (24)
- Logger (11)
-
Logger
:: Application (1) -
Logger
:: LogDevice (11) - Matrix (201)
-
MiniTest
:: Spec (4) -
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (3) - Module (52)
- Monitor (11)
- Mutex (2)
- NameError (17)
-
Net
:: FTP (42) -
Net
:: HTTP (264) -
Net
:: HTTPRequest (11) -
Net
:: HTTPResponse (11) -
Net
:: IMAP (154) -
Net
:: POP3 (187) -
Net
:: SMTP (94) -
Net
:: Telnet (4) - NoMethodError (17)
- Object (22)
-
OpenSSL
:: ASN1 :: ASN1Data (11) -
OpenSSL
:: ASN1 :: BMPString (22) -
OpenSSL
:: ASN1 :: BitString (33) -
OpenSSL
:: ASN1 :: Boolean (22) -
OpenSSL
:: ASN1 :: Enumerated (22) -
OpenSSL
:: ASN1 :: GeneralString (22) -
OpenSSL
:: ASN1 :: GeneralizedTime (22) -
OpenSSL
:: ASN1 :: GraphicString (22) -
OpenSSL
:: ASN1 :: IA5String (22) -
OpenSSL
:: ASN1 :: ISO64String (22) -
OpenSSL
:: ASN1 :: Integer (22) -
OpenSSL
:: ASN1 :: Null (22) -
OpenSSL
:: ASN1 :: NumericString (22) -
OpenSSL
:: ASN1 :: ObjectId (33) -
OpenSSL
:: ASN1 :: OctetString (22) -
OpenSSL
:: ASN1 :: PrintableString (22) -
OpenSSL
:: ASN1 :: Sequence (22) -
OpenSSL
:: ASN1 :: Set (22) -
OpenSSL
:: ASN1 :: T61String (22) -
OpenSSL
:: ASN1 :: UTCTime (22) -
OpenSSL
:: ASN1 :: UTF8String (22) -
OpenSSL
:: ASN1 :: UniversalString (22) -
OpenSSL
:: ASN1 :: VideotexString (22) -
OpenSSL
:: BN (88) -
OpenSSL
:: Cipher (22) -
OpenSSL
:: Cipher :: AES (11) -
OpenSSL
:: Cipher :: AES128 (11) -
OpenSSL
:: Cipher :: AES192 (11) -
OpenSSL
:: Cipher :: AES256 (11) -
OpenSSL
:: Cipher :: BF (11) -
OpenSSL
:: Cipher :: CAST5 (11) -
OpenSSL
:: Cipher :: DES (11) -
OpenSSL
:: Cipher :: IDEA (11) -
OpenSSL
:: Cipher :: RC2 (22) -
OpenSSL
:: Cipher :: RC4 (22) -
OpenSSL
:: Cipher :: RC5 (11) -
OpenSSL
:: Config (33) -
OpenSSL
:: Digest (22) -
OpenSSL
:: Digest :: DSS (33) -
OpenSSL
:: Digest :: DSS1 (33) -
OpenSSL
:: Digest :: Digest (11) -
OpenSSL
:: Digest :: MD2 (33) -
OpenSSL
:: Digest :: MD4 (33) -
OpenSSL
:: Digest :: MD5 (33) -
OpenSSL
:: Digest :: MDC2 (33) -
OpenSSL
:: Digest :: RIPEMD160 (33) -
OpenSSL
:: Digest :: SHA (33) -
OpenSSL
:: Digest :: SHA1 (33) -
OpenSSL
:: Digest :: SHA224 (33) -
OpenSSL
:: Digest :: SHA256 (33) -
OpenSSL
:: Digest :: SHA384 (33) -
OpenSSL
:: Digest :: SHA512 (33) -
OpenSSL
:: Engine (44) -
OpenSSL
:: HMAC (33) -
OpenSSL
:: Netscape :: SPKI (22) -
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: OCSP :: CertificateId (11) -
OpenSSL
:: OCSP :: Request (22) -
OpenSSL
:: OCSP :: Response (33) -
OpenSSL
:: PKCS12 (22) -
OpenSSL
:: PKCS7 (66) -
OpenSSL
:: PKCS7 :: RecipientInfo (11) -
OpenSSL
:: PKCS7 :: SignerInfo (11) -
OpenSSL
:: PKey :: DH (55) -
OpenSSL
:: PKey :: DSA (66) -
OpenSSL
:: PKey :: EC (33) -
OpenSSL
:: PKey :: EC :: Group (22) -
OpenSSL
:: PKey :: EC :: Point (33) -
OpenSSL
:: PKey :: RSA (77) -
OpenSSL
:: SSL :: SSLContext (22) -
OpenSSL
:: SSL :: SSLServer (11) -
OpenSSL
:: SSL :: SSLSocket (22) -
OpenSSL
:: SSL :: Session (11) -
OpenSSL
:: X509 :: Attribute (22) -
OpenSSL
:: X509 :: CRL (22) -
OpenSSL
:: X509 :: Certificate (22) -
OpenSSL
:: X509 :: Extension (22) -
OpenSSL
:: X509 :: ExtensionFactory (11) -
OpenSSL
:: X509 :: Name (66) -
OpenSSL
:: X509 :: Request (22) -
OpenSSL
:: X509 :: Revoked (11) -
OpenSSL
:: X509 :: Store (11) -
OpenSSL
:: X509 :: StoreContext (11) - OpenStruct (22)
- OptionParser (66)
-
OptionParser
:: ParseError (11) - PP (33)
- PStore (11)
- Pathname (55)
- PrettyPrint (44)
- Prime (66)
-
Prime
:: PseudoPrimeGenerator (11) - Proc (18)
-
Psych
:: Emitter (11) -
Psych
:: Nodes :: Alias (11) -
Psych
:: Nodes :: Document (11) -
Psych
:: Nodes :: Mapping (11) -
Psych
:: Nodes :: Scalar (11) -
Psych
:: Nodes :: Sequence (11) -
Psych
:: Nodes :: Stream (11) -
Psych
:: Parser (11) -
Psych
:: Stream (11) -
Psych
:: TreeBuilder (11) -
Psych
:: Visitors :: YAMLTree (11) -
RDoc
:: CodeObject (11) -
RDoc
:: Context (11) -
RDoc
:: Context :: Section (11) -
RDoc
:: Generator :: JsonIndex (11) -
RDoc
:: Markdown (22) -
RDoc
:: Markup (11) -
RDoc
:: Markup :: Formatter (11) -
RDoc
:: Markup :: ToAnsi (11) -
RDoc
:: Markup :: ToBs (11) -
RDoc
:: Markup :: ToHtml (11) -
RDoc
:: Markup :: ToHtmlCrossref (11) -
RDoc
:: Markup :: ToRdoc (11) -
RDoc
:: Parser (44) -
RDoc
:: Parser :: C (11) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: Parser :: Simple (11) -
RDoc
:: RDoc (11) -
RDoc
:: Stats (11) -
RDoc
:: TopLevel (44) -
REXML
:: AttlistDecl (11) -
REXML
:: Attribute (22) -
REXML
:: Attributes (11) -
REXML
:: CData (11) -
REXML
:: Child (11) -
REXML
:: Comment (22) -
REXML
:: DocType (11) -
REXML
:: Document (44) -
REXML
:: Element (11) -
REXML
:: ElementDecl (11) -
REXML
:: Elements (11) -
REXML
:: Entity (33) -
REXML
:: ExternalEntity (11) -
REXML
:: Formatters :: Default (11) -
REXML
:: Formatters :: Pretty (11) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: Instruction (11) -
REXML
:: NotationDecl (11) -
REXML
:: Parent (11) -
REXML
:: Parsers :: PullParser (11) -
REXML
:: Parsers :: SAX2Parser (11) -
REXML
:: Parsers :: StreamParser (11) -
REXML
:: Parsers :: UltraLightParser (11) -
REXML
:: Text (33) -
REXML
:: XMLDecl (11) -
REXML
:: XPath (33) -
Rake
:: FileList (11) -
Rake
:: FileTask (11) -
Rake
:: GemPackageTask (11) -
Rake
:: InvocationChain (11) -
Rake
:: PackageTask (11) -
Rake
:: RDocTask (11) -
Rake
:: Task (66) -
Rake
:: TaskArguments (11) -
Rake
:: TestTask (11) - Random (114)
- Range (22)
- Rational (11)
- Regexp (99)
- Resolv (77)
-
Resolv
:: DNS (33) -
Resolv
:: DNS :: Name (22) -
Resolv
:: DNS :: Resource :: HINFO (11) -
Resolv
:: DNS :: Resource :: IN :: A (11) -
Resolv
:: DNS :: Resource :: IN :: AAAA (11) -
Resolv
:: DNS :: Resource :: IN :: SRV (11) -
Resolv
:: DNS :: Resource :: IN :: WKS (11) -
Resolv
:: DNS :: Resource :: MINFO (11) -
Resolv
:: DNS :: Resource :: MX (11) -
Resolv
:: DNS :: Resource :: SOA (11) -
Resolv
:: DNS :: Resource :: TXT (11) -
Resolv
:: Hosts (11) -
Resolv
:: IPv4 (22) -
Resolv
:: IPv6 (22) -
Rinda
:: SimpleRenewer (11) -
Rinda
:: TupleSpace (11) -
Rinda
:: TupleSpaceProxy (11) - Ripper (88)
-
Ripper
:: Filter (11) -
RubyVM
:: InstructionSequence (95) - SDBM (33)
- SOCKSSocket (33)
- Set (33)
- Shell (117)
-
Shell
:: CommandProcessor (66) -
Shell
:: Filter (6) -
Shell
:: ProcessController (42) - SignalException (33)
- SimpleDelegator (11)
- Socket (451)
-
Socket
:: AncillaryData (55) -
Socket
:: Option (44) -
Socket
:: UDPSource (11) - String (39)
- StringIO (33)
- StringScanner (22)
- Struct (69)
- Symbol (22)
- Sync (6)
-
Sync
_ m :: Err (6) -
Sync
_ m :: LockModeFailer (6) -
Sync
_ m :: UnknownLocker (6) -
Syslog
:: Logger (22) - SystemCallError (44)
- SystemExit (11)
- TCPServer (22)
- TCPSocket (55)
- Tempfile (55)
- Thread (173)
-
Thread
:: ConditionVariable (11) -
Thread
:: Mutex (9) -
Thread
:: Queue (14) -
Thread
:: SizedQueue (11) - ThreadGroup (11)
- ThreadsWait (18)
- Time (281)
- TracePoint (32)
- Tracer (143)
- UDPSocket (22)
- UNIXServer (44)
- UNIXSocket (66)
-
URI
:: FTP (44) -
URI
:: Generic (88) -
URI
:: HTTP (33) -
URI
:: LDAP (33) -
URI
:: MailTo (33) - Vector (51)
-
WEBrick
:: BasicLog (11) -
WEBrick
:: CGI (11) -
WEBrick
:: Cookie (44) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPAuth :: BasicAuth (22) -
WEBrick
:: HTTPAuth :: DigestAuth (22) -
WEBrick
:: HTTPAuth :: Htdigest (11) -
WEBrick
:: HTTPAuth :: Htgroup (11) -
WEBrick
:: HTTPAuth :: Htpasswd (11) -
WEBrick
:: HTTPProxyServer (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (11) -
WEBrick
:: HTTPServer (11) -
WEBrick
:: HTTPServer :: MountTable (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (22) -
WEBrick
:: HTTPServlet :: CGIHandler (11) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (11) -
WEBrick
:: HTTPServlet :: ERBHandler (11) -
WEBrick
:: HTTPServlet :: FileHandler (11) -
WEBrick
:: HTTPServlet :: ProcHandler (11) -
WEBrick
:: HTTPUtils :: FormData (11) -
WEBrick
:: HTTPVersion (22) - WIN32OLE (121)
-
WIN32OLE
_ EVENT (22) -
WIN32OLE
_ METHOD (11) -
WIN32OLE
_ PARAM (11) -
WIN32OLE
_ TYPE (44) -
WIN32OLE
_ TYPELIB (22) -
WIN32OLE
_ VARIANT (22) - WeakRef (11)
- XMP (11)
-
YAML
:: Store (19) -
Zlib
:: Deflate (22) -
Zlib
:: GzipFile (33) -
Zlib
:: GzipReader (55) -
Zlib
:: GzipWriter (55) -
Zlib
:: Inflate (22) -
Zlib
:: ZStream (11)
モジュール
- Exception2MessageMapper (42)
- Fiddle (22)
- FileUtils (55)
- Forwardable (22)
- GC (112)
-
GC
:: Profiler (88) - Gem (110)
-
Gem
:: DefaultUserInteraction (11) -
Gem
:: Security (44) - IRB (88)
-
IRB
:: ContextExtender (22) -
IRB
:: ExtendCommandBundle (44) -
IRB
:: HistorySavingAbility (11) - JSON (55)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) - MiniTest (1)
-
Mutex
_ m (33) - OpenURI (22)
- PTY (33)
- Process (95)
- Psych (179)
-
REXML
:: Security (22) - Rake (33)
- RakeFileUtils (22)
- RbConfig (22)
- Readline (143)
-
RubyVM
:: AbstractSyntaxTree (24) -
RubyVM
:: MJIT (18) - SecureRandom (73)
- Shellwords (33)
- Singleton (11)
- TSort (85)
-
Test
:: Unit (1) - URI (185)
-
WEBrick
:: HTTPStatus (11) - Warning (18)
オブジェクト
- ENV (669)
-
IRB
:: MagicFile (33) -
Readline
:: HISTORY (132) -
WEBrick
:: NullReader (22) - main (112)
キーワード
- << (11)
- === (11)
- APOP (11)
- CurrentContext (11)
- DEBUG (11)
-
ENCODING
_ SPEC _ RE (11) - Fail (24)
- I (11)
- Inspector (11)
- Proxy (11)
- Raise (6)
- [] (185)
- []= (5)
-
_ httpdate (11) -
_ iso8601 (11) -
_ jisx0301 (11) -
_ load (22) -
_ parse (11) -
_ rfc2822 (11) -
_ rfc3339 (11) -
_ rfc822 (11) -
_ strptime (22) -
_ xmlschema (11) - abort (22)
-
abort
_ on _ exception (11) -
absolute
_ path (11) -
absolute
_ path? (5) - accept (11)
-
accept
_ charset (11) -
accept
_ loop (11) - activate (6)
-
active
_ process _ controllers (6) -
add
_ authenticator (11) -
add
_ generator (11) -
add
_ trusted _ cert (11) - after (1)
-
alias
_ command (18) -
alias
_ extension (11) -
alias
_ map (6) - aliases (11)
-
all
_ classes _ and _ modules (11) -
all
_ symbols (11) -
all
_ waits (12) - alphanumeric (7)
- append (11)
-
append
_ features (11) - application (11)
- application= (11)
- array (11)
-
array
_ attribute (11) -
array
_ attributes (11) -
asciicompat
_ encoding (22) - assoc (11)
- at (47)
- atime (11)
- attribute (11)
-
attribute
_ alias _ singular (11) -
attribute
_ defaults (11) -
attribute
_ names (11) - attributes (11)
-
auto
_ compact (3) - autorun (1)
- base64 (11)
- basename (11)
-
basic
_ quote _ characters (11) -
basic
_ word _ break _ characters (11) - basis (11)
- before (1)
- binread (11)
- binwrite (11)
- birthtime (10)
-
block
_ output _ synchronize (6) - blockdev? (11)
-
body
_ permitted? (11) - bool (11)
- bottom (11)
- build (165)
- build2 (22)
-
build
_ args (11) -
build
_ cert (11) -
build
_ self _ signed _ cert (11) -
builtin
_ curves (11) -
by
_ id (11) - bytes (6)
- cache (11)
-
cache
_ data (11) -
can
_ parse (11) - cascade (6)
- cd (6)
- certs (11)
- chardev? (11)
- chdir (44)
- check (11)
- children (14)
- chmod (11)
- chown (11)
- chroot (11)
- ciphers (11)
- civil (22)
-
class
_ name (11) - cleanup (11)
- clear (33)
- clone (11)
- codepage (11)
- codepage= (11)
-
collect
_ method (11) -
column
_ vector (11) - columns (11)
- combine (14)
- command (11)
- commands (11)
- commercial (22)
- compact (5)
- compatible? (11)
- compile (22)
-
compile
_ file (11) -
compile
_ option (11) -
completer
_ quote _ characters (11) -
completer
_ word _ break _ characters (11) -
completion
_ append _ character (11) -
completion
_ append _ character= (11) -
completion
_ case _ fold (11) -
completion
_ proc (11) - component (11)
- conf (11)
-
configured
_ args (11) - connect (11)
- console (11)
-
console
_ size (11) -
const
_ load (11) - constants (11)
- convert (11)
-
copy
_ stream (22) - correct? (11)
- count (11)
- create (99)
-
create
_ guid (11) -
create
_ id (11) -
create
_ rule (11) - ctime (11)
- current (23)
- debug (28)
- debug= (11)
- debug? (6)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ lock (6) -
debug
_ output _ locked? (6) -
debug
_ output _ try _ lock (6) -
debug
_ output _ unlock (6) - decode (7)
-
decode
_ utf7 (11) -
decode
_ www _ form (11) -
decode
_ www _ form _ component (11) -
def
_ builtin _ commands (6) -
def
_ exception (6) -
def
_ extend _ command (22) -
def
_ inspector (11) -
def
_ system _ command (12) - default (22)
-
default
_ acl (11) -
default
_ argc _ limit (11) -
default
_ bindir (11) -
default
_ console _ size (11) -
default
_ dir (11) -
default
_ exec _ format (11) -
default
_ external (11) -
default
_ id _ conv (11) -
default
_ imap _ port (11) -
default
_ imaps _ port (11) -
default
_ internal (11) -
default
_ load _ limit (11) -
default
_ passive (9) -
default
_ path (11) -
default
_ pop3 _ port (11) -
default
_ pop3s _ port (11) -
default
_ port (55) -
default
_ record _ separator (6) -
default
_ safe _ level (7) -
default
_ sources (11) -
default
_ ssl _ context (11) -
default
_ ssl _ port (22) -
default
_ submission _ port (11) -
default
_ system _ path (6) -
default
_ system _ source _ cache _ dir (11) -
default
_ tls _ port (22) -
default
_ user _ source _ cache _ dir (11) -
default
_ value (11) - define (4)
-
define
_ aliases (11) -
define
_ method (22) -
define
_ task (11) - deflate (11)
- delete (44)
-
delete
_ all (22) -
delete
_ at (11) -
delete
_ if (22) - diagonal (11)
- digest (176)
- directory? (11)
- dirname (11)
- disable (22)
-
disable
_ ssl (11) - disasm (11)
- disassemble (11)
-
display
_ c _ call (11) -
display
_ c _ call? (11) -
display
_ process _ id (11) -
display
_ process _ id? (11) -
display
_ thread _ id (11) -
display
_ thread _ id? (11) -
do
_ not _ reverse _ lookup (11) -
double
_ fig (11) - dump (22)
-
dump
_ stream (11) - dup (3)
- each (110)
-
each
_ active _ object (6) -
each
_ address (11) -
each
_ child (28) -
each
_ key (22) -
each
_ name (11) -
each
_ pair (22) -
each
_ prime (22) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) -
each
_ value (22) - elements (11)
-
emacs
_ editing _ mode (11) - empty (11)
- empty? (38)
- enable (22)
-
enable
_ ssl (11) - enabled? (17)
- encode (7)
-
encode
_ utf7 (11) -
encode
_ www _ form (11) -
encode
_ www _ form _ component (11) - encrypt (11)
- engines (11)
-
entity
_ expansion _ limit (22) -
entity
_ expansion _ text _ limit (22) - entries (22)
- escape (40)
- escapeElement (11)
- escapeHTML (11)
-
escape
_ element (11) -
escape
_ html (11) - except (3)
- exception (11)
- exclusive (11)
- exec (11)
-
exec
_ format (11) - executable? (11)
-
executable
_ real? (11) - execute (11)
- exist? (22)
- exists? (18)
- exit (22)
- exit! (11)
-
extend
_ object (28) - extended (11)
- extension (11)
- extname (11)
-
extra
_ args (11) - extract (44)
- fetch (33)
- fetcher (22)
- file (11)
- file? (11)
-
filename
_ quote _ characters (11) - filter (45)
- filter! (12)
-
filter
_ backtrace (12) - find (11)
-
find
_ class _ named (11) - first (11)
- fnmatch (11)
- fnmatch? (11)
-
for
_ fd (22) - foreach (110)
- fork (33)
- format (11)
-
format
_ date (11) -
format
_ datetime (11) - freeze (5)
- from (11)
-
from
_ file _ by _ path (22) -
from
_ gems _ in (11) -
from
_ installed _ gems (11) -
from
_ io (22) -
from
_ prime _ division (11) -
from
_ source _ index (11) -
from
_ state (11) -
from
_ yaml (11) - ftype (11)
- generate (77)
-
generate
_ line (11) -
generate
_ prime (11) - generator (11)
- get (22)
-
get
_ instance (11) -
get
_ print (22) -
get
_ response (22) -
get
_ screen _ size (11) - getaddress (22)
- getaddresses (11)
- getaddrinfo (22)
- gethostbyaddr (11)
- gethostbyname (22)
- gethostname (11)
- getifaddrs (11)
- getname (11)
- getnameinfo (11)
- getnames (11)
- getopts (22)
- gets (11)
- getservbyname (11)
- getservbyport (11)
- getwd (22)
- glob (44)
- gm (22)
-
gregorian
_ leap? (11) - grpowned? (11)
-
handle
_ interrupt (11) -
has
_ key? (11) -
has
_ value? (11) -
have
_ option? (11) - hex (11)
- hexdigest (165)
- home (22)
-
home
_ install _ warning (11) - hstack (11)
-
http
_ default _ port (11) - httpdate (33)
-
https
_ default _ port (11) - identical? (11)
- identity (11)
- inactivate (6)
- include (11)
- include? (11)
- independent? (11)
- index (7)
- inflate (11)
- initialize (6)
- inspect (22)
-
install
_ builtin _ commands (6) -
install
_ extend _ commands (22) -
install
_ system _ commands (12) -
installed
_ spec _ directories (11) - instance (55)
- int (22)
-
int
_ from _ prime _ division (11) - invert (11)
- ip (11)
-
ip
_ address _ list (11) -
ip
_ pktinfo (11) -
ipv6
_ pktinfo (11) -
irb
_ at _ exit (11) -
irb
_ exit (11) -
irb
_ original _ method _ name (11) -
is
_ version _ 1 _ 1? (11) -
is
_ version _ 1 _ 2? (11) - iso8601 (33)
- it (1)
- jd (22)
- jisx0301 (22)
- join (33)
-
json
_ create (143) -
julian
_ leap? (11) -
keep
_ if (22) - key (11)
- key? (11)
- keys (11)
-
keys
_ with _ inspector (11) -
keyword
_ init? (3) - kill (11)
-
last
_ error (11) -
last
_ match (22) -
last
_ status (7) -
latest
_ gc _ info (22) -
latest
_ system _ cache _ file (11) -
latest
_ user _ cache _ file (11) - lchmod (11)
- lchown (11)
- leap? (11)
- left (11)
- length (22)
- lex (11)
-
libyaml
_ version (11) - limit (11)
-
line
_ stub (6) - linger (11)
- link (11)
- list (33)
- load (44)
-
load
_ documents (8) -
load
_ file (11) -
load
_ from _ binary (9) -
load
_ from _ binary _ extra _ data (9) -
load
_ specification (11) -
load
_ stream (22) - local (33)
- locale (11)
- locale= (11)
-
locale
_ charmap (11) - lstat (11)
- lutime (7)
- main (11)
-
make
_ passwd (22) - malloc (22)
- match (22)
- matches? (11)
-
max
_ flag _ count (11) - member? (11)
- members (13)
- merge! (10)
- mkdir (11)
- mkfifo (9)
- mktime (22)
- mktmpdir (22)
- mode (22)
- mtime (11)
-
must
_ C _ version (11) -
name
_ list (11) - nesting (11)
- new (4654)
- new2 (11)
-
new
_ ntoh (11) -
new
_ seed (11) -
new
_ with _ uri (11) - normalize (11)
-
normalize
_ yaml _ input (11) - notify (6)
- now (22)
-
nowrite
_ flag (11) - ntop (11)
- of (19)
- off (11)
-
ole
_ classes (11) -
ole
_ free (11) -
ole
_ reference _ count (11) -
ole
_ show _ help (11) - on (11)
- open (509)
-
open
_ uri (22) - ordinal (22)
-
original
_ dir (11) -
overwrite
_ accessor (11) - owned? (11)
-
pack
_ sockaddr _ in (11) -
pack
_ sockaddr _ un (11) - pair (22)
- parse (184)
-
parse
_ file (19) -
parse
_ line (11) -
parse
_ openssl (11) -
parse
_ rfc2253 (11) -
parse
_ stream (33) - parser (22)
-
parser
_ for (11) - parsers (11)
- pass (11)
- path (11)
-
path
_ warning (11) - pause (6)
-
peek
_ result (11) -
pending
_ interrupt? (11) - pipe (88)
- pipe? (11)
- polar (11)
- pop (11)
- popen (154)
-
post
_ form (11) - pp (11)
- pretty (11)
- prime? (11)
-
prime
_ division (11) -
print
_ usage (11) - private (23)
-
process
_ controllers _ exclusive (6) - produce (5)
- progids (11)
-
proxy
_ address (11) -
proxy
_ class? (11) -
proxy
_ pass (11) -
proxy
_ port (11) -
proxy
_ user (11) -
pseudo
_ rand (11) -
pseudo
_ rand _ range (11) - public (23)
- push (11)
- pwd (22)
- quote (11)
- rand (44)
-
rand
_ range (11) -
random
_ bytes (11) -
random
_ number (11) - rassoc (11)
-
raw
_ data (11) -
raw
_ seed (2) - read (55)
-
read
_ only (11) -
read
_ smime (11) - readable? (11)
-
readable
_ real? (11) - readlines (44)
- readlink (11)
- realdirpath (11)
- realpath (11)
- rect (11)
- rectangular (11)
- redirector (11)
- regexp (22)
- register (11)
- rehash (11)
- reject (33)
- reject! (22)
-
remove
_ handler (11) - rename (11)
- replace (11)
- report (11)
-
report
_ on _ exception (8) -
required
_ attribute (11) -
required
_ attribute? (11) -
required
_ attributes (11) - reset (22)
- result (22)
- resume (6)
-
rfc1123
_ date (11) - rfc2822 (33)
- rfc3339 (22)
- rfc822 (33)
- rmdir (11)
-
row
_ vector (11) - rows (11)
- ruby (11)
-
ruby2
_ keywords _ hash? (5) -
ruby
_ engine (11) - run (11)
-
run
_ config (6) - running? (7)
-
safe
_ load (17) - scalar (11)
-
scope
_ name (22) - search (11)
-
search
_ convpath (11) -
search
_ with _ source (11) - select (33)
- select! (22)
- sender (11)
-
set
_ screen _ size (11) - setgid? (11)
- setuid? (11)
-
setup
_ argv (1) - sexp (11)
-
sexp
_ raw (11) -
sharing
_ detection (11) - shift (22)
- sign (11)
-
sign
_ cert (11) -
singleline
_ format (11) -
singleline
_ pp (11) - size (44)
- size? (11)
- slice (17)
-
sockaddr
_ in (11) -
sockaddr
_ un (11) - socket? (11)
-
socket
_ type (11) - socketpair (22)
- spawn (11)
-
specific
_ extra _ args (11) -
specific
_ extra _ args _ hash (11) - split (33)
- sqrt (7)
- srand (22)
-
ssl
_ available? (11) -
ssl
_ params (11) - start (116)
- stat (43)
- state (22)
- stdout (11)
-
stdout
_ mutex (11) - sticky? (11)
- stop (11)
- store (11)
- stress (11)
-
strongly
_ connected _ components (11) - strptime (44)
- sym (11)
- symlink (11)
- symlink? (11)
- syslog (11)
- sysopen (11)
-
system
_ cache _ file (11) - table (11)
-
task
_ defined? (11) - tasks (11)
- tcp (33)
-
tcp
_ server _ loop (22) -
tcp
_ server _ sockets (44) -
test
_ methods (1) -
test
_ order (1) -
test
_ suites (1) - tmpdir (11)
-
to
_ a (11) -
to
_ h (17) -
to
_ hash (11) -
to
_ json (11) -
to
_ ptr (11) -
to
_ s (33) -
to
_ tty? (7) - today (22)
-
token
_ match (11) - tokenize (11)
- top (11)
-
total
_ time (11) - trace (11)
-
trace
_ func (11) - truncate (11)
-
trusted
_ cert _ path (11) -
try
_ convert (58) - tsort (11)
-
tsort
_ each (21) - typelibs (22)
- udp (11)
-
udp
_ server _ loop (22) -
udp
_ server _ loop _ on (11) -
udp
_ server _ recv (11) -
udp
_ server _ sockets (44) - ui (11)
- umask (22)
-
unalias
_ command (12) -
undef
_ system _ command (12) - unescape (18)
- unescapeElement (11)
- unescapeHTML (11)
-
unescape
_ element (11) -
unescape
_ html (11) - union (11)
- unit (11)
- unix (33)
-
unix
_ rights (11) -
unix
_ server _ loop (11) -
unix
_ server _ socket (22) - unlink (22)
- unnormalize (11)
-
unpack
_ sockaddr _ in (11) -
unpack
_ sockaddr _ un (11) -
unused
_ bits (11) - update (22)
- urandom (7)
-
urlsafe
_ base64 (11) -
use
_ registry (11) -
use
_ ssl? (11) -
used
_ modules (8) -
user
_ cache _ file (11) -
user
_ dir (11) - using (11)
- utc (22)
- utime (11)
- uuid (11)
-
valid
_ civil? (11) -
valid
_ commercial? (11) -
valid
_ date? (11) -
valid
_ jd? (11) -
valid
_ ordinal? (11) - value? (11)
- values (11)
-
values
_ at (11) - ver (5)
- verbose (28)
- verbose? (17)
-
verbose
_ flag (11) - verify (11)
-
verify
_ compaction _ references (5) - version (22)
-
version
_ 1 _ 1? (11) -
version
_ 1 _ 2 (11) -
version
_ 1 _ 2? (11) -
vi
_ editing _ mode (11) - vstack (11)
-
wait
_ to _ finish _ all _ process _ controllers (6) - warn (8)
-
win32
_ last _ error (11) -
world
_ readable? (11) -
world
_ writable? (11) - wrap (55)
- writable? (11)
-
writable
_ real? (11) - write (22)
-
write
_ smime (11) - xmlschema (33)
-
yaml
_ tag (11) - yield (11)
- zero (29)
- zero? (11)
検索結果
先頭5件
-
DRb
:: ExtServManager . command -> { String => String|[String] } (201.0) -
サービスを起動するためのコマンドを指定するための Hash を 返します。
サービスを起動するためのコマンドを指定するための Hash を
返します。
Hash のキーがサービス名で、値がそのサービスを起動するためのコマンドです。
この Hash を変更することでサービスを定義します。
DRb::ExtServManager.command= で Hash 自体を
変更することでも同じことができます。
コマンドは文字列、もしくは文字列の配列で指定します。
文字列で指定した場合は Kernel.#spawn で
プロセスを起動する際に shell 経由で起動されます。
文字列の配列で指定すると shell を経由せずに起動されます。 -
GC
. stat(result _ hash = {}) -> {Symbol => Integer} (201.0) -
GC 内部の統計情報を Hash で返します。
....stat
# =>
{
:count=>2,
:heap_used=>9,
:heap_length=>11,
:heap_increment=>2,
:heap_live_slot=>6836,
:heap_free_slot=>519,
:heap_final_slot=>0,
:heap_swept_slot=>818,
:total_allocated_object=>7674,
:total_freed_object=>838,
:malloc_increase=>181034,......:malloc_limit=>16777216,
:minor_gc_count=>2,
:major_gc_count=>0,
:remembered_shady_object=>55,
:remembered_shady_object_limit=>0,
:old_object=>2422,
:old_object_limit=>0,
:oldmalloc_increase=>277386,
:oldmalloc_limit=>16777216
}
戻り値のハッシュは処理......# =>
{
:count=>0,
:heap_allocated_pages=>24,
:heap_sorted_length=>24,
:heap_allocatable_pages=>0,
:heap_available_slots=>9783,
:heap_live_slots=>7713,
:heap_free_slots=>2070,
:heap_final_slots=>0,
:heap_marked_slots=>0,
:heap_swept_slots=>0,......ages=>24,
:heap_tomb_pages=>0,
:total_allocated_pages=>24,
:total_freed_pages=>0,
:total_allocated_objects=>7796,
:total_freed_objects=>83,
:malloc_increase_bytes=>2389312,
:malloc_increase_bytes_limit=>16777216,
:minor_gc_count=>0,
:major_gc_count=>0,......:remembered_wb_unprotected_objects=>0,
:remembered_wb_unprotected_objects_limit=>0,
:old_objects=>0,
:old_objects_limit=>0,
:oldmalloc_increase_bytes=>2389760,
:oldmalloc_increase_bytes_limit=>16777216
}
戻り値のハッシュは処理系に依存します。これ... -
JSON
:: Parser . new(source , options => {}) -> JSON :: Parser (201.0) -
パーサを初期化します。
...uire 'json'
parser = JSON::Parser.new(DATA.read)
print parser.source
# => {
# => "Tanaka": {
# => "name":"tanaka",
# => "age":20
# => },
# => "Suzuki": {
# => "name":"suzuki",
# => "age":25
# => }
# => }
__END__
{
"Tanaka": {
"name":"tanaka",
"age":20
},
"Suz......ccessor :name, :age
def []=(key, value)
instance_variable_set("@#{key}", value)
end
end
parser = JSON::Parser.new(DATA.read, object_class: Person)
person = parser.parse
person.class # => Person
person.name # => "tanaka"
person.age # => 20
__END__
{
"name":"tanaka",
"age":20
}
//}... -
Struct
. new(*args , keyword _ init: nil) -> Class (197.0) -
Struct クラスに新しいサブクラスを作って、それを返します。
...。
//emlist[例][ruby]{
dog = Struct.new("Dog", :name, :age)
fred = dog.new("fred", 5)
fred.age = 6
printf "name:%s age:%d", fred.name, fred.age
#=> "name:fred age:6" を出力します
//}
実装の都合により、クラス名の省略は後づけの機能でした。
メンバ名に String......t1.new(1, 2) # => #<struct Point1 x=1, y=2>
Point1.new(x: 1, y: 2) # => #<struct Point1 x=1, y=2>
Point1.new(x: 1) # => #<struct Point1 x=1, y=nil>
Point1.new(y: 2) # => #<struct Point1 x=nil, y=2>
Point1.new(x: 1, y: 2, z: 3) # => ArgumentError (unknown key......t2.new(1, 2) # => #<struct Point2 x=1, y=2>
Point2.new(x: 1, y: 2) # => #<struct Point2 x=1, y=2>
Point2.new(x: 1) # => #<struct Point2 x=1, y=nil>
Point2.new(y: 2) # => #<struct Point2 x=nil, y=2>
Point2.new(x: 1, y: 2, z: 3) # => ArgumentError (unknown key... -
Struct
. new(*args , keyword _ init: nil) {|subclass| block } -> Class (197.0) -
Struct クラスに新しいサブクラスを作って、それを返します。
...。
//emlist[例][ruby]{
dog = Struct.new("Dog", :name, :age)
fred = dog.new("fred", 5)
fred.age = 6
printf "name:%s age:%d", fred.name, fred.age
#=> "name:fred age:6" を出力します
//}
実装の都合により、クラス名の省略は後づけの機能でした。
メンバ名に String......t1.new(1, 2) # => #<struct Point1 x=1, y=2>
Point1.new(x: 1, y: 2) # => #<struct Point1 x=1, y=2>
Point1.new(x: 1) # => #<struct Point1 x=1, y=nil>
Point1.new(y: 2) # => #<struct Point1 x=nil, y=2>
Point1.new(x: 1, y: 2, z: 3) # => ArgumentError (unknown key......t2.new(1, 2) # => #<struct Point2 x=1, y=2>
Point2.new(x: 1, y: 2) # => #<struct Point2 x=1, y=2>
Point2.new(x: 1) # => #<struct Point2 x=1, y=nil>
Point2.new(y: 2) # => #<struct Point2 x=nil, y=2>
Point2.new(x: 1, y: 2, z: 3) # => ArgumentError (unknown key... -
RubyVM
:: InstructionSequence . of(body) -> RubyVM :: InstructionSequence (179.0) -
引数 body で指定した Proc、Method オブジェクトを元に RubyVM::InstructionSequence オブジェクトを作成して返します。
...合
# proc
> p = proc { num = 1 + 2 }
> RubyVM::InstructionSequence.of(p)
> # => <RubyVM::InstructionSequence:block in irb_binding@(irb)>
# method
> def foo(bar); puts bar; end
> RubyVM::InstructionSequence.of(method(:foo))
> # => <RubyVM::InstructionSequence:foo@(irb)>
例2: Ruby......rb
> require '/tmp/iseq_of.rb'
# hello メソッド
> RubyVM::InstructionSequence.of(method(:hello))
> # => #<RubyVM::InstructionSequence:0x007fb73d7cb1d0>
# グローバル proc
> RubyVM::InstructionSequence.of($a_global_proc)
> # => #<RubyVM::InstructionSequence:0x007fb73d7caf78>......irb
> require '/tmp/iseq_of.rb'
# hello メソッド
> RubyVM::InstructionSequence.of(method(:hello))
> # => #<RubyVM::InstructionSequence:0x007fb73d7cb1d0>
# グローバル proc
> RubyVM::InstructionSequence.of($a_global_proc)
> # => #<RubyVM::InstructionSequence:0x007fb73d7caf78>... -
REXML
:: XPath . first(element , path = nil , namespaces = {} , variables = {}) -> Node | nil (167.0) -
element の path で指定した XPath 文字列にマッチする最初のノードを 返します。
...xmlns:x='1'>
<a>
<b>b1</b>
<x:c />
<b>b2</b>
<d />
</a>
<b> b3 </b>
</root>
EOS
a = doc.root.elements[1] # => <a> ... </>
b1 = REXML::XPath.first(a, "b")
b1.text # => "b1"
REXML::XPath.first(doc, "/root/a/x:c") # => <x:c/>
REXML::XPath.first(a, "x:c") # => <x:c/>
REXML::XPat......h.first(a, "y:c") # => nil
REXML::XPath.first(a, "y:c", {"y" => "1"}) # => <x:c/>
b2 = REXML::XPath.first(doc, "/root/a/b[text()=$v]", {}, {"v" => "b2"})
b2 # => <b> ... </>
b2.text # => "b2"
//}... -
REXML
:: XPath . match(element , path = nil , namespaces = {} , variables = {}) -> [Node] (167.0) -
element の path で指定した XPath 文字列にマッチするノードの配列を 返します。
...s 変数名とその値の対応付け
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:x='1'>
<a>
<b>b1</b>
<x:c />
<b>b2</b>
<d />
</a>
<b> b3 </b>
</root>
EOS
REXML::XPath.match(doc, "/root/a/b") # => [<b> ... </>, <b> ... </>]
//}... -
ThreadsWait
. all _ waits(*threads) -> () (161.0) -
指定されたスレッドすべてが終了するまで待ちます。 ブロックが与えられた場合、スレッド終了時にブロックを評価します。
...> #<Thread:0x21584 run>
#=> #<Thread:0x21610 run>
#=> #<Thread:0x2169c run>
#=> #<Thread:0x21728 run>
#=> #<Thread:0x214f8 run>
#=> end #<Thread:0x21584 dead>
#=> end #<Thread:0x21610 dead>
#=> end #<Thread:0x2169c dead>
#=> end #<Thread:0x21728 dead>
#=> end #<Thread:0x214f8 dead>... -
ThreadsWait
. all _ waits(*threads) {|thread| . . . } -> () (161.0) -
指定されたスレッドすべてが終了するまで待ちます。 ブロックが与えられた場合、スレッド終了時にブロックを評価します。
...> #<Thread:0x21584 run>
#=> #<Thread:0x21610 run>
#=> #<Thread:0x2169c run>
#=> #<Thread:0x21728 run>
#=> #<Thread:0x214f8 run>
#=> end #<Thread:0x21584 dead>
#=> end #<Thread:0x21610 dead>
#=> end #<Thread:0x2169c dead>
#=> end #<Thread:0x21728 dead>
#=> end #<Thread:0x214f8 dead>... -
ThreadsWait
. new(*threads) -> ThreadsWait (161.0) -
指定されたスレッドの終了をまつための、スレッド同期オブジェクトをつくります。
...> #<Thread:0x214bc run>
#=> #<Thread:0x21548 run>
#=> #<Thread:0x215d4 run>
#=> #<Thread:0x21660 run>
#=> #<Thread:0x21430 run>
#=> end #<Thread:0x214bc dead>
#=> end #<Thread:0x21548 dead>
#=> end #<Thread:0x215d4 dead>
#=> end #<Thread:0x21660 dead>
#=> end #<Thread:0x21430 dead>... -
REXML
:: XPath . each(element , path = nil , namespaces = {} , variables = {}) {|e| . . . } -> () (155.0) -
element の path で指定した XPath 文字列にマッチする各ノード に対してブロックを呼び出します。
...変数名とその値の対応付け
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:x='1'>
<a>
<b>b1</b>
<x:c />
<b>b2</b>
<d />
</a>
<b> b3 </b>
</root>
EOS
REXML::XPath.each(doc, "/root/a/b"){|e| p e.text }
# >> "b1"
# >> "b2"
//}... -
CGI
. pretty(string , shift = " ") -> String (149.0) -
HTML を人間に見やすく整形した文字列を返します。
...cgi"
print CGI.pretty("<HTML><BODY></BODY></HTML>")
# <HTML>
# <BODY>
# </BODY>
# </HTML>
print CGI.pretty("<HTML><BODY></BODY></HTML>", "\t")
# <HTML>
# <BODY>
# </BODY>
# </HTML>...