ライブラリ
- ビルトイン (2706)
- bigdecimal (56)
-
bigdecimal
/ util (12) -
cgi
/ core (456) -
cgi
/ html (540) -
cgi
/ session (96) -
cgi
/ session / pstore (24) - continuation (24)
- csv (147)
- date (160)
- dbm (12)
- delegate (24)
- digest (24)
- drb (24)
- e2mmap (36)
- etc (12)
- fiddle (36)
-
fiddle
/ import (48) - gdbm (24)
- getoptlong (144)
- ipaddr (12)
-
irb
/ cmd / nop (12) -
irb
/ context (396) -
irb
/ ext / history (24) -
irb
/ ext / math-mode (12) -
irb
/ ext / save-history (36) -
irb
/ ext / tracer (36) -
irb
/ ext / use-loader (36) -
irb
/ extend-command (12) - json (516)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
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) - kconv (12)
- logger (7)
- mathn (4)
- matrix (449)
-
minitest
/ spec (3) -
minitest
/ unit (30) - mkmf (132)
- monitor (84)
-
net
/ ftp (108) -
net
/ http (660) -
net
/ imap (740) -
net
/ pop (12) -
net
/ smtp (132) - open-uri (60)
- openssl (984)
- optparse (840)
- pathname (24)
- prime (60)
- pstore (24)
- psych (120)
-
racc
/ parser (12) - rake (384)
-
rake
/ gempackagetask (12) -
rake
/ packagetask (36) -
rake
/ rdoctask (48) -
rake
/ testtask (36) -
rdoc
/ code _ object (12) -
rdoc
/ context (396) -
rdoc
/ generator / darkfish (12) -
rdoc
/ generator / json _ index (12) -
rdoc
/ generator / ri (12) -
rdoc
/ markdown (72) -
rdoc
/ markup (24) -
rdoc
/ markup / formatter (12) -
rdoc
/ top _ level (24) - rexml (48)
-
rexml
/ document (300) -
rexml
/ parsers / pullparser (24) -
rexml
/ sax2listener (108) -
rexml
/ streamlistener (108) -
ripper
/ filter (36) - rss (984)
- rubygems (84)
-
rubygems
/ command (132) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / update _ command (12) -
rubygems
/ config _ file (192) -
rubygems
/ dependency _ installer (24) -
rubygems
/ dependency _ list (36) -
rubygems
/ format (12) -
rubygems
/ gem _ path _ searcher (36) -
rubygems
/ indexer (48) -
rubygems
/ installer (48) -
rubygems
/ old _ format (12) -
rubygems
/ package / tar _ header (12) -
rubygems
/ package / tar _ input (24) -
rubygems
/ package / tar _ output (12) -
rubygems
/ platform (24) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ requirement (24) -
rubygems
/ security (24) -
rubygems
/ server (36) -
rubygems
/ source _ index (60) -
rubygems
/ source _ info _ cache (24) -
rubygems
/ spec _ fetcher (12) -
rubygems
/ specification (1164) -
rubygems
/ uninstaller (12) -
rubygems
/ user _ interaction (252) -
rubygems
/ version (84) -
rubygems
/ version _ option (24) - scanf (6)
- sdbm (12)
- shell (6)
-
shell
/ builtin-command (6) -
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ process-controller (78) - socket (324)
- stringio (12)
- strscan (12)
- thread (20)
- thwait (6)
- time (24)
- timeout (8)
- tracer (24)
- tsort (58)
- uri (24)
-
webrick
/ cgi (12) -
webrick
/ httpauth / basicauth (24) -
webrick
/ httpauth / digestauth (24) -
webrick
/ httpresponse (228) -
webrick
/ httpservlet / abstract (84) -
webrick
/ httpservlet / cgihandler (24) -
webrick
/ httpservlet / erbhandler (24) -
webrick
/ httpservlet / filehandler (84) -
webrick
/ httpservlet / prochandler (36) -
webrick
/ httpversion (24) -
webrick
/ server (12) -
win32
/ registry (24) - win32ole (120)
-
yaml
/ dbm (12) - zlib (24)
クラス
-
ARGF
. class (36) - Addrinfo (84)
- Array (220)
- BasicObject (36)
- BasicSocket (96)
- BigDecimal (68)
- Binding (7)
- CGI (12)
-
CGI
:: Session (24) -
CGI
:: Session :: FileStore (24) -
CGI
:: Session :: MemoryStore (24) -
CGI
:: Session :: NullStore (24) -
CGI
:: Session :: PStore (24) - CSV (96)
-
CSV
:: Row (3) -
CSV
:: Table (24) - Class (12)
- Complex (60)
- Continuation (24)
- DBM (12)
-
DRb
:: DRbRemoteError (12) -
DRb
:: DRbServer (12) - Data (6)
- Date (110)
- DateTime (74)
- Delegator (24)
-
Digest
:: Base (24) -
Encoding
:: Converter (156) -
Encoding
:: InvalidByteSequenceError (48) -
Encoding
:: UndefinedConversionError (48) -
Enumerator
:: Lazy (24) - Exception (104)
- Fiber (6)
-
Fiddle
:: Function (36) - File (12)
- Float (36)
- GDBM (24)
-
Gem
:: Command (132) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: UpdateCommand (12) -
Gem
:: ConfigFile (192) -
Gem
:: DependencyInstaller (24) -
Gem
:: DependencyList (36) -
Gem
:: Format (12) -
Gem
:: GemPathSearcher (36) -
Gem
:: Indexer (48) -
Gem
:: Installer (48) -
Gem
:: LoadError (24) -
Gem
:: OldFormat (12) -
Gem
:: Package :: TarHeader (12) -
Gem
:: Package :: TarInput (24) -
Gem
:: Package :: TarOutput (12) -
Gem
:: Platform (24) -
Gem
:: RemoteFetcher (12) -
Gem
:: Requirement (24) -
Gem
:: Security :: Policy (24) -
Gem
:: Server (36) -
Gem
:: SourceIndex (60) -
Gem
:: SourceInfoCache (24) -
Gem
:: SpecFetcher (12) -
Gem
:: Specification (1164) -
Gem
:: StreamUI (84) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) -
Gem
:: Uninstaller (12) -
Gem
:: Version (84) - GetoptLong (144)
- Hash (24)
- IO (180)
- IPAddr (12)
-
IRB
:: Context (540) -
IRB
:: ExtendCommand :: Nop (12) - Integer (48)
-
JSON
:: Parser (24) -
JSON
:: State (348) - LocalJumpError (12)
-
Logger
:: Application (7) - MatchData (4)
- Matrix (209)
-
Matrix
:: EigenvalueDecomposition (120) -
Matrix
:: LUPDecomposition (120) - Method (12)
-
MiniTest
:: Unit (4) - Module (208)
- Monitor (12)
-
MonitorMixin
:: ConditionVariable (60) -
Net
:: FTP (108) -
Net
:: HTTP (468) -
Net
:: HTTPResponse (96) -
Net
:: IMAP (368) -
Net
:: IMAP :: BodyTypeBasic (48) -
Net
:: IMAP :: BodyTypeMessage (48) -
Net
:: IMAP :: BodyTypeMultipart (24) -
Net
:: IMAP :: BodyTypeText (48) -
Net
:: IMAP :: ContentDisposition (24) -
Net
:: IMAP :: ContinuationRequest (24) -
Net
:: IMAP :: ResponseCode (24) -
Net
:: IMAP :: ResponseError (24) -
Net
:: IMAP :: ResponseText (24) -
Net
:: IMAP :: TaggedResponse (48) -
Net
:: IMAP :: UntaggedResponse (36) -
Net
:: POP3 (12) -
Net
:: SMTP (132) - NilClass (36)
- Numeric (36)
- Object (134)
-
OpenSSL
:: ASN1 :: Constructive (36) -
OpenSSL
:: ASN1 :: ObjectId (12) -
OpenSSL
:: Config (72) -
OpenSSL
:: OCSP :: BasicResponse (72) -
OpenSSL
:: OCSP :: Request (24) -
OpenSSL
:: OCSP :: Response (36) -
OpenSSL
:: SSL :: SSLContext (300) -
OpenSSL
:: SSL :: SSLSocket (24) -
OpenSSL
:: X509 :: CRL (12) -
OpenSSL
:: X509 :: Certificate (60) -
OpenSSL
:: X509 :: Extension (72) -
OpenSSL
:: X509 :: ExtensionFactory (192) -
OpenSSL
:: X509 :: Revoked (12) -
OpenSSL
:: X509 :: StoreContext (48) - OpenStruct (12)
- OptionParser (636)
-
OptionParser
:: ParseError (108) - PStore (24)
- Pathname (24)
- Prime (12)
-
Prime
:: TrialDivisionGenerator (36) - Proc (18)
-
Psych
:: Emitter (48) -
Psych
:: Handler (12) -
Psych
:: Nodes :: Node (24) -
Psych
:: SyntaxError (12) -
RDoc
:: CodeObject (12) -
RDoc
:: Context (384) -
RDoc
:: Context :: Section (12) -
RDoc
:: Generator :: Darkfish (12) -
RDoc
:: Generator :: JsonIndex (12) -
RDoc
:: Generator :: RI (12) -
RDoc
:: Markdown (72) -
RDoc
:: Markup (24) -
RDoc
:: Markup :: Formatter (12) -
RDoc
:: Options (588) -
RDoc
:: TopLevel (24) -
REXML
:: Attribute (12) -
REXML
:: CData (12) -
REXML
:: Declaration (24) -
REXML
:: DocType (24) -
REXML
:: Document (12) -
REXML
:: Element (24) -
REXML
:: Instruction (36) -
REXML
:: NotationDecl (84) -
REXML
:: Parent (12) -
REXML
:: ParseException (48) -
REXML
:: Parsers :: PullEvent (24) -
REXML
:: XMLDecl (60) -
RSS
:: ImageFaviconModel :: ImageFavicon (96) -
RSS
:: Maker :: ChannelBase (24) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (24) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase (24) -
RSS
:: Maker :: ChannelBase :: SkipHoursBase :: HourBase (24) -
RSS
:: Maker :: ImageBase (24) -
RSS
:: Maker :: ItemsBase :: ItemBase (24) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (24) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Source (24) -
RSS
:: Maker :: RSSBase (60) -
RSS
:: Maker :: TextinputBase (24) -
RSS
:: RDF (24) -
RSS
:: RDF :: Channel (24) -
RSS
:: RDF :: Channel :: ImageFavicon (96) -
RSS
:: Rss (24) -
RSS
:: Rss :: Channel (24) -
RSS
:: Rss :: Channel :: Image (24) -
RSS
:: Rss :: Channel :: Item (24) -
RSS
:: Rss :: Channel :: Item :: Category (24) -
RSS
:: Rss :: Channel :: Item :: Source (24) -
RSS
:: Rss :: Channel :: TextInput (24) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (72) -
RSS
:: TaxonomyTopicsModel :: TaxonomyTopics (12) -
RSS
:: TrackBackModel20 :: TrackBackAbout (24) -
RSS
:: TrackBackModel20 :: TrackBackPing (24) -
Racc
:: Parser (12) -
Rake
:: Application (132) -
Rake
:: FileCreationTask (24) -
Rake
:: GemPackageTask (12) -
Rake
:: InvocationChain (36) -
Rake
:: InvocationChain :: EmptyInvocationChain (36) -
Rake
:: PackageTask (36) -
Rake
:: RDocTask (48) -
Rake
:: Task (84) -
Rake
:: TestTask (36) - Range (12)
- Rational (373)
- Regexp (12)
-
Ripper
:: Filter (36) -
RubyVM
:: InstructionSequence (106) - SDBM (12)
-
Scanf
:: FormatSpecifier (6) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Concat (6) -
Shell
:: Filter (6) -
Shell
:: ProcessController (78) - SignalException (24)
- Socket (48)
-
Socket
:: Option (60) - StopIteration (12)
- String (168)
- StringIO (12)
- StringScanner (12)
- Struct (36)
- Symbol (48)
- TCPServer (12)
- Thread (74)
-
Thread
:: Backtrace :: Location (84) -
Thread
:: ConditionVariable (36) -
Thread
:: Mutex (10) -
Thread
:: Queue (36) -
Thread
:: SizedQueue (58) - ThreadsWait (6)
- Time (86)
- TracePoint (19)
- Tracer (24)
- UDPSocket (12)
- UNIXServer (12)
-
URI
:: LDAP (24) - UnboundMethod (24)
-
WEBrick
:: CGI (12) -
WEBrick
:: Cookie (12) -
WEBrick
:: GenericServer (12) -
WEBrick
:: HTTPAuth :: BasicAuth (24) -
WEBrick
:: HTTPAuth :: DigestAuth (24) -
WEBrick
:: HTTPResponse (228) -
WEBrick
:: HTTPServlet :: AbstractServlet (84) -
WEBrick
:: HTTPServlet :: CGIHandler (24) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (36) -
WEBrick
:: HTTPServlet :: ERBHandler (24) -
WEBrick
:: HTTPServlet :: FileHandler (48) -
WEBrick
:: HTTPServlet :: ProcHandler (36) -
WEBrick
:: HTTPVersion (24) - WIN32OLE (12)
-
WIN32OLE
_ EVENT (48) -
WIN32OLE
_ PARAM (12) -
WIN32OLE
_ TYPE (24) -
WIN32OLE
_ TYPELIB (24) -
Win32
:: Registry (24) -
YAML
:: DBM (12) -
Zlib
:: Deflate (12) -
Zlib
:: Inflate (12)
モジュール
-
CGI
:: HtmlExtension (540) -
CGI
:: QueryExtension (372) -
CGI
:: QueryExtension :: Value (72) - DublinCoreModel (36)
- Enumerable (232)
- Exception2MessageMapper (36)
-
Fiddle
:: Importer (48) -
Gem
:: DefaultUserInteraction (36) -
Gem
:: InstallUpdateOptions (24) -
Gem
:: LocalRemoteOptions (108) -
Gem
:: QuickLoader (48) -
Gem
:: UserInteraction (96) -
Gem
:: VersionOption (24) -
IRB
:: ExtendCommandBundle (12) -
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 (36) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (164)
-
MiniTest
:: Assertions (26) - MonitorMixin (12)
-
Net
:: HTTPHeader (96) -
OpenSSL
:: Buffering (12) -
OpenURI
:: Meta (24) -
OpenURI
:: OpenRead (36) -
OptionParser
:: Arguable (96) -
REXML
:: SAX2Listener (108) -
REXML
:: StreamListener (108) -
RSS
:: ImageFaviconModel (24) -
RSS
:: SyndicationModel (72) -
RSS
:: TaxonomyTopicModel (24) -
RSS
:: TaxonomyTopicsModel (12) -
Rake
:: Cloneable (24) -
Rake
:: TaskManager (24) - TSort (58)
キーワード
- * (12)
- ** (16)
- + (12)
- - (24)
- -@ (9)
-
/ (12) - <=> (12)
- == (12)
- Fail (6)
- Marshal (12)
- Raise (6)
- [] (60)
- []= (60)
-
_ assertions (1) -
_ assertions= (1) -
_ dump (12) - abbreviate (12)
- abi (12)
-
abort
_ on _ exception (12) -
abort
_ on _ exception= (12) - about (36)
- about= (36)
- abs (9)
-
absolute
_ path (24) - accept (24)
-
accept
_ charset (12) -
accept
_ encoding (12) -
accept
_ language (12) -
accept
_ nonblock (48) -
accept
_ uri _ http (12) - actions (12)
-
active
_ job? (6) -
active
_ jobs (6) -
active
_ jobs _ exist? (6) -
add
_ alias (12) -
add
_ attribute (12) -
add
_ bindir (12) -
add
_ bulk _ threshold _ option (12) -
add
_ class (12) -
add
_ class _ or _ module (24) -
add
_ constant (12) -
add
_ dependency (12) -
add
_ description (12) -
add
_ development _ dependency (12) -
add
_ extension (36) -
add
_ gem _ contents (12) -
add
_ include (12) -
add
_ loader (12) -
add
_ method (12) -
add
_ module (12) -
add
_ nonce (24) -
add
_ option (12) -
add
_ platform _ option (12) -
add
_ proxy _ option (12) -
add
_ require (12) -
add
_ response _ handler (24) -
add
_ runtime _ dependency (12) -
add
_ schedule (6) -
add
_ source _ option (12) -
add
_ spec (12) -
add
_ status (12) -
add
_ to (12) -
add
_ update _ sources _ option (12) -
add
_ value (12) -
add
_ version _ option (12) - ajd (12)
- alert (24)
-
alert
_ error (24) -
alert
_ warning (24) - aliases (12)
-
all
_ one _ file (12) -
allow
_ nan? (12) - amjd (12)
-
ap
_ name (12) -
ap
_ name= (12) - append (36)
- application (12)
- application= (12)
- appname (1)
-
arg
_ config (12) -
arg
_ description (12) - args (24)
-
array
_ nl (12) -
array
_ nl= (12) -
ascii
_ only? (24) - ask (24)
-
ask
_ yes _ no (24) - assert (1)
-
assert
_ block (1) -
assert
_ empty (1) -
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ match (1) -
assert
_ nil (1) -
assert
_ operator (1) -
assert
_ raises (1) -
assert
_ respond _ to (1) -
assert
_ same (1) -
assert
_ send (1) -
assert
_ throws (1) -
assertion
_ count (1) -
assertion
_ count= (1) -
assign
_ defaults (12) - attlistdecl (24)
- attributes (12)
-
auth
_ only (12) -
auth
_ type (12) - authenticate (36)
-
auto
_ indent _ mode (12) -
auto
_ indent _ mode= (12) - autoload (12)
- autoload? (12)
- autorequire (12)
- autorequire= (12)
-
back
_ trace _ limit (12) -
back
_ trace _ limit= (12) - backtrace (24)
- backtrace= (12)
-
backtrace
_ locations (36) - base (12)
-
base
_ label (24) - basic (12)
- begins? (12)
- benchmark (12)
- benchmark= (12)
- binary= (12)
- bind (18)
- bindir (12)
- bindir= (12)
- binread (12)
- body= (12)
- both? (12)
-
break
_ on _ newline (12) -
break
_ on _ newline= (12) - broadcast (24)
-
buffer
_ initial _ length (12) -
buffer
_ initial _ length= (12) -
build
_ extensions (12) - bump (12)
- byteindex (3)
-
ca
_ file (12) -
ca
_ file= (12) -
ca
_ path (12) -
ca
_ path= (12) -
cache
_ control (12) -
calculate
_ integers _ for _ gem _ version (12) - call (24)
- canonical (12)
- canonical= (12)
-
canonical
_ each (12) - canonname (12)
- capitalize (18)
- capitalize! (9)
- caption (24)
-
capture
_ io (1) - cause (12)
- cdata (24)
- ceil (12)
- cert (12)
- cert= (12)
-
cert
_ chain (12) -
cert
_ chain= (12) - chain (12)
- challenge (24)
- charset (12)
- check (12)
-
check
_ circular? (12) -
check
_ nonce (12) - checkbox (24)
-
checkbox
_ group (24) -
choose
_ from _ list (24) - chunked= (12)
- classes (12)
- cleanpath (12)
- cleanup (12)
-
clear
_ actions (12) -
client
_ ca (12) -
client
_ ca= (12) - clone (109)
- close (12)
- code (12)
- coerce (12)
- cofactor (12)
-
cofactor
_ expansion (12) -
collect
_ concat (36) - combination (24)
- component (12)
- compress (12)
- concat (84)
- config (60)
- config= (12)
-
config
_ file _ name (12) - configure (12)
- conj (12)
- conjugate (36)
- connect (36)
-
connect
_ address (12) -
connect
_ from (24) -
connect
_ nonblock (12) -
connect
_ to (24) -
const
_ added (3) -
const
_ defined? (12) -
const
_ get (12) -
const
_ missing (24) -
const
_ set (12) -
const
_ source _ location (12) - constants (24)
- content (120)
- content= (120)
-
content
_ encoding (12) -
content
_ id (36) -
content
_ length (12) -
content
_ length= (12) -
content
_ range (12) -
content
_ type (24) -
content
_ type= (24) - context (24)
- context= (12)
- conversion (6)
- convert (48)
- converters (12)
-
convertible
_ int (24) - convpath (12)
- copy (24)
-
copy
_ nonce (12) -
coverage
_ report (12) -
coverage
_ report= (12) - create (24)
-
create
_ body (12) -
create
_ ext (12) -
create
_ ext _ from _ array (12) -
create
_ ext _ from _ hash (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) -
create
_ header (12) - critical= (12)
- critical? (12)
- crl (12)
- crl= (12)
-
current
_ cert (12) - d (12)
- data (84)
- date (48)
- date= (48)
-
dc
_ relation (12) -
dc
_ relation= (12) -
dc
_ relations (12) -
debug
_ level= (12) -
debug
_ mode= (12) - deconstruct (11)
-
deconstruct
_ keys (20) -
deep
_ clone (12) -
def
_ exception (6) -
default
_ argv (12) -
default
_ argv= (12) -
default
_ event _ sources (12) -
default
_ executable (12) -
default
_ executable= (12) -
define
_ singleton _ method (24) -
definition
_ lists (12) -
definition
_ lists= (12) - delete (24)
- denominator (12)
- dependencies (12)
-
dependency
_ order (12) -
dependent
_ gems (12) -
deprecate
_ constant (12) - depth (12)
- depth= (12)
- deq (24)
- description (168)
- description= (120)
-
destination
_ encoding (36) -
destination
_ encoding _ name (24) - det (12)
-
det
_ e (12) - detect (24)
- determinant (12)
-
determinant
_ e (12) -
development
_ dependencies (12) - diagonal? (12)
- diagram (12)
-
dir
_ config (12) - disasm (12)
- disassemble (12)
- disconnect (12)
- disconnected? (12)
- disposition (48)
-
do
_ DELETE (12) -
do
_ GET (72) -
do
_ HEAD (12) -
do
_ OPTIONS (24) -
do
_ POST (60) -
do
_ PUT (12) -
do
_ rubygems _ update (12) - doctype (24)
- done (36)
- downcase (18)
- downcase! (9)
-
dry
_ run= (12) -
dsp
_ type (12) - dup (60)
- each (138)
-
each
_ attribute (12) -
each
_ capitalized (12) -
each
_ classmodule (12) -
each
_ cons (24) -
each
_ constant (12) -
each
_ line (72) -
each
_ method (12) -
each
_ option (12) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - echo= (12)
- ehlo (12)
- eigen (12)
- eigensystem (12)
-
eigenvalue
_ matrix (12) - eigenvalues (12)
-
eigenvector
_ matrix (12) -
eigenvector
_ matrix _ inv (12) - eigenvectors (12)
- elementdecl (24)
- email (12)
- email= (12)
-
enable
_ config (24) -
enable
_ ssl (12) -
enable
_ starttls (12) -
enable
_ starttls _ auto (12) -
enable
_ tls (12) - encoding= (12)
- enq (11)
- entity (12)
- entitydecl (24)
- environment (12)
- error (12)
- error? (12)
-
error
_ bytes (12) -
error
_ char (12) - eval (12)
-
eval
_ history (12) -
eval
_ history= (12) - evaluate (12)
- examine (12)
- exception (12)
-
exception
_ details (1) - exclude= (12)
- executable (12)
- executable= (12)
- executables (12)
- executables= (12)
- exponent (12)
- extension (60)
- extension? (12)
- extensions (36)
- extensions= (36)
- extern (12)
-
extra
_ accessor _ flags (12) -
extra
_ accessors (12) -
extra
_ chain _ cert (12) -
extra
_ chain _ cert= (12) -
extra
_ rdoc _ files (12) -
extra
_ rdoc _ files= (12) - fail (6)
- family (12)
- fastmode= (12)
- fdiv (12)
- fetch (60)
-
field
_ size _ limit (12) -
file
_ create (12) -
file
_ field (24) -
file
_ name (12) - filename (12)
- filename= (12)
- files (24)
- files= (12)
- find (36)
-
find
_ all (12) -
find
_ enclosing _ module _ named (12) -
find
_ local _ symbol (24) -
find
_ module _ named (12) -
find
_ name (24) -
find
_ spec _ by _ name _ and _ version (12) -
find
_ symbol (12) -
finish
_ page _ dir (12) - first (12)
- flags= (12)
-
flat
_ map (36) - flock (24)
- floor (12)
- flunk (1)
-
force
_ output= (12) -
force
_ update (12) - form (48)
- formatter (12)
- formatter= (12)
-
full
_ gem _ path (12) -
full
_ name (12) -
gateway
_ interface (12) - gem (12)
-
gem
_ spec (12) - generate (24)
- generator (12)
- generator= (12)
- get (24)
- get2 (24)
-
get
_ instance (12) -
get
_ one _ gem _ name (12) -
get
_ one _ optional _ argument (12) -
get
_ path (12) -
get
_ value (12) - getopts (36)
- getsockopt (12)
- greeting (12)
-
handle
_ arguments (12) - handler= (12)
-
has
_ key? (12) -
has
_ rdoc (12) -
has
_ rdoc= (12) -
has
_ rdoc? (12) -
has
_ test _ suite? (12) -
has
_ unit _ tests? (12) - hash (24)
- head (12)
- head2 (24)
- header (36)
-
header
_ convert (36) -
header
_ converters (12) - helo (12)
- help (12)
- hidden (24)
- homepage (12)
- homepage= (12)
- html (24)
- hton (12)
-
hyperlink
_ all (12) -
hyperlink
_ all= (12) - idle (12)
-
idle
_ done (12) -
ignore
_ deadlock (4) -
ignore
_ deadlock= (4) -
ignore
_ eof= (12) -
ignore
_ sigint= (12) -
image
_ favicon (12) -
image
_ favicon= (12) -
image
_ format (12) -
image
_ size (24) -
image
_ size= (24) - img (24)
-
in
_ transaction (12) - include? (12)
-
incomplete
_ input? (12) - indent (12)
- indent= (12)
- indentation (12)
- indentation= (12)
-
infect
_ with _ assertions (1) - init (24)
-
init
_ gemspecs (12) -
init
_ save _ history (12) - initialize (24)
-
initialize
_ classes _ and _ modules (12) -
initialize
_ clone (12) -
initialize
_ methods _ etc (12) -
insert
_ output (12) - inspect (36)
- install (24)
-
install
_ update _ defaults _ str (12) -
installation
_ path (12) -
installation
_ satisfies _ dependency? (12) - instruction (12)
- instruction? (12)
-
instruction
_ sequence (7) - instructions (12)
- intersection (6)
- investigation (12)
- io= (12)
- irb= (12)
-
irb
_ context (24) -
irb
_ name (12) -
irb
_ name= (12) -
irb
_ path (12) -
irb
_ path= (12) - iso8601 (12)
-
issuer
_ certificate (12) -
issuer
_ certificate= (12) - jobs (6)
-
json
_ creatable? (12) - kconv (12)
-
keep
_ alive (12) -
keep
_ alive= (12) -
keep
_ alive? (12) -
keep
_ alive _ timeout= (12) - key? (12)
- keys (12)
-
kill
_ job (6) - l (12)
- label (24)
-
laplace
_ expansion (12) - last (12)
-
last
_ description (12) -
last
_ description= (12) -
last
_ error (12) -
last
_ response (12) -
last
_ response _ code (12) -
last
_ value (12) - lastresp (12)
-
latest
_ specs (12) - level= (1)
-
lib
_ files (12) - line (12)
-
line
_ numbers= (12) - lineno (12)
- load (12)
-
load
_ file (12) -
load
_ gemspec (12) -
load
_ modules (12) -
load
_ rakefile (12) - loaded= (12)
- loaded? (12)
-
loaded
_ from (12) -
loaded
_ from= (12) - local? (12)
- location (1)
- lock (12)
- log (2)
- log= (1)
- login (24)
- logout (12)
-
long
_ name (12) - lup (12)
-
lup
_ decomposition (12) - magnitude (9)
- mailfrom (12)
- main (12)
-
main
_ page (12) -
main
_ page= (12) - major (12)
- major= (12)
-
major
_ version (24) -
make
_ partial _ content (12) -
mark
_ version (12) - markup (12)
- markup= (12)
-
marshal
_ dump (24) -
marshal
_ load (12) - math? (4)
-
math
_ mode (4) -
math
_ mode= (4) -
max
_ nesting (12) -
max
_ nesting= (12) - member? (24)
- merge (12)
-
method
_ list (12) - mkcol (12)
-
module
_ function (24) - modules (12)
- mon (12)
- monday? (24)
- month (12)
- move (22)
- msg (12)
-
mu
_ pp (1) - multipart? (12)
-
multipart
_ form (48) -
must
_ be _ within _ epsilon (1) -
must
_ respond _ to (1) - name (96)
- name= (12)
- needed? (12)
- negative? (9)
- negotiate (12)
-
new
_ cond (18) - next (12)
-
next
_ month (12) -
next
_ wait (6) - none? (53)
- nonzero? (24)
- noop (12)
- normalize (12)
-
not
_ modified? (12) - notation (12)
- notationdecl (24)
- notationdecl? (12)
- notations (12)
- numerator (12)
-
object
_ nl (12) -
object
_ nl= (12) - offset (12)
-
ole
_ respond _ to? (12) -
on
_ XXX (12) -
on
_ default (12) -
on
_ error (12) -
on
_ event (12) -
on
_ event _ with _ outargs (12) -
on
_ head (12) -
on
_ tail (12) - one? (53)
-
only
_ signed= (12) -
only
_ trusted= (12) -
op
_ dir= (12) -
op
_ name (12) - open (36)
-
option
_ list (12) -
option
_ parser (12) -
option
_ parser= (12) -
option
_ string (12) - optional? (12)
- optname (12)
- order (48)
- order! (48)
-
original
_ dir (12) -
original
_ name (12) -
original
_ platform (12) -
original
_ platform= (12) - orthogonal? (12)
- p (12)
-
page
_ dir (12) -
page
_ dir= (12) - param (12)
- params (12)
- params= (12)
- paranoid (12)
- parent (12)
- parse (60)
- parse! (24)
-
parse
_ csv (12) - partition (36)
- pass (1)
-
password
_ field (24) - patch (24)
- path (36)
- path= (12)
-
path
_ info (12) -
path
_ translated (12) - pathconf (12)
- permutation (24)
- permutation? (12)
- permute (24)
- permute! (24)
- pipe= (12)
- pivots (12)
- platform (12)
- platform= (12)
- pop (24)
- position (12)
- positive? (9)
- post (24)
- post2 (24)
-
post
_ connection _ check (12) - pragma (12)
- prerelease? (12)
-
prev
_ month (12) -
prime
_ division (24) -
primitive
_ convert (48) -
primitive
_ errinfo (12) -
private
_ constant (12) -
processing
_ instruction (12) -
program
_ name (12) -
program
_ name= (12) - progress (12)
-
prompt
_ c= (12) -
prompt
_ i= (12) -
prompt
_ n= (12) -
prompt
_ s= (12) - propfind (12)
- proppatch (12)
-
psych
_ to _ yaml (12) - public (12)
- public= (12)
-
public
_ constant (12) - puke (1)
- push (11)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (12) -
push
_ gem _ version _ on _ load _ path (12) - put (12)
- put2 (24)
- putback (24)
- quiet (12)
- quiet= (12)
- quiet? (12)
-
quirks
_ mode (12) -
quirks
_ mode= (12) -
quirks
_ mode? (12) - quo (24)
-
radio
_ group (24) - raise (6)
-
raised
_ exception (12) -
rake
_ extension (12) - rakefile (12)
- rationalize (108)
-
raw
_ data (36) - rcptto (12)
- read (12)
-
read
_ body (24) -
read
_ nonblock (48) -
read
_ timeout= (24) -
reader
_ header (12) -
really
_ verbose (12) - reason (36)
- reason= (12)
-
reason
_ phrase (12) -
reason
_ phrase= (12) -
record
_ location (12) - recover (12)
-
recv
_ nonblock (12) -
recvfrom
_ nonblock (24) - recvmsg (12)
-
recvmsg
_ nonblock (12) - reject (12)
- release (24)
- release= (12)
- remote? (12)
-
remote
_ addr (12) -
remove
_ by _ name (12) -
remove
_ const (12) -
remove
_ option (12) -
remove
_ response _ handler (12) -
remove
_ spec (12) - rename (24)
-
renegotiation
_ cb (12) -
renegotiation
_ cb= (12) -
repeated
_ combination (24) -
repeated
_ permutation (24) - replacement (12)
- replacement= (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - request (36)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) -
require
_ path (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) -
required
_ ruby _ version (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version (12) -
required
_ rubygems _ version= (12) - requirements (12)
- requirements= (12)
- reset (24)
- resources (12)
-
respond
_ to? (24) -
respond
_ to _ missing? (24) - response (24)
- response= (12)
-
response
_ handlers (12) - responses (12)
- restore (48)
- result (12)
- resume= (12)
-
return
_ format (12) -
return
_ format= (12) - rewind (12)
- root (12)
- root= (12)
- round (12)
- rpartition (12)
-
rss
_ version (12) -
ruby2
_ keywords (18) -
ruby
_ opts= (12) -
rubygems
_ version (12) -
rubygems
_ version= (12) - run (12)
-
runtime
_ dependencies (12) - sanitize (12)
-
sanitize
_ path (12) -
satisfied
_ by? (12) -
satisfies
_ requirement? (12) -
save
_ exception _ mode (12) -
save
_ history (12) -
save
_ history= (12) - say (12)
-
script
_ name (12) -
scrolling
_ list (24) - search (24)
-
search
_ with _ source (12) -
sec
_ fraction (12) - second (12)
-
second
_ fraction (12) - section= (12)
- select (12)
-
send
_ request (12) - sendmsg (12)
-
sendmsg
_ nonblock (12) - separator (12)
-
server
_ name (12) -
server
_ software (12) -
servername
_ cb (12) -
servername
_ cb= (12) - service (24)
-
session
_ add (12) -
session
_ cache _ mode (12) -
session
_ cache _ mode= (12) -
session
_ cache _ size (12) -
session
_ cache _ size= (12) -
session
_ cache _ stats (12) -
set
_ backtrace (24) -
set
_ content _ type (12) -
set
_ dictionary (24) -
set
_ encoding (24) -
set
_ error (24) -
set
_ last _ value (12) -
set
_ log (1) -
set
_ option (12) -
set
_ params (24) -
set
_ redirect (12) -
set
_ visibility _ for (12) - setquota (12)
- setsockopt (12)
- sfork (6)
- shift (24)
-
show
_ all (12) -
show
_ all= (12) -
show
_ hash (12) -
show
_ lookup _ failure (12) - sign (12)
- signal (24)
-
signing
_ key (12) -
signing
_ key= (12) - signm (12)
- signo (12)
-
singleton
_ class (12) -
singleton
_ class? (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) - singular? (12)
- size (24)
- size= (24)
- skip (1)
-
slice
_ before (24) - solve (12)
- source (12)
-
source
_ encoding _ name (12) -
source
_ location (43) - space (12)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) - spec (48)
- specification (12)
-
specification
_ version (12) -
specification
_ version= (12) -
stand
_ alone? (24) - standalone (48)
- standalone= (48)
- start (1)
-
start
_ document (12) -
start
_ job (6) - starttls (36)
-
static
_ path (12) -
static
_ path= (12) - status (36)
- status= (12)
-
status
_ line (12) -
status
_ string (12) - strftime (12)
-
strongly
_ connected _ components (12) -
subject
_ certificate (12) -
subject
_ certificate= (12) -
subject
_ request (12) -
subject
_ request= (12) - submit (24)
- subscribe (12)
- subsec (12)
- succ (12)
- summarize (24)
- summary (12)
- summary= (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) - swapcase (18)
- swapcase! (9)
-
sy
_ updateBase (12) -
sy
_ updateBase= (12) -
sy
_ updateFrequency (12) -
sy
_ updateFrequency= (12) -
sy
_ updatePeriod (12) -
sy
_ updatePeriod= (12) - synchronize (10)
- system (12)
- system= (12)
-
tab
_ width (12) - tag (12)
- tagging (12)
- tagging= (12)
- target (12)
- target= (12)
-
taxo
_ link (12) -
taxo
_ link= (12) -
taxo
_ topic (12) -
taxo
_ topic= (12) -
taxo
_ topics (12) - template (12)
-
template
_ dir (12) -
template
_ dir= (12) - terminate (12)
-
terminate
_ interaction (24) -
terminate
_ job (6) - terminated? (12)
-
test
_ file (12) -
test
_ file= (12) -
test
_ files (12) -
test
_ files= (12) -
test
_ suite _ file (12) -
test
_ suite _ file= (12) - text (12)
-
text
_ field (24) - textarea (24)
- thread (12)
- timeout (8)
-
tmp
_ dh _ callback (12) -
tmp
_ dh _ callback= (12) -
to
_ a (78) -
to
_ ary (36) -
to
_ binary (10) -
to
_ csv (24) -
to
_ d (12) -
to
_ f (12) -
to
_ h (24) -
to
_ hash (12) -
to
_ i (12) -
to
_ json (252) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ r (96) -
to
_ ruby (12) -
to
_ s (156) -
to
_ yaml (24) -
top
_ level (12) -
top
_ level _ tasks (12) - tr (12)
- trace (24)
- transaction (12)
- truncate (12)
-
try
_ constant (24) -
tty
_ output= (12) - u (12)
- ui (12)
- ui= (12)
-
uid
_ copy (12) -
uid
_ move (10) - unadvise (12)
-
unescape
_ filename? (12) - union (19)
- unlock (12)
-
unmatched
_ alias _ lists (12) -
unmatched
_ alias _ lists= (12) - unpack (12)
- unsubscribe (12)
- upcase (18)
- upcase! (9)
- update (60)
-
update
_ sources (12) -
update
_ sources= (12) -
use
_ loader (12) -
use
_ loader= (12) -
use
_ loader? (12) -
use
_ readline (12) -
use
_ readline? (12) -
use
_ tracer (12) -
use
_ tracer= (12) -
use
_ tracer? (12) -
use
_ ui (12) -
user
_ agent (12) - v (12)
-
v
_ inv (12) - validate (12)
- value (48)
- value= (12)
- values (6)
- ver (12)
- verbose= (12)
- verbosity= (12)
- verify (12)
-
verify
_ callback (12) -
verify
_ callback= (12) - version (108)
- version= (96)
-
version
_ requirement (12) -
version
_ requirement= (12) - visibility (24)
- visibility= (12)
- wait (24)
-
wait
_ all _ jobs _ execution (6) -
wait
_ for _ cond (6) -
wait
_ until (12) -
wait
_ while (12) -
waiting
_ job? (6) -
waiting
_ jobs (6) -
waiting
_ jobs _ exist? (6) - warn (12)
-
warn
_ legacy (12) -
with
_ config (24) - workspace (12)
- workspace= (12)
- write (24)
-
write
_ nonblock (12) - xmldecl (36)
- xmlschema (12)
- yaml (24)
-
yaml
_ initialize (12) - zone (12)
検索結果
先頭5件
- TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator - TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) {|nodes| . . . } -> () - Gem
:: Specification # specification _ version=(version) - TSort
# each _ strongly _ connected _ component -> Enumerator - TSort
# each _ strongly _ connected _ component {|nodes| . . . } -> nil
-
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator (24501.0) -
node から到達可能な強連結成分についてのイテレータです。
...せん。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(no......de, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connected_component_from(node){|ns|
printf("%s -> %s\n", node, ns.join(","))
}
}......}
#出力
#=> [4]
#=> 4 -> 4
#=> [2, 3]
#=> 2 -> 4
#=> 2 -> 2,3
#=> 3 -> 4
#=> 3 -> 3,2
#=> [1]
#=> 1 -> 4
#=> 1 -> 2,3
#=> 1 -> 1
//}
@see TSort.each_strongly_connected_component_from... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) {|nodes| . . . } -> () (24501.0) -
node から到達可能な強連結成分についてのイテレータです。
...せん。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(no......de, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connected_component_from(node){|ns|
printf("%s -> %s\n", node, ns.join(","))
}
}......}
#出力
#=> [4]
#=> 4 -> 4
#=> [2, 3]
#=> 2 -> 4
#=> 2 -> 2,3
#=> 3 -> 4
#=> 3 -> 3,2
#=> [1]
#=> 1 -> 4
#=> 1 -> 2,3
#=> 1 -> 1
//}
@see TSort.each_strongly_connected_component_from... -
Gem
:: Specification # specification _ version=(version) (24401.0) -
この Gem パッケージに用いられている gemspec のバージョンをセットします。
...この Gem パッケージに用いられている gemspec のバージョンをセットします。
@param version gemspec のバージョンを指定します。
@see Gem::Specification::SPECIFICATION_VERSION_HISTORY... -
TSort
# each _ strongly _ connected _ component -> Enumerator (24401.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
...strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。
each_......strongly_connected_component は nil を返します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_s......trongly_connected_component{|nodes|
p nodes
}
#出力
#=> [4]
#=> [2, 3]
#=> [1]
//}
@see TSort.each_strongly_connected_component... -
TSort
# each _ strongly _ connected _ component {|nodes| . . . } -> nil (24401.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
...strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。
each_......strongly_connected_component は nil を返します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_s......trongly_connected_component{|nodes|
p nodes
}
#出力
#=> [4]
#=> [2, 3]
#=> [1]
//}
@see TSort.each_strongly_connected_component... -
OptionParser
# on(long , klass = String , desc = "") {|v| . . . } -> self (24343.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...されていれば呼ばれます。
klass にはクラスを与えます。どのようなクラスを受け付けるかは、
以下の「デフォルトで利用可能な引数クラス」を参照して下さい。
OptionParser.accept や OptionParser#accept によって、受け付け
るク......た
場合、例外 ArgumentError を投げます。
また、登録されたクラスであっても引数が変換できないものである場合、例外
OptionParser::InvalidArgument を投げます。
オプションの引数は accept で登録したブロックで klass のインスタン......opts.on("-w", "--width N", Integer){|w|
p w.class #=> Integer
}
# ruby command --width=32
opts.on("-o", "--overwrite VALUE", TrueClass){|boolean| ...}
# ruby command --overwrite yes
@param short ショートオプションを表す文字列を指定します。
@param long ロン... -
OptionParser
# on(long , pat = / . * / , desc = "") {|v| . . . } -> self (24343.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...pat にはオプションの引数に許すパターンを表す正規表現で与えます。
コマンドに与えられた引数がパターンにマッチしない場合、
例外 OptionParser::InvalidArgument が parse 実行時に投げられます。
opts.on("--username VALUE", /[a-zA-Z0......-9_]+/){|name| ...}
# ruby command --username=ruby_user
# ruby command --username=ruby.user #=> Error
@param short ショートオプションを表す文字列を指定します。
@param long ロングオプションを表す文字列を指定します。
@param pat オプションの引数......に許すパターンを表す正規表現で指定します。
@param desc オプションの説明を文字列で与えます。サマリに表示されます。... -
OptionParser
# on(short , long , klass = String , desc = "") {|v| . . . } -> self (24343.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...されていれば呼ばれます。
klass にはクラスを与えます。どのようなクラスを受け付けるかは、
以下の「デフォルトで利用可能な引数クラス」を参照して下さい。
OptionParser.accept や OptionParser#accept によって、受け付け
るク......た
場合、例外 ArgumentError を投げます。
また、登録されたクラスであっても引数が変換できないものである場合、例外
OptionParser::InvalidArgument を投げます。
オプションの引数は accept で登録したブロックで klass のインスタン......opts.on("-w", "--width N", Integer){|w|
p w.class #=> Integer
}
# ruby command --width=32
opts.on("-o", "--overwrite VALUE", TrueClass){|boolean| ...}
# ruby command --overwrite yes
@param short ショートオプションを表す文字列を指定します。
@param long ロン... -
OptionParser
# on(short , long , pat = / . * / , desc = "") {|v| . . . } -> self (24343.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...pat にはオプションの引数に許すパターンを表す正規表現で与えます。
コマンドに与えられた引数がパターンにマッチしない場合、
例外 OptionParser::InvalidArgument が parse 実行時に投げられます。
opts.on("--username VALUE", /[a-zA-Z0......-9_]+/){|name| ...}
# ruby command --username=ruby_user
# ruby command --username=ruby.user #=> Error
@param short ショートオプションを表す文字列を指定します。
@param long ロングオプションを表す文字列を指定します。
@param pat オプションの引数......に許すパターンを表す正規表現で指定します。
@param desc オプションの説明を文字列で与えます。サマリに表示されます。...