ライブラリ
- ビルトイン (373)
- bigdecimal (11)
-
cgi
/ core (7) -
cgi
/ html (16) -
cgi
/ session (5) -
cgi
/ session / pstore (1) - csv (11)
- date (14)
- dbm (16)
- delegate (5)
- digest (3)
- drb (8)
-
drb
/ extserv (1) -
drb
/ extservm (1) - e2mmap (1)
- erb (4)
- etc (5)
- fiddle (14)
-
fiddle
/ import (9) - gdbm (14)
- getoptlong (2)
-
io
/ wait (1) - ipaddr (4)
-
irb
/ cmd / chws (2) -
irb
/ cmd / help (1) -
irb
/ cmd / load (3) -
irb
/ cmd / nop (1) -
irb
/ cmd / pushws (3) -
irb
/ cmd / subirb (4) -
irb
/ context (8) -
irb
/ ext / use-loader (4) -
irb
/ extend-command (2) -
irb
/ frame (1) -
irb
/ input-method (14) -
irb
/ output-method (5) - json (4)
- kconv (2)
- logger (7)
- matrix (38)
- mkmf (22)
- monitor (2)
-
mutex
_ m (3) -
net
/ ftp (14) -
net
/ http (31) -
net
/ imap (45) -
net
/ pop (7) -
net
/ smtp (10) - observer (2)
- open-uri (5)
- openssl (51)
- optparse (12)
- ostruct (3)
- pathname (11)
- prettyprint (1)
- prime (16)
- pstore (2)
- psych (25)
- pty (1)
- rake (8)
-
rake
/ rdoctask (1) -
rdoc
/ code _ object (4) -
rdoc
/ context (20) -
rdoc
/ markdown (2) -
rdoc
/ markup (7) -
rdoc
/ markup / formatter (2) -
rdoc
/ parser / ruby (1) -
rdoc
/ rdoc (1) -
rdoc
/ stats (4) -
rdoc
/ text (3) -
rdoc
/ top _ level (5) - resolv (30)
- resolv-replace (3)
-
rexml
/ document (52) -
rexml
/ parsers / pullparser (9) -
rexml
/ parsers / ultralightparser (1) -
rexml
/ sax2listener (6) -
rexml
/ streamlistener (2) -
rinda
/ rinda (5) -
rinda
/ tuplespace (14) - ripper (1)
-
ripper
/ filter (1) - rubygems (1)
-
rubygems
/ builder (2) -
rubygems
/ command (8) -
rubygems
/ command _ manager (1) -
rubygems
/ commands / build _ command (5) -
rubygems
/ commands / dependency _ command (4) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ config _ file (2) -
rubygems
/ dependency (2) -
rubygems
/ dependency _ installer (3) -
rubygems
/ dependency _ list (3) -
rubygems
/ indexer (1) -
rubygems
/ installer (2) -
rubygems
/ package / tar _ header (3) -
rubygems
/ package / tar _ input (3) -
rubygems
/ package / tar _ output (1) -
rubygems
/ package / tar _ reader / entry (2) -
rubygems
/ package / tar _ writer (3) -
rubygems
/ remote _ fetcher (4) -
rubygems
/ requirement (1) -
rubygems
/ security (4) -
rubygems
/ source _ index (20) -
rubygems
/ source _ info _ cache (8) -
rubygems
/ source _ info _ cache _ entry (2) -
rubygems
/ spec _ fetcher (4) -
rubygems
/ specification (11) -
rubygems
/ uninstaller (2) -
rubygems
/ user _ interaction (7) -
rubygems
/ version (1) - scanf (2)
- sdbm (14)
- set (4)
- shell (6)
-
shell
/ builtin-command (2) -
shell
/ command-processor (9) -
shell
/ filter (2) -
shell
/ process-controller (1) -
shell
/ system-command (2) - socket (23)
- stringio (6)
- strscan (1)
- sync (3)
-
syslog
/ logger (3) - tempfile (1)
- tracer (2)
- tsort (3)
- uri (14)
-
webrick
/ cgi (1) -
webrick
/ httpauth / authenticator (1) -
webrick
/ httpauth / basicauth (1) -
webrick
/ httpauth / digestauth (3) -
webrick
/ httpauth / htdigest (3) -
webrick
/ httpauth / htpasswd (3) -
webrick
/ httpauth / userdb (3) -
webrick
/ httprequest (10) -
webrick
/ httpresponse (3) -
webrick
/ httpserver (7) -
webrick
/ httpservlet / abstract (6) -
webrick
/ httpservlet / cgihandler (2) -
webrick
/ httpservlet / erbhandler (2) -
webrick
/ httpservlet / filehandler (7) -
webrick
/ httpservlet / prochandler (2) -
webrick
/ httputils (8) -
webrick
/ log (2) -
webrick
/ server (2) - win32ole (12)
-
yaml
/ dbm (9) - zlib (8)
クラス
-
ARGF
. class (4) - Addrinfo (7)
- Array (21)
- BasicObject (1)
- BasicSocket (2)
- BigDecimal (11)
- Bignum (7)
-
CGI
:: Session (1) -
CGI
:: Session :: FileStore (1) -
CGI
:: Session :: MemoryStore (1) -
CGI
:: Session :: NullStore (2) -
CGI
:: Session :: PStore (1) - CSV (3)
-
CSV
:: Row (6) -
CSV
:: Table (2) - Class (1)
- Complex (2)
- DBM (16)
-
DRb
:: DRbObject (1) -
DRb
:: DRbServer (2) -
DRb
:: DRbUnknown (4) -
DRb
:: DRbUnknownError (1) -
DRb
:: ExtServ (1) -
DRb
:: ExtServManager (1) - Date (12)
- DateTime (2)
- Delegator (4)
-
Digest
:: Base (3) - Dir (1)
- ERB (4)
- Encoding (2)
-
Encoding
:: Converter (11) -
Encoding
:: InvalidByteSequenceError (7) -
Encoding
:: UndefinedConversionError (5) - Enumerator (4)
-
Enumerator
:: Lazy (12) -
Enumerator
:: Yielder (2) -
Etc
:: Group (2) -
Etc
:: Passwd (3) -
Fiddle
:: CStruct (2) -
Fiddle
:: Closure (3) -
Fiddle
:: Closure :: BlockCaller (1) -
Fiddle
:: Function (5) -
Fiddle
:: Handle (2) -
Fiddle
:: Pointer (3) -
File
:: Stat (2) - Fixnum (6)
- Float (4)
- GDBM (14)
-
Gem
:: Builder (2) -
Gem
:: Command (8) -
Gem
:: CommandManager (1) -
Gem
:: Commands :: BuildCommand (5) -
Gem
:: Commands :: DependencyCommand (4) -
Gem
:: Commands :: LockCommand (1) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: ConfigFile (2) -
Gem
:: Dependency (2) -
Gem
:: DependencyInstaller (3) -
Gem
:: DependencyList (3) -
Gem
:: Indexer (1) -
Gem
:: Installer (2) -
Gem
:: LoadError (1) -
Gem
:: Package :: TarHeader (3) -
Gem
:: Package :: TarInput (3) -
Gem
:: Package :: TarOutput (1) -
Gem
:: Package :: TarReader :: Entry (2) -
Gem
:: Package :: TarWriter :: BoundedStream (3) -
Gem
:: RemoteFetcher (4) -
Gem
:: Requirement (1) -
Gem
:: Security :: Policy (4) -
Gem
:: SourceIndex (20) -
Gem
:: SourceInfoCache (8) -
Gem
:: SourceInfoCacheEntry (2) -
Gem
:: SpecFetcher (4) -
Gem
:: Specification (11) -
Gem
:: StreamUI :: SilentProgressReporter (2) -
Gem
:: StreamUI :: SimpleProgressReporter (2) -
Gem
:: StreamUI :: VerboseProgressReporter (2) -
Gem
:: Uninstaller (2) -
Gem
:: Version (1) - GetoptLong (2)
- Hash (16)
- IO (8)
- IPAddr (4)
-
IRB
:: Context (10) -
IRB
:: ExtendCommand :: ChangeWorkspace (1) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (1) -
IRB
:: ExtendCommand :: Foreground (1) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: ExtendCommand :: IrbCommand (1) -
IRB
:: ExtendCommand :: Jobs (1) -
IRB
:: ExtendCommand :: Kill (1) -
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Nop (1) -
IRB
:: ExtendCommand :: PopWorkspace (1) -
IRB
:: ExtendCommand :: PushWorkspace (1) -
IRB
:: ExtendCommand :: Require (1) -
IRB
:: ExtendCommand :: Source (1) -
IRB
:: ExtendCommand :: Workspaces (1) -
IRB
:: FileInputMethod (2) -
IRB
:: Frame (1) -
IRB
:: InputMethod (2) -
IRB
:: OutputMethod (4) -
IRB
:: ReadlineInputMethod (5) -
IRB
:: StdioInputMethod (5) -
IRB
:: StdioOutputMethod (1) - Integer (9)
-
JSON
:: State (2) - Logger (7)
- MatchData (3)
- Matrix (13)
-
Matrix
:: EigenvalueDecomposition (10) -
Matrix
:: LUPDecomposition (10) - Method (7)
- Module (78)
-
MonitorMixin
:: ConditionVariable (2) -
Net
:: FTP (14) -
Net
:: HTTP (17) -
Net
:: HTTPGenericRequest (6) -
Net
:: IMAP (14) -
Net
:: IMAP :: Address (1) -
Net
:: IMAP :: BodyTypeBasic (4) -
Net
:: IMAP :: BodyTypeMessage (5) -
Net
:: IMAP :: BodyTypeMultipart (9) -
Net
:: IMAP :: BodyTypeText (4) -
Net
:: IMAP :: ContinuationRequest (2) -
Net
:: IMAP :: ResponseError (1) -
Net
:: IMAP :: StatusData (2) -
Net
:: IMAP :: UntaggedResponse (3) -
Net
:: POP3 (5) -
Net
:: POPMail (2) -
Net
:: SMTP (10) - Numeric (8)
- Object (22)
-
OpenSSL
:: ASN1 :: ASN1Data (1) -
OpenSSL
:: BN (3) -
OpenSSL
:: Cipher (2) -
OpenSSL
:: Config (1) -
OpenSSL
:: Digest (1) -
OpenSSL
:: Engine (2) -
OpenSSL
:: HMAC (1) -
OpenSSL
:: OCSP :: BasicResponse (2) -
OpenSSL
:: OCSP :: CertificateId (1) -
OpenSSL
:: OCSP :: Request (4) -
OpenSSL
:: PKey :: DH (2) -
OpenSSL
:: PKey :: DSA (3) -
OpenSSL
:: PKey :: EC (1) -
OpenSSL
:: PKey :: EC :: Group (5) -
OpenSSL
:: PKey :: RSA (2) -
OpenSSL
:: SSL :: SSLServer (1) -
OpenSSL
:: SSL :: SSLSocket (2) -
OpenSSL
:: X509 :: Attribute (3) -
OpenSSL
:: X509 :: CRL (2) -
OpenSSL
:: X509 :: ExtensionFactory (2) -
OpenSSL
:: X509 :: Request (3) -
OpenSSL
:: X509 :: Store (1) - OpenStruct (3)
- OptionParser (10)
- PStore (1)
-
PStore
:: DummyMutex (1) -
PTY
:: ChildExited (1) - Pathname (11)
- PrettyPrint (1)
- Prime (3)
-
Prime
:: PseudoPrimeGenerator (12) -
Prime
:: TrialDivisionGenerator (1) -
Process
:: Status (5) -
Psych
:: Handler (5) -
Psych
:: Nodes :: Document (5) -
Psych
:: Nodes :: Node (3) -
Psych
:: Nodes :: Scalar (2) -
Psych
:: Nodes :: Sequence (4) -
Psych
:: Stream (2) -
Psych
:: TreeBuilder (1) -
Psych
:: Visitors :: YAMLTree (1) -
RDoc
:: CodeObject (4) -
RDoc
:: Context (19) -
RDoc
:: Context :: Section (1) -
RDoc
:: Markdown (2) -
RDoc
:: Markup (7) -
RDoc
:: Markup :: Formatter (2) -
RDoc
:: Options (12) -
RDoc
:: Parser :: Ruby (1) -
RDoc
:: RDoc (1) -
RDoc
:: Stats (4) -
RDoc
:: TopLevel (5) -
REXML
:: AttlistDecl (3) -
REXML
:: Attribute (2) -
REXML
:: Attributes (3) -
REXML
:: CData (1) -
REXML
:: Child (2) -
REXML
:: Declaration (1) -
REXML
:: DocType (4) -
REXML
:: Document (14) -
REXML
:: Element (8) -
REXML
:: Entity (3) -
REXML
:: ExternalEntity (1) -
REXML
:: Formatters :: Default (1) -
REXML
:: Instruction (1) -
REXML
:: NotationDecl (1) -
REXML
:: Parent (3) -
REXML
:: Parsers :: PullEvent (8) -
REXML
:: Parsers :: PullParser (1) -
REXML
:: Parsers :: UltraLightParser (1) -
Rake
:: FileList (4) -
Rake
:: RDocTask (1) -
Rake
:: Task (1) -
Rake
:: TaskArguments (1) - Random (1)
- Range (2)
- Rational (2)
- Regexp (2)
-
Resolv
:: DNS (3) -
Resolv
:: DNS :: Name (2) -
Resolv
:: DNS :: Resource :: DomainName (1) -
Resolv
:: DNS :: Resource :: HINFO (2) -
Resolv
:: DNS :: Resource :: IN :: A (1) -
Resolv
:: DNS :: Resource :: IN :: AAAA (1) -
Resolv
:: DNS :: Resource :: IN :: SRV (4) -
Resolv
:: DNS :: Resource :: IN :: WKS (3) -
Resolv
:: DNS :: Resource :: MINFO (2) -
Resolv
:: DNS :: Resource :: MX (2) -
Resolv
:: DNS :: Resource :: SOA (7) -
Resolv
:: DNS :: Resource :: TXT (2) -
Rinda
:: TupleEntry (9) -
Rinda
:: TupleSpace (5) -
Rinda
:: TupleSpaceProxy (5) - Ripper (1)
-
Ripper
:: Filter (1) -
RubyVM
:: InstructionSequence (3) - SDBM (14)
- Set (4)
- Shell (6)
-
Shell
:: BuiltInCommand (2) -
Shell
:: CommandProcessor (9) -
Shell
:: Filter (2) -
Shell
:: ProcessController (1) -
Shell
:: SystemCommand (2) -
Socket
:: AncillaryData (1) -
Socket
:: UDPSource (3) - String (25)
- StringIO (6)
- StringScanner (1)
- Struct (3)
- Symbol (1)
-
Syslog
:: Logger (3) - Tempfile (1)
- Thread (9)
-
Thread
:: Backtrace :: Location (1) -
Thread
:: ConditionVariable (1) -
Thread
:: Mutex (7) -
Thread
:: Queue (13) -
Thread
:: SizedQueue (8) - ThreadGroup (4)
- Time (6)
- TracePoint (1)
- Tracer (2)
- UDPSocket (9)
- UNIXSocket (4)
-
URI
:: FTP (1) -
URI
:: Generic (7) -
URI
:: LDAP (5) -
URI
:: MailTo (1) - UnboundMethod (14)
- Vector (5)
-
WEBrick
:: BasicLog (2) -
WEBrick
:: CGI (1) -
WEBrick
:: GenericServer (2) -
WEBrick
:: HTTPAuth :: BasicAuth (1) -
WEBrick
:: HTTPAuth :: DigestAuth (3) -
WEBrick
:: HTTPAuth :: Htdigest (3) -
WEBrick
:: HTTPAuth :: Htpasswd (3) -
WEBrick
:: HTTPRequest (10) -
WEBrick
:: HTTPResponse (3) -
WEBrick
:: HTTPServer (5) -
WEBrick
:: HTTPServer :: MountTable (2) -
WEBrick
:: HTTPServlet :: AbstractServlet (6) -
WEBrick
:: HTTPServlet :: CGIHandler (2) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (3) -
WEBrick
:: HTTPServlet :: ERBHandler (2) -
WEBrick
:: HTTPServlet :: FileHandler (4) -
WEBrick
:: HTTPServlet :: ProcHandler (2) -
WEBrick
:: HTTPUtils :: FormData (8) - WIN32OLE (3)
-
WIN32OLE
_ EVENT (1) -
WIN32OLE
_ METHOD (3) -
WIN32OLE
_ PARAM (1) -
WIN32OLE
_ TYPE (3) -
WIN32OLE
_ TYPELIB (1) -
YAML
:: DBM (9) -
Zlib
:: Deflate (2) -
Zlib
:: GzipReader (6)
モジュール
-
CGI
:: HtmlExtension (16) -
CGI
:: QueryExtension (7) - Enumerable (29)
- Exception2MessageMapper (1)
-
Fiddle
:: Importer (7) - GC (1)
-
Gem
:: DefaultUserInteraction (1) -
Gem
:: InstallUpdateOptions (1) -
IRB
:: ExtendCommandBundle (4) -
JSON
:: Generator :: GeneratorMethods :: String (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (23)
-
Mutex
_ m (3) -
Net
:: HTTPHeader (8) - Observable (2)
-
OpenSSL
:: Buffering (6) -
OpenURI
:: Meta (2) -
OpenURI
:: OpenRead (3) -
OptionParser
:: Arguable (2) -
RDoc
:: Text (3) -
REXML
:: Namespace (1) -
REXML
:: Node (3) -
REXML
:: SAX2Listener (6) -
REXML
:: StreamListener (2) -
Rake
:: Cloneable (1) -
Sync
_ m (3) - TSort (3)
-
WEBrick
:: HTTPAuth :: Authenticator (1) -
WEBrick
:: HTTPAuth :: UserDB (3)
キーワード
- % (1)
- + (1)
- < (1)
- << (7)
- <= (1)
- <=> (1)
- == (1)
- === (1)
- >= (1)
- >> (1)
- DelegateClass (1)
- [] (7)
- []= (1)
-
_ _ drburi (1) -
_ dump (3) - abi (1)
- absolute? (1)
-
absolute
_ path (1) -
accept
_ encoding (2) - active? (1)
- add (6)
-
add
_ attribute (4) -
add
_ attributes (1) -
add
_ bindir (1) -
add
_ certid (1) -
add
_ class (1) -
add
_ class _ or _ module (2) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ gem _ contents (1) -
add
_ html (1) -
add
_ include (1) -
add
_ module (1) -
add
_ namespace (1) -
add
_ nonce (1) -
add
_ observer (1) -
add
_ require (1) -
add
_ runtime _ dependency (1) -
add
_ schedule (1) -
add
_ spec (1) -
add
_ special (1) -
add
_ specs (1) -
add
_ status (1) -
add
_ tag (1) -
add
_ trace _ func (1) -
add
_ value (1) -
add
_ word _ pair (1) - addr (2)
- address (3)
- adjugate (1)
- algorithm (1)
-
alias
_ method (1) - alive? (1)
- ancestors (1)
- anchor (1)
-
append
_ data (1) -
append
_ features (1) -
arg
_ config (1) - args (1)
- arguments (3)
- arity (2)
- ascend (1)
-
assign
_ defaults (1) - attlistdecl (1)
- attlistdecl? (1)
- attr (4)
-
attr
_ accessor (1) -
attr
_ reader (1) -
attr
_ writer (1) -
attribute
_ manager (1) -
attribute
_ of (1) - attributes (2)
-
attributes
_ of (1) -
auth
_ cram _ md5 (1) -
auth
_ only (1) -
auth
_ type (1) - authenticate (2)
-
auto
_ indent _ mode (1) - autoload (1)
- autoload? (1)
- basename (1)
-
basic
_ auth (1) -
bin
_ dir (1) - bind (4)
- bitmap (1)
- body (4)
-
body
_ exist? (1) -
body
_ stream (1) -
bsearch
_ index (1) - buf (1)
- build (1)
-
bulk
_ threshold (1) -
cache
_ data (1) -
cache
_ dir (1) - call (2)
- cancel (1)
- canceled? (1)
-
canonical
_ each (1) -
capable
_ cram _ md5 _ auth? (1) - captures (1)
- casecmp (2)
- cdata? (1)
- certid (1)
- changed (1)
-
check
_ signedness (2) - checkbox (1)
- checksum (1)
- children (1)
- chown (1)
- chunk (1)
-
chunk
_ while (1) - chunked? (2)
-
class
_ eval (2) -
class
_ exec (1) -
class
_ variable _ defined? (1) -
class
_ variable _ get (1) -
class
_ variable _ set (1) -
class
_ variables (1) - clear (1)
-
clear
_ exclude (1) - clone (3)
- close (3)
- closed? (1)
-
cmp
_ issuer (1) - codepoints (3)
- coerce (1)
-
collect
_ specs (1) -
compute
_ key (1) - connect (2)
-
const
_ defined? (1) -
const
_ get (1) -
const
_ set (1) - constants (1)
- content (1)
-
content
_ encoding (1) - convert (3)
- coredump? (1)
-
cpp
_ command (1) - cpu (1)
-
create
_ body (1) -
create
_ ext (1) -
create
_ extension (1) -
create
_ value (1) -
cross
_ product (1) - ctype (1)
-
current
_ section (1) - curry (2)
- data (3)
- debug (5)
- debug? (5)
-
debug
_ level (1) -
debug
_ mode (1) -
def
_ class (1) -
def
_ exception (1) -
def
_ module (1) - default (3)
-
default
_ argv (1) -
default
_ event _ sources (1) -
default
_ executable (1) -
default
_ ole _ types (1) -
default
_ port (1) -
default
_ proc (1) - defaults (1)
-
defaults
_ str (1) -
define
_ method (2) -
defined
_ class (1) - deflate (1)
- degree (1)
- delete (4)
-
delete
_ all (1) -
delete
_ attribute (1) -
delete
_ field (1) -
delete
_ if (8) -
delete
_ passwd (1) - denominator (1)
-
depend
_ rules (1) -
dependencies
_ ok? (1) -
deprecate
_ constant (1) - deq (2)
- descend (1)
-
destination
_ encoding (2) -
destination
_ encoding _ name (2) - det (2)
- detect (2)
- determinant (2)
-
dh
_ compute _ key (1) - difference (1)
- dig (2)
-
dir
_ config (1) - disasm (1)
- disassemble (1)
- display (1)
- disposition (1)
- div (3)
- divmod (5)
- dn (1)
-
do
_ DELETE (1) -
do
_ GET (6) -
do
_ HEAD (1) -
do
_ OPTIONS (2) -
do
_ POST (5) -
do
_ PUT (1) -
do
_ not _ reverse _ lookup (1) - doctype (3)
- doctype? (1)
- document (3)
-
document
_ children (1) -
document
_ self (1) - documented? (1)
- done (3)
- download (1)
- downto (2)
- drop (2)
-
drop
_ while (4) -
dry
_ run (1) - dummy? (1)
-
dummy
_ makefile (1) - dump (2)
- dup (7)
- each (15)
-
each
_ attribute (1) -
each
_ byte (1) -
each
_ capitalized (1) -
each
_ child (3) -
each
_ classmodule (1) -
each
_ codepoint (4) -
each
_ element _ with _ attribute (1) -
each
_ index (2) -
each
_ line (1) -
each
_ pair (3) -
each
_ recursive (1) -
each
_ resource (1) -
each
_ strongly _ connected _ component (1) -
each
_ strongly _ connected _ component _ from (1) -
each
_ value (5) -
each
_ with _ index (5) - eigen (1)
- eigensystem (1)
-
eigenvalue
_ matrix (1) - eigenvalues (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- elementdecl? (1)
- emailbx (1)
- empty? (1)
-
enable
_ config (2) -
enable
_ ssl (1) -
enable
_ starttls (1) -
enable
_ starttls _ auto (1) -
enable
_ tls (1) - enclose (1)
- enclosed? (1)
- encode (3)
- encoding (4)
-
end
_ document (2) -
end
_ element (1) -
end
_ element? (1) -
end
_ sequence (1) - enq (2)
-
ensure
_ dependency (1) - entitydecl? (1)
-
enum
_ for (4) - eof? (2)
- eql? (1)
-
error
_ bytes (1) -
error
_ char (1) - exception (1)
- exchange (1)
- exclude (2)
-
exclude
_ end? (1) -
excluded
_ from _ list? (1) - executable? (1)
-
executable
_ real? (1) - execute (17)
- exited? (1)
- expire (1)
- expired? (1)
- expires (1)
- extend (1)
-
extend
_ object (1) - extended (1)
- extension (1)
- extensions (1)
- extern (1)
- fdiv (4)
- feed (1)
- fetch (5)
-
fetch
_ path (1) - field (1)
-
file
_ absolute _ name (1) -
file
_ field (1) -
file
_ name (1) - filename (1)
- filter (1)
- find (4)
-
find
_ all (3) -
find
_ enclosing _ module _ named (1) -
find
_ executable (1) -
find
_ first _ recursive (1) -
find
_ gems (1) -
find
_ gems _ with _ sources (1) -
find
_ index (6) -
find
_ library (2) -
find
_ local _ symbol (1) -
find
_ matching (1) -
find
_ module _ named (2) -
find
_ name (2) -
find
_ proxy (1) -
find
_ spec _ by _ name _ and _ version (1) - finish (1)
-
fixed
_ encoding? (1) - flush (3)
-
flush
_ left (1) -
force
_ encoding (1) -
force
_ output (1) -
force
_ update (1) - form (2)
- free (1)
- freeze (1)
-
full
_ name (2) -
garbage
_ collect (1) -
gem
_ signature (1) - get (2)
-
get
_ line _ types (1) -
get
_ one _ optional _ argument (1) -
get
_ passwd (3) -
get
_ path (1) - getbinaryfile (2)
- getresource (1)
- getresources (1)
- gets (3)
- gid (1)
- github (1)
- greeting (1)
- grep (1)
-
grep
_ v (1) - group (2)
- gsub (1)
- gsub! (1)
- guid (2)
-
has
_ value? (4) - hash (1)
-
have
_ func (2) -
have
_ library (2) -
have
_ struct _ member (2) - header (1)
- headers (2)
- here? (1)
- hidden (2)
- hour (1)
- implicit (2)
-
implicit
_ end (1) - include (2)
- include? (14)
-
include
_ line _ numbers (1) - included (1)
-
included
_ modules (1) - includes (1)
-
incomplete
_ input? (1) - index (6)
-
index
_ signature (1) - inherited (1)
-
initialize
_ classes _ and _ modules (1) - inject (3)
-
inline
_ source (1) -
inner
_ product (1) -
insert
_ output (1) - inspect (2)
- install (1)
-
install
_ update _ defaults _ str (1) -
instance
_ method (1) -
instance
_ methods (1) - io (1)
-
ip
_ unpack (1) -
ipv4
_ multicast? (1) -
ipv6
_ multicast? (1) -
ipv6
_ unique _ local? (1) -
ipv6
_ unspecified? (1) -
irb
_ context (1) -
irb
_ exit (1) -
irb
_ load (1) -
irb
_ require (1) - iseuc (1)
- julian (1)
- julian? (1)
- kconv (1)
-
keep
_ if (3) - key (4)
- l (1)
- language (4)
-
last
_ modified (1) -
last
_ update (1) -
latest
_ cache _ data (1) -
latest
_ specs (1) - length (2)
- limit (1)
- line (2)
-
line
_ numbers (1) - list (2)
- ljust (1)
-
load
_ gems _ in (1) -
load
_ gemspec (1) -
load
_ gemspecs (1) -
load
_ modules (1) -
load
_ public _ key (1) -
load
_ specs (1) -
local
_ address (1) - lock (1)
- locked? (2)
- log (2)
- login (2)
- logout (1)
- lup (1)
-
lup
_ decomposition (1) - magnitude (7)
- mailbox (1)
-
make
_ passwd (1) - markup (2)
-
marshal
_ dump (6) -
matched
_ size (1) - max (1)
-
media
_ subtype (4) -
media
_ type (1) - member? (2)
- merge (2)
- method (1)
-
method
_ added (1) -
method
_ defined? (1) -
method
_ removed (1) -
method
_ undefined (1) - methods (1)
- minimum (1)
- minute (1)
- mlsd (2)
- mname (1)
-
mod
_ mul (1) -
mod
_ sub (1) - modifiable (1)
-
module
_ eval (2) -
module
_ exec (1) -
module
_ function (1) - modules (1)
- modulo (6)
- mount (1)
-
mount
_ proc (2) -
mu
_ extended (1) -
mu
_ locked? (1) - mult (1)
- multipart? (4)
-
multipart
_ form (2) - name (8)
-
named
_ captures (2) - needed? (1)
- next (1)
-
next
_ update (1) -
node
_ type (3) - norm (1)
-
not
_ modified? (1) - notationdecl (1)
- notationdecl? (1)
- notify (2)
- null? (1)
-
num
_ classes (1) -
num
_ files (1) -
num
_ methods (1) -
num
_ modules (1) -
num
_ waiting (1) - odd? (2)
- oid (1)
-
ok
_ to _ remove? (1) -
ole
_ func _ methods (1) -
ole
_ put _ methods (1) -
ole
_ query _ interface (1) -
on
_ default (1) -
on
_ head (1) -
only
_ signed (1) -
only
_ trusted (1) - open (2)
-
open
_ uri _ or _ path (1) - order (1)
- order! (4)
-
original
_ name (1) - os (1)
- out (3)
- outdated (1)
- owned? (1)
- owner (2)
- p (1)
- pack (1)
- param (1)
- parameters (1)
- parse (2)
- parse! (1)
- parts (1)
- passwd (1)
- password (1)
-
password
_ field (2) -
path
_ translated (1) - peek (1)
- peeraddr (2)
-
pending
_ interrupt? (1) - permute! (1)
- pid (1)
- pivots (1)
-
pkcs5
_ keyivgen (1) - pop (2)
- port (1)
- pow (1)
- pp (1)
- ppx (1)
- preference (1)
-
prepare
_ range (1) - prepend (1)
-
prepend
_ features (1) - prepended (1)
-
previous
_ sibling (1) -
previous
_ sibling _ node (1) -
prime
_ division (1) -
prime
_ fasttest? (1) -
primitive
_ convert (4) - print (1)
- printn (1)
- priority (1)
- private (1)
-
private
_ class _ method (1) -
private
_ constant (1) -
private
_ instance _ methods (1) -
private
_ method _ defined? (1) -
private
_ methods (1) -
processing
_ instruction (1) - product (2)
- protected (1)
-
protected
_ instance _ methods (1) -
protected
_ method _ defined? (1) -
protected
_ methods (2) - protocol (1)
-
proxy
_ basic _ auth (1) -
psych
_ yaml _ as (1) - ptr (1)
-
pub
_ key (2) - pubid (1)
- public (3)
- public? (1)
-
public
_ class _ method (1) -
public
_ constant (1) -
public
_ decrypt (1) -
public
_ encrypt (1) -
public
_ instance _ method (1) -
public
_ instance _ methods (1) -
public
_ key (1) -
public
_ method (1) -
public
_ method _ defined? (1) -
public
_ methods (2) -
public
_ send (2) - push (2)
- pushd (1)
- pushdir (1)
- put (3)
- put2 (2)
- putback (2)
- putbinaryfile (2)
- puts (1)
- qop (1)
- quiet (1)
-
quirks
_ mode (1) -
quirks
_ mode? (1) - quo (1)
- quota (1)
- quote (1)
- quoted (1)
- r (1)
-
radio
_ group (2) -
rake
_ extension (1) -
raw
_ data (2) -
raw
_ header (1) -
rdoc
_ include (1) - read (6)
-
read
_ all (2) -
read
_ all _ cache _ data (1) -
read
_ cache _ data (1) -
read
_ nonblock (4) -
read
_ timeout (4) -
readable
_ atfer _ eof? (3) -
readagain
_ bytes (1) - readchar (1)
- readline (1)
- readlines (1)
- readpartial (5)
-
recv
_ io (1) -
recvfrom
_ nonblock (1) - reduce (3)
- refine (1)
- refresh (2)
- refresh! (1)
- reject (3)
- reject! (6)
- reload (1)
- remainder (3)
-
remote
_ addr (1) -
remote
_ address (1) -
remote
_ ident (1) -
remove
_ by _ name (1) -
remove
_ class _ variable (1) -
remove
_ classes _ and _ modules (1) -
remove
_ const (1) -
remove
_ method (1) -
remove
_ spec (1) - renew (1)
-
repeated
_ combination (1) -
repeated
_ permutation (2) - replacement= (1)
- replicate (1)
- reply (1)
- request (3)
-
request
_ body _ permitted? (1) -
request
_ get (2) -
request
_ head (2) -
request
_ method (3) -
request
_ post (2) -
request
_ put (2) -
required
_ ruby _ version (1) -
required
_ rubygems _ version (1) -
requirements
_ list (1) - requires (1)
-
reset
_ cache _ data (1) -
reset
_ cache _ for (1) -
respond
_ to? (1) -
respond
_ to _ missing? (2) - response (1)
-
response
_ body _ permitted? (1) - result (1)
- retry (1)
-
return
_ code (1) -
return
_ format (1) -
return
_ headers? (1) -
return
_ type (1) -
return
_ type _ detail (1) -
return
_ vtype (1) - rewind (3)
- rindex (1)
- rjust (1)
- rmailbx (1)
- rname (1)
- root (3)
-
root
_ node (1) - round (9)
- route (1)
-
route
_ to (1) - run (3)
-
runtime
_ dependencies (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - saturday? (2)
-
save
_ rounding _ mode (1) - scalar (1)
- scan (1)
- scanf (2)
- scope (1)
- search (1)
- seed (1)
- select (8)
- select! (3)
- send (4)
-
send
_ io (1) -
send
_ request (1) - sequence (1)
- serial (1)
- service (1)
-
session
_ reused? (1) -
set
_ cache _ data (1) -
set
_ current _ section (1) -
set
_ debug _ output (3) -
set
_ default (1) -
set
_ default _ paths (1) -
set
_ generator (1) -
set
_ redirect (1) -
set
_ trace _ func (1) - setquota (1)
- setuid? (5)
- shift (2)
-
show
_ lookup _ failure (1) - shuffle (1)
- shuffle! (1)
- shutdown (3)
- sign (1)
- signaled? (1)
-
singleton
_ class? (1) -
singleton
_ method _ undefined (1) -
singleton
_ methods (1) - singular? (1)
- size (4)
- sleep (1)
- slice (1)
-
slice
_ when (1) - solve (1)
-
source
_ encoding (3) -
source
_ encoding _ name (2) -
source
_ index (1) -
source
_ location (2) -
spec
_ dirs (1) -
spec
_ path (1) - specification (1)
-
stand
_ alone? (1) - start (8)
-
start
_ document (2) -
start
_ sequence (1) - status (3)
- stdout (1)
- step (1)
-
stop
_ service (1) - stopped? (1)
- store (2)
- strftime (2)
- strings (1)
- struct (1)
- style (1)
- sub (3)
- sub! (1)
-
sub
_ type (1) -
subdomain
_ of? (1) - subscribe (1)
- subtype (4)
- succ (4)
- success (1)
- summarize (2)
- summary (1)
-
summary
_ indent (1) -
summary
_ width (1) - sunday? (2)
-
super
_ each (1) -
super
_ method (2) - sym (1)
-
sync
_ unlock (1) -
sync
_ upgrade _ waiting (1) - synchronize (2)
- sysread (3)
- tag (1)
-
tag
_ directives (1) - take (2)
- target (1)
- terminated? (1)
-
text
_ field (2) -
thread
_ variable _ set (1) - thursday? (2)
-
to
_ a (2) -
to
_ ary (3) -
to
_ binary (1) -
to
_ der (4) -
to
_ enum (4) -
to
_ i (3) -
to
_ json (2) -
to
_ ptr (1) -
to
_ ruby (1) -
to
_ s (3) -
to
_ value (1) - tokens (1)
-
trace
_ func (2) - transform (1)
- truncate (4)
-
try
_ func (2) -
try
_ lock (1) -
tsort
_ each (1) - tuesday? (2)
- typecode (1)
- uclass (1)
- ui (1)
- uid (3)
-
uid
_ copy (1) -
uid
_ fetch (1) -
uid
_ move (1) -
uid
_ search (1) -
uid
_ sort (1) -
uid
_ store (1) -
uid
_ thread (1) - uidl (1)
- umount (1)
- unadvise (1)
- uname (1)
- unbind (1)
-
unconverted
_ fields? (1) -
undef
_ method (1) - ungetc (1)
-
unicode
_ normalize (1) -
unicode
_ normalize! (1) -
unicode
_ normalized? (1) - union (1)
-
unique
_ id (1) - unix? (1)
-
unix
_ path (1) -
unix
_ rights (1) - unknown (1)
- unlink (3)
- unlock (3)
-
unmatched
_ alias _ lists (1) - unmount (1)
- unnormalized (1)
- unpack (1)
-
unparsed
_ uri (1) - unsubscribe (1)
- untaint (1)
- untrusted? (1)
- unused (1)
- update (17)
-
update
_ sources (1) - updated (3)
-
upper
_ bound (1) - upto (2)
- uri (2)
- usage (3)
-
use
_ loader (1) -
use
_ loader? (1) -
use
_ readline (1) -
use
_ readline? (1) - userdb (2)
- using (1)
- utime (1)
- v (1)
-
v
_ inv (1) - value (7)
- value? (3)
- values (4)
-
values
_ at (8) -
verify
_ data (1) -
verify
_ gem (1) - version (2)
-
version
_ requirement (1) -
version
_ requirements (1) - visibility (2)
- wait (2)
- wait? (1)
-
wait
_ readable (1) -
wait
_ until (1) - wakeup (1)
- weight (1)
-
which
_ to _ update (1) -
windows
_ stub _ script (1) -
with
_ config (2) -
with
_ defaults (1) -
with
_ index (4) -
with
_ object (2) - write (12)
- written (1)
-
xml
_ decl (1) - xmldecl? (1)
- yaml? (1)
-
yaml
_ as (1) - yield (1)
- yydebug (1)
- zip (4)
-
zipped
_ stream (1)
検索結果
先頭5件
-
Module
# >(other) -> bool | nil (72412.0) -
比較演算子。 self が other の先祖である場合、true を返します。 self が other の子孫か同一クラスである場合、false を返します。
比較演算子。 self が other の先祖である場合、true を返します。
self が other の子孫か同一クラスである場合、false を返します。
継承関係にないクラス同士の比較では
nil を返します。
@param other 比較対象のモジュールやクラス
@raise TypeError other がクラスやモジュールではない場合に発生します。
@see Module#<
//emlist[例][ruby]{
module Awesome; end
module Included
include Awesome
end
module Prepended
... -
Matrix
:: EigenvalueDecomposition # d -> Matrix (63607.0) -
固有値を対角成分に並べた行列を返します。
固有値を対角成分に並べた行列を返します。 -
Matrix
:: LUPDecomposition # u -> Matrix (63607.0) -
LUP分解の上半行列部分を返します。
LUP分解の上半行列部分を返します。 -
Gem
:: Installer # ensure _ dependency(spec , dependency) -> true (55804.0) -
インストールしようとしている Gem が依存関係を満たしている事を確認します。
インストールしようとしている Gem が依存関係を満たしている事を確認します。
依存関係を満たしていない場合は、例外 Gem::InstallError が発生します。
@param spec Gem::Specification のインスタンスを指定します。
@param dependency Gem::Dependency のインスタンスを指定します。
@raise Gem::InstallError 依存関係を満たしていない場合に発生します。 -
Gem
:: Specification # runtime _ dependencies -> Array (55204.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
IRB
:: Context # auto _ indent _ mode -> bool (55204.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode= -
Net
:: FTP # debug _ mode -> bool (55204.0) -
デバッグモードであれば真を、そうでなければ偽を返します。
デバッグモードであれば真を、そうでなければ偽を返します。
値が真であるとき、送受信の記録と ABOR, STAT の結果が
$stdout に随時表示されます。
デフォルトは偽です。
@see Net::FTP#debug_mode= -
DRb
:: DRbObject # _ _ drburi -> String|nil (54904.0) -
リモートオブジェクトの URI を返します。
リモートオブジェクトの URI を返します。 -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (54904.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
Gem
:: SourceIndex # index _ signature -> String (54904.0) -
ソースインデックスの SHA256 ダイジェストを返します。
ソースインデックスの SHA256 ダイジェストを返します。
この値はインデックスが変更されると変化します。 -
Module
# included _ modules -> [Module] (54904.0) -
self にインクルードされているモジュールの配列を返します。
self にインクルードされているモジュールの配列を返します。
//emlist[例][ruby]{
module Mixin
end
module Outer
include Mixin
end
Mixin.included_modules #=> []
Outer.included_modules #=> [Mixin]
//}
@see Module#ancestors -
Module
# module _ function(*name) -> self (54904.0) -
メソッドをモジュール関数にします。
メソッドをモジュール関数にします。
引数が与えられた時には、
引数で指定されたメソッドをモジュール関数にします。
引数なしのときは今後このモジュール定義文内で
新しく定義されるメソッドをすべてモジュール関数にします。
モジュール関数とは、プライベートメソッドであると同時に
モジュールの特異メソッドでもあるようなメソッドです。
例えば Math モジュールのメソッドはすべてモジュール関数です。
self を返します。
@param name String または Symbol を 0 個以上指定します。
=== 注意
module_function はメソッドに「モジュール関数」とい... -
RDoc
:: RDoc # document(argv) -> nil (54904.0) -
argv で与えられた引数を元にドキュメントをフォーマットして指定されたディ レクトリに出力します。
argv で与えられた引数を元にドキュメントをフォーマットして指定されたディ
レクトリに出力します。
@param argv コマンドラインで rdoc コマンドに指定するのと同じ引数を文字
列の配列で指定します。
@raise RDoc::Error ドキュメントの処理中にエラーがあった場合に発生します。
指定できるオプションについては、lib:rdoc#usage を参照してくださ
い。出力ディレクトリが指定されなかった場合はカレントディレクトリ の
doc 以下に出力します。 -
DRb
:: DRbUnknownError # unknown -> DRb :: DRbUnknown (46504.0) -
ラップしているオブジェクトを返します。
ラップしているオブジェクトを返します。 -
Gem
:: SourceInfoCacheEntry # source _ index -> Gem :: SourceIndex (46504.0) -
このキャッシュエントリに対するソースインデックスです。
このキャッシュエントリに対するソースインデックスです。 -
Encoding
:: Converter # source _ encoding -> Encoding (46222.0) -
変換元のエンコーディングを返します。
変換元のエンコーディングを返します。
@return 変換元のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.source_encoding #=> #<Encoding:UTF-8>
//} -
Encoding
:: InvalidByteSequenceError # source _ encoding -> Encoding (46204.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換元のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#destination_encoding,
Encoding::UndefinedConversionError#source_encoding -
Encoding
:: InvalidByteSequenceError # source _ encoding _ name -> Encoding (46204.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#source_encoding -
Encoding
:: UndefinedConversionError # source _ encoding -> Encoding (46204.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換元のエンコーディングを Encoding
オブジェクトで返します。
変換が多段階になされる場合は元の文字列のものではない
エンコーディングが返される場合があることに注意してください。
@see Encoding::UndefinedConversionError#destination_encoding -
Encoding
:: UndefinedConversionError # source _ encoding _ name -> Encoding (46204.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#source_encoding -
REXML
:: Node # previous _ sibling _ node -> REXML :: Node | nil (46204.0) -
前の兄弟ノードを返します。
前の兄弟ノードを返します。
前の兄弟ノードが存在しない場合(ノードがルートである場合や、
最初のノードである場合)は nil を返します。 -
UnboundMethod
# super _ method -> UnboundMethod | nil (46204.0) -
self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ クトにして返します。
self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ
クトにして返します。
@see Method#super_method -
Encoding
:: Converter # insert _ output(string) -> nil (45958.0) -
変換器内のバッファに文字列を挿入します。 バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
変換器内のバッファに文字列を挿入します。
バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
変換先がステートフルなエンコーディングであった場合、
挿入された文字列は状態に基づいて変換され、状態を更新します。
このメソッドは変換に際してエラーが発生した際にのみ利用されるべきです。
@param string 挿入する文字列
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "iso-8859-1")
src = "HIRAGANA LETTER A is \u{3042}."
dst = ""
p ec.... -
BigDecimal
# save _ rounding _ mode { . . . } -> object (45904.0) -
丸め処理に関する BigDecimal.mode の設定を保存してブロックを評価します。 ブロック中で変更した設定はブロックの評価後に復元されます。
丸め処理に関する BigDecimal.mode の設定を保存してブロックを評価します。
ブロック中で変更した設定はブロックの評価後に復元されます。
ブロックの評価結果を返します。 -
CGI
:: QueryExtension # request _ method -> String (45904.0) -
ENV['REQUEST_METHOD'] を返します。
ENV['REQUEST_METHOD'] を返します。 -
Date
# saturday? -> bool (45904.0) -
土曜日なら真を返します。
土曜日なら真を返します。 -
Date
# sunday? -> bool (45904.0) -
日曜日なら真を返します。
日曜日なら真を返します。 -
Date
# thursday? -> bool (45904.0) -
木曜日なら真を返します。
木曜日なら真を返します。 -
Date
# tuesday? -> bool (45904.0) -
火曜日なら真を返します。
火曜日なら真を返します。 -
Gem
:: Builder # build -> String (45904.0) -
スペックから Gem を作成する。
スペックから Gem を作成する。
@return 作成したファイル名を返します。 -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (45904.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (45904.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
Gem
:: Uninstaller # dependencies _ ok?(spec) -> bool (45904.0) -
アンインストール指定された Gem を削除しても依存関係を満たすことができるか どうかチェックします。
アンインストール指定された Gem を削除しても依存関係を満たすことができるか
どうかチェックします。
@param spec アンインストール指定されている Gem の Gem::Specification を指定します。 -
Net
:: HTTPGenericRequest # request _ body _ permitted? -> bool (45904.0) -
リクエストにエンティティボディを一緒に送ることが許されている HTTP メソッド (POST など)の場合真を返します。
リクエストにエンティティボディを一緒に送ることが許されている
HTTP メソッド (POST など)の場合真を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
post = Net::HTTP::Post.new(uri.request_uri)
post.request_body_permitted? # => true
head = Net::HTTP::Head.new(uri.request_uri)
head.request_bo... -
RDoc
:: CodeObject # document _ children -> bool (45904.0) -
自身に含まれるメソッド、エイリアス、定数や属性をドキュメントに含めるか どうかを返します。
自身に含まれるメソッド、エイリアス、定数や属性をドキュメントに含めるか
どうかを返します。
@see RDoc::CodeObject#document_self -
RDoc
:: CodeObject # document _ self -> bool (45904.0) -
自身をドキュメントに含めるかどうかを返します。
自身をドキュメントに含めるかどうかを返します。
@see RDoc::CodeObject#document_children -
RDoc
:: CodeObject # documented? -> bool (45904.0) -
出力すべきドキュメントがあるかどうかを返します。
出力すべきドキュメントがあるかどうかを返します。 -
RDoc
:: Options # force _ output -> bool (45904.0) -
コマンドライン引数の --force_output オプションを指定していた場合、true を返します。--no-force_output オプションを指定していた場合、false を返 します。
コマンドライン引数の --force_output オプションを指定していた場合、true
を返します。--no-force_output オプションを指定していた場合、false を返
します。
どちらも指定しなかった場合は true を返します。 -
RDoc
:: Options # rdoc _ include -> [String] (45904.0) -
コマンドライン引数の --include オプションで指定したディレクトリを文字列 の配列で返します。
コマンドライン引数の --include オプションで指定したディレクトリを文字列
の配列で返します。
指定しなかった場合は ['.'] を返します。 -
REXML
:: AttlistDecl # include?(key) -> bool (45904.0) -
key が属性名であるならば真を返します。
key が属性名であるならば真を返します。
@param key 属性名であるかどうか判定する文字列 -
WEBrick
:: HTTPAuth :: Authenticator # userdb -> WEBrick :: HTTPAuth :: Htpasswd | WEBrick :: HTTPAuth :: Htdigest (45904.0) -
認証のためのユーザデータベースを返します。
認証のためのユーザデータベースを返します。
@see WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::Htdigest -
WEBrick
:: HTTPAuth :: BasicAuth # userdb -> WEBrick :: HTTPAuth :: Htpasswd (45904.0) -
ユーザ名とパスワードを保存した WEBrick::HTTPAuth::Htpasswd オブジェクトを返します。
ユーザ名とパスワードを保存した WEBrick::HTTPAuth::Htpasswd オブジェクトを返します。 -
WEBrick
:: HTTPRequest # request _ method -> String (45904.0) -
クライアントのリクエストの HTTP メソッド(GET, POST,...)を文字列で返します。
クライアントのリクエストの HTTP メソッド(GET, POST,...)を文字列で返します。 -
IRB
:: OutputMethod # puts(*objs) -> object (45604.0) -
各 obj を self に出力し、それぞれの後に改行を出力します。
各 obj を self に出力し、それぞれの後に改行を出力します。
@param objs 任意のオブジェクトを指定します。 -
WEBrick
:: HTTPAuth :: DigestAuth # authenticate(request , response) -> true (45604.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
クライアントから送られてきたユーザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。 -
Method
# unbind -> UnboundMethod (37858.0) -
self のレシーバとの関連を取り除いた UnboundMethod オブ ジェクトを生成して返します。
self のレシーバとの関連を取り除いた UnboundMethod オブ
ジェクトを生成して返します。
//emlist[例][ruby]{
class Foo
def foo
"foo"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
unbound_method = m.unbind # => #<UnboundMethod: Foo#foo>
unbound_method.bind(Foo.new) # => #<Method: Foo#foo>
//} -
RDoc
:: Context # each _ classmodule {|m| . . . } -> [RDoc :: SingleClass | RDoc :: NormalClass | RDoc :: NormalModule] (37504.0) -
追加されたクラス、モジュールに対してブロックを評価します。
追加されたクラス、モジュールに対してブロックを評価します。
@see RDoc::Context#classes, RDoc::Context#modules -
RDoc
:: Context # includes -> [RDoc :: Include] (37504.0) -
追加された RDoc::Include の配列を返します。
追加された RDoc::Include の配列を返します。 -
RDoc
:: Context # modules -> [RDoc :: NormalModule] (37504.0) -
追加された RDoc::NormalModule の配列を返します。
追加された RDoc::NormalModule の配列を返します。 -
REXML
:: Child # document -> REXML :: Document | nil (37504.0) -
そのノードが属する document (REXML::Document) を返します。
そのノードが属する document (REXML::Document) を返します。
属する document が存在しない場合は nil を返します。 -
REXML
:: Element # document -> REXML :: Document | nil (37504.0) -
self が属する文書(REXML::Document)オブジェクトを返します。
self が属する文書(REXML::Document)オブジェクトを返します。
属する文書がない場合には nil を返します。 -
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (37504.0) -
パラメータにデフォルト値をセットします。
パラメータにデフォルト値をセットします。
@param defaults デフォルト値として使用するキーと値を格納したハッシュを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments.to_hash ... -
Method
# super _ method -> Method | nil (37240.0) -
self 内で super を実行した際に実行されるメソッドを Method オブジェ クトにして返します。
self 内で super を実行した際に実行されるメソッドを Method オブジェ
クトにして返します。
@see UnboundMethod#super_method
//emlist[例][ruby]{
class Super
def foo
"superclass method"
end
end
class Sub < Super
def foo
"subclass method"
end
end
m = Sub.new.method(:foo) # => #<Method: Sub#foo>
m.call # => "subclass me... -
CGI
:: HtmlExtension # radio _ button(attributes) -> String (37207.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" })
# <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo"> -
BasicSocket
# shutdown(how = Socket :: SHUT _ RDWR) -> 0 (37204.0) -
ソケットの以降の接続を終了させます。
ソケットの以降の接続を終了させます。
how の値によって以下のように接続が終了します。
* Socket::SHUT_RD: それ以降の受信が拒否されます
* Socket::SHUT_WR: それ以降の送信が拒否されます
* Socket::SHUT_RDWR: それ以降の送信、受信ともに拒否されます
how を省略すると Socket::SHUT_RDWR を指定したことになります。
shutdown(2) を参照してください。
@param how 接続の終了の仕方を Socket::SHUT_RD, Socket::SHUT_WR, Socket::SHUT_R... -
ERB
# def _ module(methodname=& # 39;erb& # 39;) -> Module (37204.0) -
変換した Ruby スクリプトをメソッドとして定義した無名のモジュールを返します。
変換した Ruby スクリプトをメソッドとして定義した無名のモジュールを返します。
@param methodname メソッド名
//emlist[例][ruby]{
require 'erb'
filename = 'example.rhtml'
erb = ERB.new("test1<%= arg1 %>\ntest2<%= arg2 %>\n")
erb.filename = filename
MyModule = erb.def_module('render(arg1, arg2)')
class MyClass
include MyModule
end
print My... -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (37204.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (37204.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。 -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (37204.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Kernel
# depend _ rules(depend) -> Array (37204.0) -
ファイルの依存関係の書かれた depend ファイルの内容を処理します。
ファイルの依存関係の書かれた depend ファイルの内容を処理します。
@param depend depend ファイルの内容を指定します。
@return 見つかった依存関係を Makefile 形式で返します。 -
OpenSSL
:: Cipher # update(data) -> String (37204.0) -
渡された文字列を暗号化もしくは復号化して文字列として返します。
渡された文字列を暗号化もしくは復号化して文字列として返します。
どちらがなされるかは直前に OpenSSL::Cipher#encrypt もしくは
OpenSSL::Cipher#decrypt のいずれが呼びだされたかに
よって決まります。
ブロック暗号を利用する場合は、暗号化/復号化はブロックサイズで規定された
バイト数ごとに行われます。そのため余ったデータは暗号オブジェクト内部に
保存され、次の文字列が渡されたときに使われます。
暗号化/復号化すべきデータを渡し終えた後は、
OpenSSL::Cipher#final
を呼びだして暗号オブジェクト内部に残されたデータを暗号化... -
OpenSSL
:: Config # add _ value(section , name , value) -> String (37204.0) -
section で指定したセクションにある name というキーの 情報を value に変更します。
section で指定したセクションにある name というキーの
情報を value に変更します。
指定した section が存在しない場合には新たにそのセクションが
オブジェクト内に作られます。
指定した name が存在しない場合も同様に新たな領域が
そのオブジェクト内に作られます。指定した name が存在した場合には
情報が上書きされます。
value を返します。
@param section セクションを表す文字列
@param name キーを表す文字列
@param value 変更後の値の文字列
@raise OpenSSL::ConfigError 設定に失敗し... -
OpenSSL
:: OCSP :: BasicResponse # add _ status(cid , status , reason , revtime , thisupd , nextupd , exts) -> self (37204.0) -
証明書の状態の問い合わせの結果をオブジェクトに追加します。
証明書の状態の問い合わせの結果をオブジェクトに追加します。
詳しくは OpenSSL::OCSP::BasicResponse#status を見てください。
@param cid 問い合わせの(OpenSSL::OCSP::CertificateId オブジェクト)
@param status ステータスコード(整数)
@param reason 失効理由コード(整数)
@param revtime 失効時刻(Time オブジェクトもしくは nil)
@param thisupd 最終更新時刻(Time オブジェクト)
@param nextupd 次回更新時刻(Time オブジェクト)... -
OpenSSL
:: PKey :: RSA # public _ decrypt(str , mode = OpenSSL :: PKey :: RSA :: PKCS1 _ PADDING) -> String (37204.0) -
文字列 str を公開鍵で復号化します。
文字列 str を公開鍵で復号化します。
復号化されたデータを文字列で返します。
mode でパディングモードを指定します。以下のいずれかが
利用可能です。暗号化に利用したパディングモードと同じものを
指定する必要があります。
* OpenSSL::PKey::RSA::PKCS1_PADDING
* OpenSSL::PKey::RSA::NO_PADDING
@param str 復号化する文字列
@param mode パディングモード
@raise OpenSSL::PKey::RSAError 復号化に失敗した場合に発生します。 -
OpenSSL
:: SSL :: SSLServer # shutdown(how=Socket :: SHUT _ RDWR) -> 0 (37204.0) -
ソケットの以降の接続を終了させます。
ソケットの以降の接続を終了させます。
詳しくは BasicSocket#shutdown を参照してください。
@param how 接続の終了の仕方を Socket::SHUT_RD, Socket::SHUT_WR,
Socket::SHUT_RDWR などで指定します。 -
OpenSSL
:: X509 :: Request # add _ attribute(attr) -> OpenSSL :: X509 :: Attribute (37204.0) -
新たな attribute を CSR に追加します。
新たな attribute を CSR に追加します。
@param attr 追加する attribute(OpenSSL::X509::Attribute の
インスタンス)
@return 渡した attribute オブジェクトを返します
@see OpenSSL::X509::Request#attribute,
OpenSSL::X509::Request#attribute= -
RDoc
:: Context # add _ attribute(an _ attribute) -> () (37204.0) -
引数で指定した RDoc::Attr オブジェクトを追加します。
引数で指定した RDoc::Attr オブジェクトを追加します。
@param an_attribute RDoc::Attr オブジェクトを指定します。 -
RDoc
:: Context # add _ class _ or _ module(collection , class _ type , name , superclass = nil) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (37204.0) -
collection に name で指定したクラス、モジュールを追加します。
collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param su... -
RDoc
:: Context # add _ include(an _ include) -> () (37204.0) -
引数で指定した RDoc::Include オブジェクトを追加します。
引数で指定した RDoc::Include オブジェクトを追加します。
@param an_include RDoc::Include オブジェクトを指定します。 -
RDoc
:: Context # add _ module(class _ type , name) -> RDoc :: NormalModule | RDoc :: SingleClass | RDoc :: NormalClass (37204.0) -
引数で指定したモジュールを追加します。
引数で指定したモジュールを追加します。
ただし、クラスとして既に同名のものが登録されていた場合は、何もせずにそ
のクラスを返します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@see RDoc::Context#add_class -
RDoc
:: Context # add _ require(a _ require) -> () (37204.0) -
自身が所属する RDoc::TopLevel オブジェクトに引数で指定した RDoc::Require を追加します。
自身が所属する RDoc::TopLevel オブジェクトに引数で指定した
RDoc::Require を追加します。
@param a_require RDoc::Require オブジェクトを指定します。 -
RDoc
:: Context # find _ enclosing _ module _ named(name) -> RDoc :: NormalModule | nil (37204.0) -
find a module at a higher scope
find a module at a higher scope -
RDoc
:: Context # find _ module _ named(name) -> RDoc :: NormalModule | nil (37204.0) -
追加された RDoc::NormalModule から引数で指定した名前のモジュール を検索します。見つからなかった場合は nil を返します。
追加された RDoc::NormalModule から引数で指定した名前のモジュール
を検索します。見つからなかった場合は nil を返します。
@param name モジュールの名前を文字列で指定します。 -
RDoc
:: Context # unmatched _ alias _ lists -> {String => RDoc :: Alias} (37204.0) -
メソッド名の対応が取れていない alias の旧メソッド名がキー、 RDoc::Alias が値の Hash を返します。
メソッド名の対応が取れていない alias の旧メソッド名がキー、
RDoc::Alias が値の Hash を返します。 -
RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (37204.0) -
collection に name で指定したクラス、モジュールを追加します。
collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param su... -
RDoc
:: TopLevel # find _ module _ named(name) -> RDoc :: NormalModule (37204.0) -
RDoc が収集したクラスの内、name で指定した名前のモジュールを返します。 見つからなかった場合は nil を返します。
RDoc が収集したクラスの内、name で指定した名前のモジュールを返します。
見つからなかった場合は nil を返します。
@param name モジュール名を文字列で指定します。 -
REXML
:: Element # delete _ attribute(key) -> REXML :: Attribute | nil (37204.0) -
要素から key という属性名の属性を削除します。
要素から key という属性名の属性を削除します。
削除された属性を返します。
key という属性名の属性が存在しない場合は削除されずに、nil を返します。
@param key 削除する要素(文字列(属性名) or REXML::Attributeオブジェクト)
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("E")
e.add_attribute("x", "foo"); e # => <E x='foo'/>
e.add_attribute("y:x", "bar"); e # => <E x... -
Regexp
# named _ captures -> { String => [Integer] } (37204.0) -
正規表現に含まれる名前付きキャプチャ(named capture)の情報を Hash で返します。
正規表現に含まれる名前付きキャプチャ(named capture)の情報を
Hash で返します。
Hash のキーは名前付きキャプチャの名前で、値は
その名前に関連付けられたキャプチャの index のリストを返します。
//emlist[例][ruby]{
/(?<foo>.)(?<bar>.)/.named_captures
# => {"foo"=>[1], "bar"=>[2]}
/(?<foo>.)(?<foo>.)/.named_captures
# => {"foo"=>[1, 2]}
# 名前付きキャプチャを持たないときは空の Hash を返します。
/(.)(.)/... -
SDBM
# update(other) -> self (37066.0) -
self と other の内容をマージします。
self と other の内容をマージします。
重複するキーに対応する値はother の内容で上書きされます。
@param other each_pair メソッドを持つオブジェクトでなければなりません。
require 'sdbm'
db1 = SDBM.open('aaa.gdbm', 0666)
db1.clear
db1['a'] = 'aaa'
db1['b'] = 'bbb'
db1['c'] = 'ccc'
db2 = SDBM.open('bbb.gdbm', 0666)
db2.clear
db2['c'] = 'ccc'... -
String
# unicode _ normalize(form = :nfc) -> String (37012.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列を返します。
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し
た文字列を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列ではない場合
に発生します。
このメソッドでの "Unicode 文字列" とは、UTF-8、UTF-16BE/LE... -
REXML
:: Element # add _ attributes(attrs) -> () (36976.0) -
要素の属性を複数追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
要素の属性を複数追加します。
同じ名前の属性がすでにある場合はその属性を新しい
属性で置き換えます。
attrs には Hash もしくは Array を指定できます。
Hash の場合は、
{ "name1" => "value1", "name2" => "value2", ... }
という形で、配列の場合は
[ ["name1", "value1"], ["name2", "value2"], ... }
という形で追加/更新する属性を指定します。
@param attrs 追加する属性の属性名と属性値の対の集合(Array or Hash)
//emlist[][rub... -
String
# unicode _ normalized?(form = :nfc) -> bool (36976.0) -
self が引数 form で指定された正規化形式で Unicode 正規化された文字列か どうかを返します。
self が引数 form で指定された正規化形式で Unicode 正規化された文字列か
どうかを返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列ではない場合
に発生します。
//emlist[例][ruby]{
"a\u0300".unicode_normalized? ... -
Thread
# add _ trace _ func(pr) -> Proc (36976.0) -
スレッドにトレース用ハンドラを追加します。
スレッドにトレース用ハンドラを追加します。
追加したハンドラを返します。
@param pr トレースハンドラ(Proc オブジェクト)
//emlist[例][ruby]{
th = Thread.new do
class Trace
end
43.to_s
end
th.add_trace_func lambda {|*arg| p arg }
th.join
# => ["line", "example.rb", 4, nil, #<Binding:0x00007f98e107d0d8>, nil]
# => ["c-call", "example.rb", 4, ... -
WIN32OLE
_ TYPE # default _ event _ sources -> [WIN32OLE _ TYPE] (36976.0) -
型が持つソースインターフェイスを取得します。
型が持つソースインターフェイスを取得します。
default_event_sourcesメソッドは、selfがCoClass(コンポーネントクラス)
の場合、そのクラスがサポートするデフォルトのソースインターフェイス(イ
ベントの通知元となるインターフェイス)を返します。
@return デフォルトのソースインターフェイスをWIN32OLE_TYPEの配列と
して返します。返すのは配列ですが、デフォルトのソースインターフェ
イスは最大でも1インターフェイスです。ソースインターフェイスを持
たない場合は空配列を返します。
tobj = ... -
OptionParser
# summary _ indent -> String (36958.0) -
サマリを表示する時のインデントを文字列で返します。
サマリを表示する時のインデントを文字列で返します。
@return サマリを表示する時のインデントを文字列で返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent # => " "
opts.summarize
# => [" -i,... -
OptionParser
# summary _ width -> Integer (36958.0) -
サマリを表示するときの幅を整数で返します。
サマリを表示するときの幅を整数で返します。
@return サマリを表示するときの幅を整数で返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n", " ... -
String
# unicode _ normalize!(form = :nfc) -> self (36958.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列に置き換えます。
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し
た文字列に置き換えます。
(gsub!などと異なり)変換が行なわれなくても self を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列ではない場合
に発生します。
//e... -
MatchData
# named _ captures -> Hash (36940.0) -
名前付きキャプチャをHashで返します。
名前付きキャプチャをHashで返します。
Hashのキーは名前付きキャプチャの名前です。Hashの値はキーの名前に対応した名前付きグループのうち最後にマッチした文字列です。
//emlist[例][ruby]{
m = /(?<a>.)(?<b>.)/.match("01")
m.named_captures # => {"a" => "0", "b" => "1"}
m = /(?<a>.)(?<b>.)?/.match("0")
m.named_captures # => {"a" => "0", "b" => nil}
m = /(?<a>.)(?<a>.)/.match("0... -
REXML
:: Element # add _ attribute(attr) -> () (36940.0) -
要素の属性を追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
要素の属性を追加します。
同じ名前の属性がすでにある場合はその属性を新しい
属性で置き換えます。
引数の与えかたは2通りあります。
要素名と値の2つの文字列で渡す方法と REXML::Attribute オブジェクトを
渡す方法です。
文字列2つで指定する場合、属性値は unnormalized な文字列を渡す必要があります。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param attr 属性(REXML::Attribute オブジェクト)
//emlist[][ruby]{
require 'rexml/document'
doc = ... -
REXML
:: Element # add _ attribute(key , value) -> () (36940.0) -
要素の属性を追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
要素の属性を追加します。
同じ名前の属性がすでにある場合はその属性を新しい
属性で置き換えます。
引数の与えかたは2通りあります。
要素名と値の2つの文字列で渡す方法と REXML::Attribute オブジェクトを
渡す方法です。
文字列2つで指定する場合、属性値は unnormalized な文字列を渡す必要があります。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param attr 属性(REXML::Attribute オブジェクト)
//emlist[][ruby]{
require 'rexml/document'
doc = ... -
BasicObject
# singleton _ method _ undefined(name) -> object (36922.0) -
特異メソッドが Module#undef_method または undef により未定義にされた時にインタプリタから呼び出されます。
特異メソッドが Module#undef_method または
undef により未定義にされた時にインタプリタから呼び出されます。
通常のメソッドの未定義に対するフックには
Module#method_undefined を使います。
@param name 未定義にされたメソッド名が Symbol で渡されます。
//emlist[例][ruby]{
class Foo
def singleton_method_undefined(name)
puts "singleton method \"#{name}\" was undefined"
end
end
obj... -
CGI
:: HtmlExtension # radio _ button(name = "" , value = nil , checked = nil) -> String (36922.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param name name 属性の値を指定します。
@param value value 属性の値を指定します。
@param checked 真ならば checked 属性を設定します。
例:
radio_button("name", "value")
# <INPUT TYPE="radio" NAME="name" VALUE="value">
radio_button("name", "value", true)
# <INPUT TYPE="radio" NAME="name" ... -
Hash
# default _ proc -> Proc | nil (36922.0) -
ハッシュのデフォルト値を返す Proc オブジェクトを返します。 ハッシュがブロック形式のデフォルト値を持たない場合 nil を返します。
ハッシュのデフォルト値を返す Proc オブジェクトを返します。
ハッシュがブロック形式のデフォルト値を持たない場合 nil を返します。
//emlist[例][ruby]{
h = Hash.new {|hash, key| "The #{key} not exist in #{hash.inspect}"}
p h.default #=> nil
p block = h.default_proc #=> #<Proc:0x0x401a9ff4>
p block.call({},:foo) #=> "The foo not exist in {}"
h... -
Module
# public _ instance _ method(name) -> UnboundMethod (36922.0) -
self の public インスタンスメソッド name をオブジェクト化した UnboundMethod を返します。
self の public インスタンスメソッド name をオブジェクト化した UnboundMethod を返します。
@param name メソッド名を Symbol または String で指定します。
@raise NameError 定義されていないメソッド名や、
protected メソッド名、 private メソッド名を引数として与えると発生します。
//emlist[例][ruby]{
Kernel.public_instance_method(:object_id) #=> #<UnboundMethod: Kernel#object_id>
Ke... -
Object
# public _ method(name) -> Method (36922.0) -
オブジェクトの public メソッド name をオブジェクト化した Method オブジェクトを返します。
オブジェクトの public メソッド name をオブジェクト化した
Method オブジェクトを返します。
@param name メソッド名を Symbol または String で指定します。
@raise NameError 定義されていないメソッド名や、
protected メソッド名、 private メソッド名を引数として与えると発生します。
//emlist[][ruby]{
1.public_method(:to_int) #=> #<Method: Integer#to_int>
1.public_method(:p) # method ... -
Addrinfo
# ipv6 _ unspecified? -> bool (36904.0) -
IPv6 の不特定アドレス(unspecified address)(::)であれば真を返します。
IPv6 の不特定アドレス(unspecified address)(::)であれば真を返します。 -
Array
# include?(val) -> bool (36904.0) -
配列が val と == で等しい要素を持つ時に真を返します。
配列が val と == で等しい要素を持つ時に真を返します。
@param val オブジェクトを指定します。
//emlist[例][ruby]{
a = [ "a", "b", "c" ]
a.include?("b") #=> true
a.include?("z") #=> false
//} -
Array
# product(*lists) -> Array (36904.0) -
レシーバの配列と引数で与えられた配列(複数可)のそれぞれから要素を1 個ずつとって配列とし,それらのすべての配列を要素とする配列を返します。
レシーバの配列と引数で与えられた配列(複数可)のそれぞれから要素を1
個ずつとって配列とし,それらのすべての配列を要素とする配列を返します。
返される配列の長さは,レシーバと引数で与えられた配列の長さのすべての積にな
ります。
@param lists 配列。複数指定可能。
//emlist[例][ruby]{
[1,2,3].product([4,5]) # => [[1,4],[1,5],[2,4],[2,5],[3,4],[3,5]]
[1,2].product([1,2]) # => [[1,1],[1,2],[2,1],[2,2]]
[1,2].prod... -
Array
# product(*lists) { |e| . . . } -> self (36904.0) -
レシーバの配列と引数で与えられた配列(複数可)のそれぞれから要素を1 個ずつとって配列とし,それらのすべての配列を要素とする配列を返します。
レシーバの配列と引数で与えられた配列(複数可)のそれぞれから要素を1
個ずつとって配列とし,それらのすべての配列を要素とする配列を返します。
返される配列の長さは,レシーバと引数で与えられた配列の長さのすべての積にな
ります。
@param lists 配列。複数指定可能。
//emlist[例][ruby]{
[1,2,3].product([4,5]) # => [[1,4],[1,5],[2,4],[2,5],[3,4],[3,5]]
[1,2].product([1,2]) # => [[1,1],[1,2],[2,1],[2,2]]
[1,2].prod... -
Array
# repeated _ permutation(n) -> Enumerator (36904.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby...