ライブラリ
- ビルトイン (598)
- abbrev (2)
- benchmark (3)
- bigdecimal (5)
-
bigdecimal
/ math (6) -
bigdecimal
/ util (3) -
cgi
/ html (25) -
cgi
/ util (1) - cmath (40)
- continuation (2)
- csv (19)
- date (75)
- dbm (3)
- delegate (16)
- digest (3)
- e2mmap (4)
- etc (3)
- expect (2)
-
fiddle
/ import (6) - fileutils (6)
- find (1)
- forwardable (12)
- gdbm (2)
- getoptlong (1)
- irb (1)
-
irb
/ context (2) -
irb
/ ext / math-mode (3) -
irb
/ extend-command (1) -
irb
/ input-method (1) -
irb
/ magic-file (2) - json (32)
-
json
/ add / bigdecimal (1) -
json
/ add / complex (1) -
json
/ add / date (2) -
json
/ add / date _ time (2) -
json
/ add / exception (1) -
json
/ add / ostruct (1) -
json
/ add / range (1) -
json
/ add / rational (2) -
json
/ add / regexp (1) -
json
/ add / struct (1) -
json
/ add / symbol (1) -
json
/ add / time (1) - logger (9)
- mathn (3)
- matrix (95)
- mkmf (14)
-
mutex
_ m (1) -
net
/ ftp (10) -
net
/ http (49) -
net
/ imap (15) -
net
/ smtp (3) - objspace (5)
- observer (2)
- open3 (4)
- openssl (163)
- optparse (6)
- pathname (94)
- prettyprint (2)
- prime (21)
- psych (4)
- pty (1)
- rake (22)
-
rake
/ rdoctask (1) -
rdoc
/ context (2) -
rdoc
/ generator / darkfish (1) -
rdoc
/ generator / json _ index (1) -
rdoc
/ generator / ri (1) -
rdoc
/ markup (3) -
rdoc
/ markup / formatter (3) -
rdoc
/ markup / to _ html _ crossref (1) -
rdoc
/ parser (2) -
rdoc
/ parser / c (1) -
rdoc
/ parser / ruby (1) -
rdoc
/ parser / simple (2) -
rdoc
/ rdoc (1) -
rdoc
/ stats (4) -
rdoc
/ top _ level (2) - readline (3)
- resolv (3)
-
rexml
/ document (55) -
rexml
/ sax2listener (5) -
rexml
/ streamlistener (4) -
rinda
/ rinda (3) -
rinda
/ tuplespace (2) -
ripper
/ filter (2) -
ripper
/ lexer (1) - rss (91)
- rubygems (2)
-
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / which _ command (2) -
rubygems
/ config _ file (1) -
rubygems
/ custom _ require (1) -
rubygems
/ dependency _ list (2) -
rubygems
/ ext / builder (1) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (6) -
rubygems
/ gem _ path _ searcher (4) -
rubygems
/ indexer (2) -
rubygems
/ installer (9) -
rubygems
/ old _ format (7) -
rubygems
/ package (1) -
rubygems
/ package / tar _ input (1) -
rubygems
/ package / tar _ output (2) -
rubygems
/ package / tar _ writer (2) -
rubygems
/ platform (9) -
rubygems
/ remote _ fetcher (3) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ requirement (3) -
rubygems
/ security (7) -
rubygems
/ server (1) -
rubygems
/ source _ index (9) -
rubygems
/ source _ info _ cache (8) -
rubygems
/ spec _ fetcher (2) -
rubygems
/ specification (59) -
rubygems
/ uninstaller (1) -
rubygems
/ user _ interaction (9) -
rubygems
/ validator (4) -
rubygems
/ version (1) -
rubygems
/ version _ option (1) - scanf (30)
- sdbm (2)
- securerandom (1)
- set (2)
- shell (30)
-
shell
/ builtin-command (5) -
shell
/ command-processor (19) -
shell
/ filter (15) -
shell
/ process-controller (4) -
shell
/ system-command (1) - socket (77)
- stringio (11)
- strscan (4)
- syslog (1)
-
syslog
/ logger (3) - tempfile (2)
- time (10)
- tsort (6)
- uri (10)
-
webrick
/ accesslog (7) -
webrick
/ httpauth / authenticator (1) -
webrick
/ httpauth / basicauth (1) -
webrick
/ httpauth / digestauth (1) -
webrick
/ httpauth / htdigest (2) -
webrick
/ httpauth / htgroup (2) -
webrick
/ httpauth / htpasswd (2) -
webrick
/ httprequest (2) -
webrick
/ httpresponse (3) -
webrick
/ https (2) -
webrick
/ httpserver (1) -
webrick
/ httpservlet / filehandler (1) -
webrick
/ httpstatus (8) -
webrick
/ httputils (6) -
webrick
/ log (1) -
webrick
/ utils (1) -
win32
/ registry (22) - win32ole (3)
-
yaml
/ dbm (4) - zlib (25)
クラス
-
ARGF
. class (10) - Addrinfo (4)
- Array (45)
- BasicSocket (2)
-
Benchmark
:: Tms (2) - BigDecimal (4)
- CGI (1)
-
CGI
:: Cookie (1) - CSV (15)
-
CSV
:: Row (3) -
CSV
:: Table (1) - Class (1)
- Complex (10)
- Continuation (2)
- DBM (3)
- Date (55)
- DateTime (24)
- Delegator (12)
-
Digest
:: Base (3) - Dir (25)
- Encoding (5)
-
Encoding
:: Converter (12) -
Encoding
:: InvalidByteSequenceError (2) -
Encoding
:: UndefinedConversionError (2) - Enumerator (15)
-
Enumerator
:: Lazy (26) -
Etc
:: Group (1) -
Etc
:: Passwd (1) - Exception (2)
- File (46)
-
File
:: Stat (8) - Float (41)
- GDBM (2)
-
Gem
:: Commands :: LockCommand (1) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: WhichCommand (2) -
Gem
:: ConfigFile (1) -
Gem
:: DependencyList (2) -
Gem
:: Ext :: Builder (1) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: FileOperations (1) -
Gem
:: Format (6) -
Gem
:: GemPathSearcher (4) -
Gem
:: Indexer (2) -
Gem
:: Installer (9) -
Gem
:: OldFormat (6) -
Gem
:: Package :: TarInput (1) -
Gem
:: Package :: TarOutput (2) -
Gem
:: Package :: TarWriter :: BoundedStream (1) -
Gem
:: Package :: TarWriter :: RestrictedStream (1) -
Gem
:: Platform (9) -
Gem
:: RemoteFetcher (3) -
Gem
:: Requirement (3) -
Gem
:: Security :: Policy (3) -
Gem
:: Security :: Signer (1) -
Gem
:: Server (1) -
Gem
:: SourceIndex (9) -
Gem
:: SourceInfoCache (8) -
Gem
:: SpecFetcher (2) -
Gem
:: Specification (59) -
Gem
:: StreamUI (5) -
Gem
:: StreamUI :: SilentProgressReporter (1) -
Gem
:: StreamUI :: SimpleProgressReporter (1) -
Gem
:: StreamUI :: VerboseProgressReporter (1) -
Gem
:: Uninstaller (1) -
Gem
:: Validator (4) -
Gem
:: Version (1) - GetoptLong (1)
- Hash (21)
- IO (40)
- IPSocket (1)
-
IRB
:: Context (5) -
IRB
:: FileInputMethod (1) - Integer (13)
-
JSON
:: State (9) - Logger (6)
-
Logger
:: Formatter (3) - MatchData (16)
- Matrix (80)
-
Matrix
:: LUPDecomposition (4) - Method (1)
- Module (16)
-
Net
:: FTP (10) -
Net
:: HTTP (46) -
Net
:: HTTPRequest (1) -
Net
:: IMAP (11) -
Net
:: IMAP :: FetchData (1) -
Net
:: IMAP :: TaggedResponse (2) -
Net
:: IMAP :: UntaggedResponse (1) -
Net
:: SMTP (3) - NilClass (2)
- Numeric (16)
- Object (6)
-
OpenSSL
:: ASN1 :: ASN1Data (8) -
OpenSSL
:: ASN1 :: Enumerated (2) -
OpenSSL
:: BN (1) -
OpenSSL
:: Cipher (1) -
OpenSSL
:: Digest (4) -
OpenSSL
:: Digest :: DSS (3) -
OpenSSL
:: Digest :: DSS1 (3) -
OpenSSL
:: Digest :: MD2 (3) -
OpenSSL
:: Digest :: MD4 (3) -
OpenSSL
:: Digest :: MD5 (3) -
OpenSSL
:: Digest :: MDC2 (3) -
OpenSSL
:: Digest :: RIPEMD160 (3) -
OpenSSL
:: Digest :: SHA (3) -
OpenSSL
:: Digest :: SHA1 (3) -
OpenSSL
:: Digest :: SHA224 (3) -
OpenSSL
:: Digest :: SHA256 (3) -
OpenSSL
:: Digest :: SHA384 (3) -
OpenSSL
:: Digest :: SHA512 (3) -
OpenSSL
:: Engine (2) -
OpenSSL
:: HMAC (4) -
OpenSSL
:: OCSP :: BasicResponse (2) -
OpenSSL
:: OCSP :: CertificateId (4) -
OpenSSL
:: OCSP :: Request (1) -
OpenSSL
:: OCSP :: Response (3) -
OpenSSL
:: PKCS12 (1) -
OpenSSL
:: PKCS7 (8) -
OpenSSL
:: PKey :: DH (5) -
OpenSSL
:: PKey :: DSA (3) -
OpenSSL
:: PKey :: EC (5) -
OpenSSL
:: PKey :: EC :: Group (1) -
OpenSSL
:: PKey :: PKey (2) -
OpenSSL
:: PKey :: RSA (4) -
OpenSSL
:: SSL :: SSLContext (9) -
OpenSSL
:: SSL :: SSLServer (2) -
OpenSSL
:: SSL :: SSLSocket (3) -
OpenSSL
:: X509 :: Attribute (7) -
OpenSSL
:: X509 :: CRL (3) -
OpenSSL
:: X509 :: Certificate (16) -
OpenSSL
:: X509 :: ExtensionFactory (8) -
OpenSSL
:: X509 :: Name (4) -
OpenSSL
:: X509 :: Request (3) -
OpenSSL
:: X509 :: Store (2) - OpenStruct (1)
- OptionParser (6)
- Pathname (93)
- PrettyPrint (2)
- Prime (8)
-
Prime
:: PseudoPrimeGenerator (11) - Proc (1)
-
Process
:: Status (3) -
Psych
:: Emitter (2) -
RDoc
:: Context (2) -
RDoc
:: Generator :: Darkfish (1) -
RDoc
:: Generator :: JsonIndex (1) -
RDoc
:: Generator :: RI (1) -
RDoc
:: Markup (3) -
RDoc
:: Markup :: Formatter (3) -
RDoc
:: Markup :: ToHtmlCrossref (1) -
RDoc
:: Options (3) -
RDoc
:: Parser (2) -
RDoc
:: Parser :: C (1) -
RDoc
:: Parser :: Ruby (1) -
RDoc
:: Parser :: Simple (2) -
RDoc
:: RDoc (1) -
RDoc
:: Stats (4) -
RDoc
:: TopLevel (2) -
REXML
:: AttlistDecl (2) -
REXML
:: Attribute (6) -
REXML
:: Attributes (9) -
REXML
:: CData (3) -
REXML
:: Declaration (1) -
REXML
:: DocType (2) -
REXML
:: Element (11) -
REXML
:: Elements (5) -
REXML
:: Entity (1) -
REXML
:: Formatters :: Default (2) -
REXML
:: Formatters :: Pretty (5) -
REXML
:: Formatters :: Transitive (1) -
REXML
:: NotationDecl (4) -
REXML
:: XPath (3) -
RSS
:: ImageFaviconModel :: ImageFavicon (2) -
RSS
:: ImageItemModel :: ImageItem (2) -
RSS
:: Maker :: ChannelBase (11) -
RSS
:: Maker :: ChannelBase :: CategoriesBase (1) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (4) -
RSS
:: Maker :: ItemsBase :: ItemBase (8) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Categories (1) -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet (2) -
RSS
:: Parser (2) -
RSS
:: RDF :: Channel (2) -
RSS
:: RDF :: Channel :: ImageFavicon (2) -
RSS
:: RDF :: Image (2) -
RSS
:: RDF :: Item (2) -
RSS
:: RDF :: Textinput (2) -
RSS
:: Rss :: Channel (13) -
RSS
:: Rss :: Channel :: Cloud (2) -
RSS
:: Rss :: Channel :: Item (7) -
RSS
:: Rss :: Channel :: Item :: Category (4) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (2) -
RSS
:: XMLStyleSheet (2) -
Rake
:: Application (2) -
Rake
:: FileCreationTask (2) -
Rake
:: FileList (3) -
Rake
:: InvocationChain (4) -
Rake
:: InvocationChain :: EmptyInvocationChain (1) -
Rake
:: RDocTask (1) -
Rake
:: Task (1) - Random (6)
- Range (4)
- Rational (31)
- Regexp (7)
-
Resolv
:: DNS :: Name (1) -
Resolv
:: IPv4 (1) -
Resolv
:: IPv6 (1) -
Rinda
:: DRbObjectTemplate (2) -
Rinda
:: TupleEntry (1) -
Rinda
:: TupleSpace (1) -
Rinda
:: TupleSpaceProxy (1) - Ripper (1)
-
Ripper
:: Filter (2) -
RubyVM
:: InstructionSequence (6) - SDBM (2)
-
Scanf
:: FormatSpecifier (11) -
Scanf
:: FormatString (13) - Set (2)
- Shell (30)
-
Shell
:: Cat (2) -
Shell
:: CommandProcessor (19) -
Shell
:: Concat (2) -
Shell
:: Filter (15) -
Shell
:: Glob (1) -
Shell
:: ProcessController (4) -
Shell
:: SystemCommand (1) - SimpleDelegator (3)
- Socket (25)
-
Socket
:: AncillaryData (17) -
Socket
:: Option (1) - String (39)
- StringIO (11)
- StringScanner (4)
- Struct (3)
- Symbol (3)
-
Syslog
:: Logger (3) - SystemExit (1)
- Tempfile (2)
- Thread (9)
-
Thread
:: Backtrace :: Location (6) - Time (15)
- TracePoint (1)
- UDPSocket (1)
- UNIXServer (4)
- UNIXSocket (4)
-
URI
:: FTP (2) -
URI
:: Generic (3) -
URI
:: HTTP (1) -
URI
:: LDAP (2) -
URI
:: MailTo (1) - UnboundMethod (1)
- Vector (11)
-
WEBrick
:: BasicLog (1) -
WEBrick
:: Cookie (2) -
WEBrick
:: HTTPAuth :: BasicAuth (1) -
WEBrick
:: HTTPAuth :: DigestAuth (1) -
WEBrick
:: HTTPAuth :: Htdigest (2) -
WEBrick
:: HTTPAuth :: Htgroup (2) -
WEBrick
:: HTTPAuth :: Htpasswd (2) -
WEBrick
:: HTTPRequest (4) -
WEBrick
:: HTTPResponse (3) -
WEBrick
:: HTTPServer :: MountTable (1) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (1) -
WEBrick
:: HTTPUtils :: FormData (5) - WIN32OLE (1)
-
WIN32OLE
_ TYPELIB (2) -
Win32
:: Registry (7) -
Win32
:: Registry :: Error (1) -
YAML
:: DBM (4) -
Zlib
:: Deflate (8) -
Zlib
:: GzipReader (3) -
Zlib
:: GzipWriter (6) -
Zlib
:: Inflate (6)
モジュール
- Abbrev (1)
- Benchmark (1)
- BigMath (8)
-
CGI
:: HtmlExtension (25) - CMath (40)
- DublinCoreModel (12)
- Enumerable (33)
- Exception2MessageMapper (4)
-
Fiddle
:: Importer (6) - FileTest (2)
- FileUtils (9)
- Find (1)
- Forwardable (6)
- GC (6)
-
GC
:: Profiler (1) - Gem (2)
-
Gem
:: RequirePathsBuilder (1) -
Gem
:: Security (3) -
Gem
:: UserInteraction (1) -
Gem
:: VersionOption (1) - IRB (1)
-
IRB
:: ExtendCommandBundle (1) - JSON (12)
-
JSON
:: Generator :: GeneratorMethods :: Array (1) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (1) -
JSON
:: Generator :: GeneratorMethods :: Float (1) -
JSON
:: Generator :: GeneratorMethods :: Hash (1) -
JSON
:: Generator :: GeneratorMethods :: Integer (1) -
JSON
:: Generator :: GeneratorMethods :: NilClass (1) -
JSON
:: Generator :: GeneratorMethods :: Object (1) -
JSON
:: Generator :: GeneratorMethods :: String (2) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (50)
- Math (29)
-
Mutex
_ m (1) -
Net
:: HTTPHeader (2) - ObjectSpace (8)
- Observable (2)
- Open3 (4)
-
OpenSSL
:: ASN1 (4) -
OpenSSL
:: Buffering (1) -
OpenSSL
:: X509 (1) - PTY (1)
- Process (5)
- Psych (2)
-
REXML
:: SAX2Listener (5) -
REXML
:: StreamListener (4) -
RSS
:: SyndicationModel (6) - Rake (2)
-
Rake
:: TaskManager (2) - SecureRandom (1)
- SingleForwardable (6)
-
Socket
:: Constants (18) - Syslog (1)
- TSort (6)
- URI (1)
-
WEBrick
:: AccessLog (7) -
WEBrick
:: HTTPAuth :: Authenticator (1) -
WEBrick
:: HTTPStatus (8) -
WEBrick
:: HTTPUtils (1) -
WEBrick
:: Utils (1) -
Win32
:: Registry :: API (3) -
Win32
:: Registry :: Constants (11) - Zlib (2)
オブジェクト
- ENV (5)
-
IRB
:: MagicFile (2) -
Readline
:: HISTORY (3) - main (1)
キーワード
- != (1)
-
$ ? (1) -
$ LOAD _ PATH (1) - % (1)
- & (1)
- * (5)
- ** (4)
- + (6)
- +@ (1)
- - (6)
- -@ (3)
-
/ (5) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - < (1)
- << (5)
- <= (1)
- <=> (4)
- == (8)
- === (4)
- =~ (1)
- > (1)
- >= (1)
- >> (2)
-
AF
_ ATM (2) -
AF
_ DATAKIT (2) -
AF
_ LAT (2) -
AF
_ NATM (2) -
AGENT
_ LOG _ FORMAT (1) - ArgumentError (1)
-
CLF
_ TIME _ FORMAT (1) -
COMBINED
_ LOG _ FORMAT (1) -
COMMON
_ LOG _ FORMAT (1) - CreateKey (1)
- DelegateClass (1)
- E (1)
-
EAI
_ NODATA (2) - ENGLAND (1)
- Enumerated (2)
- ErrorData (1)
- FORMAT (2)
- Float (1)
- FormatMessageA (1)
-
HKEY
_ DYN _ DATA (2) -
HKEY
_ PERFORMANCE _ DATA (2) - I (1)
- INFINITY (1)
-
IPV6
_ PATHMTU (2) -
IPV6
_ RECVPATHMTU (2) - Infinity (1)
-
KEY
_ CREATE _ LINK (1) -
KEY
_ CREATE _ SUB _ KEY (1) -
KEY
_ ENUMERATE _ SUB _ KEYS (1) - Location (1)
- MACCROATIAN (1)
-
MARSHAL
_ FIELDS (1) - MAX (1)
-
MAX
_ 10 _ EXP (1) -
MAX
_ EXP (1) - MIN (1)
-
MIN
_ 10 _ EXP (1) -
MIN
_ EXP (1) -
MSG
_ COMPAT (2) -
MSG
_ PEEK (2) - MacCroatian (1)
- Marshal フォーマット (1)
- MinusInfinity (1)
- NAN (1)
- NaN (1)
-
OVERRIDE
_ PRIVATE _ ONLY (1) - OldFormat (1)
-
PF
_ ATM (2) -
PF
_ DATAKIT (2) -
PF
_ LAT (2) -
PF
_ NATM (2) - PI (1)
- Pathname (1)
-
REFERER
_ LOG _ FORMAT (1) - REGEX (1)
-
REG
_ CREATED _ NEW _ KEY (1) -
REG
_ OPENED _ EXISTING _ KEY (1) -
REG
_ OPTION _ CREATE _ LINK (1) -
REG
_ OPTION _ NON _ VOLATILE (1) -
REG
_ OPTION _ VOLATILE (1) -
REG
_ WHOLE _ HIVE _ VOLATILE (1) - Rational (1)
- RegCreateKeyExA (1)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (1)
-
SOL
_ ATALK (2) -
SO
_ ATTACH _ FILTER (2) -
SO
_ RCVLOWAT (2) -
SO
_ SECURITY _ AUTHENTICATION (2) -
SO
_ SNDLOWAT (2) - SPECIFIERS (1)
-
STATELESS
_ ISO _ 2022 _ JP _ KDDI (1) - SetValue (1)
-
Stateless
_ ISO _ 2022 _ JP _ KDDI (1) -
USING
_ AT _ EXIT _ WHEN _ PROCESS _ EXIT (1) -
V
_ ERR _ APPLICATION _ VERIFICATION (1) - WRCREAT (1)
- [] (15)
- []= (1)
-
_ _ getobj _ _ (2) -
_ _ setobj _ _ (2) -
_ dump (1) -
_ httpdate (1) -
_ iso8601 (1) -
_ jisx0301 (1) -
_ load (1) -
_ parse (1) -
_ rfc2822 (1) -
_ rfc3339 (1) -
_ rfc822 (1) -
_ strptime (2) -
_ xmlschema (1) - abbrev (2)
- abbreviate (1)
-
abort
_ on _ exception= (2) -
absolute
_ path (3) - accept (2)
- acos (2)
- acos! (1)
- acosh (2)
- acosh! (1)
- activate (1)
- add (1)
-
add
_ attribute (4) -
add
_ attributes (1) -
add
_ authenticator (1) -
add
_ bindir (1) -
add
_ certificate (1) -
add
_ data (1) -
add
_ delegate _ command _ to _ shell (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ element (1) -
add
_ extension (1) -
add
_ generator (1) -
add
_ loader (1) -
add
_ observer (1) -
add
_ path (1) -
add
_ platform _ option (1) -
add
_ runtime _ dependency (1) -
add
_ signatures (1) -
add
_ spec (1) -
add
_ special (1) -
add
_ status (1) -
add
_ tag (1) - addr (1)
- adjugate (1)
- alert (1)
-
alert
_ error (1) -
alert
_ warning (1) - allocate (1)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) -
allow
_ nan? (1) - alternate (2)
- alternate= (2)
- angle (2)
-
angle
_ with (1) - append (4)
-
append
_ features (2) - application (1)
- application= (2)
- arg (2)
-
array
_ attribute (1) -
array
_ attributes (1) -
asciicompat
_ encoding (2) - asin (2)
- asin! (1)
- asinh (2)
- asinh! (1)
-
at
_ exit (1) - atan (3)
- atan! (1)
- atan2 (2)
- atan2! (1)
- atanh (2)
- atanh! (1)
- atime (7)
- attlistdecl (2)
- attr (4)
-
attr
_ accessor (1) -
attr
_ reader (1) -
attr
_ writer (1) - attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
attribute
_ of (1) - attributes (3)
- attributes= (2)
- authenticate (4)
- autoload (2)
-
backtrace
_ locations (3) -
base
_ label (1) - basename (1)
- begin (1)
- bind (1)
- bindir= (1)
- binread (2)
- binwrite (2)
- birthtime (2)
- blockdev? (2)
- bsearch (2)
-
bsearch
_ index (1) - build (5)
-
build
_ cert (1) - bytes (2)
-
ca
_ file= (1) -
ca
_ path (2) -
ca
_ path= (2) - call (2)
- caller (3)
-
caller
_ locations (2) - capture2 (1)
- capture2e (1)
- capture3 (1)
- captures (1)
- cat (3)
- catch (2)
- categories (4)
- category (2)
- category= (2)
- cbrt (2)
- cbrt! (1)
- cd (2)
- cdata (2)
- ceil (3)
- cert (3)
- cert= (2)
-
cert
_ chain (1) -
cert
_ chain= (1) - certid (1)
- certificates= (1)
- changed (1)
- chardev? (2)
- chars (2)
- chdir (4)
- check (1)
-
check
_ private _ key (1) - checkbox (1)
-
checkbox
_ group (1) - children (1)
- chmod (1)
- chown (1)
- chroot (1)
- chunk (3)
-
chunk
_ while (2) - civil (2)
- cleanpath (1)
-
client
_ ca (1) -
client
_ cert (1) -
client
_ error? (1) -
clock
_ gettime (1) - cmp (1)
-
cmp
_ issuer (1) -
cmsg
_ is? (1) - codepoints (2)
- coerce (2)
- cofactor (1)
-
cofactor
_ expansion (1) - collect (6)
- collect! (1)
- collect2 (1)
-
collect
_ concat (1) - column (2)
-
column
_ vector (1) - columns (1)
- combination (2)
- commercial (2)
- compact (1)
- compact= (1)
- compatible? (1)
- compile (1)
- component (1)
- concat (9)
- configure (1)
- conjugate (1)
- content (2)
- content= (2)
- conversion (1)
- convert (3)
- convpath (1)
- copy (1)
- cos (3)
- cos! (1)
- cosh (2)
- cosh! (1)
-
count
_ space? (1) -
count
_ tdata _ objects (1) - cpu= (1)
- create (13)
-
create
_ ext (1) -
create
_ ext _ from _ array (1) -
create
_ ext _ from _ hash (1) -
create
_ ext _ from _ string (1) -
create
_ extension (2) -
create
_ guid (1) -
create
_ header (1) -
create
_ id (1) -
create
_ id= (1) -
create
_ listeners (1) -
create
_ makefile (1) -
create
_ rule (1) -
create
_ tmpsrc (1) -
create
_ value (1) - created? (1)
- ctime (2)
- cycle (2)
- data (4)
- data= (1)
- date (12)
- date= (13)
-
datetime
_ format (2) -
datetime
_ format= (2) -
dc
_ creator (1) -
dc
_ creator= (1) -
dc
_ creators (1) -
dc
_ date (1) -
dc
_ date= (1) -
dc
_ dates (1) -
dc
_ format (1) -
dc
_ format= (1) -
dc
_ formats (1) -
dc
_ relation (1) -
dc
_ relation= (1) -
dc
_ relations (1) - decode (1)
-
decode
_ all (1) -
def
_ builtin _ commands (1) -
def
_ delegator (2) -
def
_ delegators (2) -
def
_ exception (2) -
def
_ instance _ delegator (1) -
def
_ instance _ delegators (1) -
def
_ single _ delegator (1) -
def
_ single _ delegators (1) -
def
_ system _ command (2) -
default
_ executable= (1) -
default
_ record _ separator (1) -
default
_ record _ separator= (1) -
default
_ system _ path (1) -
default
_ system _ path= (1) -
default
_ value (1) - deflate (3)
- delegate (2)
- delete (3)
-
delete
_ all (2) -
delete
_ at (2) -
delete
_ attribute (1) -
delete
_ if (2) - denominator (5)
- dependencies (1)
-
deprecate
_ constant (1) - description= (1)
-
destination
_ encoding (3) -
destination
_ encoding _ name (2) - det (2)
- detect (1)
- determinant (2)
- diagonal (1)
- diagonal? (1)
- digest (15)
- directory? (3)
- dirname (1)
- divmod (1)
-
do
_ validate (1) -
do
_ validate= (1) - domain (2)
- domain= (2)
- dot (1)
- downto (3)
- drop (1)
-
drop
_ while (2) -
dsa
_ sign _ asn1 (1) -
dsa
_ verify _ asn1 (1) - each (27)
- each2 (1)
-
each
_ byte (5) -
each
_ char (4) -
each
_ child (2) -
each
_ codepoint (2) -
each
_ cons (1) -
each
_ element (1) -
each
_ element _ with _ attribute (1) -
each
_ entry (2) -
each
_ index (1) -
each
_ key (1) -
each
_ line (10) -
each
_ object (2) -
each
_ pair (1) -
each
_ prime (1) -
each
_ slice (1) -
each
_ strongly _ connected _ component (2) -
each
_ strongly _ connected _ component _ from (2) -
each
_ value (1) -
each
_ with _ index (5) -
each
_ with _ object (1) - egrep (1)
-
egrep
_ cpp (2) - eigen (1)
- eigensystem (1)
- element (1)
- element= (1)
- email= (1)
- empty (1)
- empty? (4)
- enclosure (1)
- encrypt (1)
- end (1)
-
enhance
_ with _ matching _ rule (1) - entries (3)
-
enum
_ for (2) - eql? (4)
- erf (1)
- erfc (1)
- error? (1)
- escape (1)
-
escape
_ path (1) -
exec
_ format= (1) - executable= (1)
- executable? (2)
-
executable
_ real? (2) - executables= (1)
- exist? (2)
- exit (2)
- exit! (2)
- exp (3)
- exp! (1)
- expect (2)
- expires (1)
- extensions= (2)
- extern (1)
- extname (1)
-
extra
_ chain _ cert (1) -
extra
_ chain _ cert= (1) -
extra
_ rdoc _ files= (1) - family (1)
-
family
_ addrinfo (1) -
fast
_ generate (1) -
fast
_ unparse (1) - fatal (4)
- fdatasync (1)
- fdiv (2)
- feed (1)
- fetch (2)
-
fetch
_ path (1) -
fetch
_ values (2) - field? (1)
- fields (1)
- file (2)
- file? (2)
-
file
_ entries= (2) -
file
_ field (1) -
file
_ relative _ name= (1) -
file
_ stat= (1) - filename (1)
- filename= (1)
- files= (1)
- find (5)
-
find
_ all (3) -
find
_ executable (1) -
find
_ header (1) -
find
_ index (5) -
find
_ library (2) -
find
_ matching (1) -
find
_ name (2) -
find
_ paths (1) - finish (1)
- first (1)
-
first
_ minor (1) -
flat
_ map (1) - flatten (3)
- flatten! (2)
- flock (1)
- floor (4)
- flush (4)
- fnmatch (2)
- fnmatch? (2)
- foreach (11)
- fork (2)
- form (4)
-
form
_ data= (1) - format (4)
-
format
_ date (1) -
format
_ datetime (1) -
formatted
_ program _ filename (1) - formatter (1)
- formatter= (2)
- freeze (1)
- frexp (1)
-
from
_ file _ by _ path (2) -
from
_ installed _ gems (1) -
from
_ io (2) -
from
_ state (1) -
from
_ yaml (1) - ftype (1)
- gamma (1)
-
garbage
_ collect (2) -
gem
_ path= (2) -
gem
_ paths (1) -
gem
_ signature (1) - generate (6)
-
generate
_ bin (1) -
generate
_ bin _ script (1) -
generate
_ bin _ symlink (1) -
generate
_ key (1) -
generate
_ key! (1) -
generate
_ line (1) -
generate
_ prime (1) -
generate
_ windows _ script (1) - generator (2)
- generator= (3)
- get (4)
- get2 (2)
-
get
_ attribute (1) -
get
_ attribute _ ns (1) -
get
_ elements (1) -
get
_ file _ uri _ path (1) -
get
_ path (1) -
get
_ print (1) -
get
_ response (1) -
get
_ text (1) - getbinaryfile (1)
- getwd (1)
- glob (7)
-
gregorian
_ leap? (1) - grep (3)
-
grep
_ v (3) - grpowned? (2)
- gsub (7)
- gsub! (4)
- guid (1)
-
handle
_ interrupt (1) -
has
_ rdoc? (1) - hash (1)
- head (1)
- head2 (2)
- hermitian? (1)
- hexdigest (14)
- hidden (1)
- homepage= (1)
- hstack (2)
- html (2)
- httpdate (4)
- hypot (1)
- identity (1)
- img (1)
- inactivate (1)
- include? (1)
- indent= (1)
- indentation (1)
- indentation= (1)
- index (6)
- inflate (3)
- info? (1)
- initialize (2)
- inject (1)
-
inner
_ product (1) - inspect (3)
- install (1)
-
installation
_ satisfies _ dependency? (1) - instance (2)
-
instance
_ delegate (1) - int (2)
-
ip
_ pktinfo (2) -
ipv6
_ pktinfo (2) -
ipv6
_ pktinfo _ addr (1) -
ipv6
_ pktinfo _ ifindex (1) - isatty (2)
- iso8601 (4)
- issuer= (1)
-
issuer
_ certificate= (1) - jd (2)
- jisx0301 (3)
- join (2)
-
json
_ create (13) -
julian
_ leap? (1) -
keep
_ if (3) - key (1)
- label (1)
-
laplace
_ expansion (1) - lastBuildDate (2)
- lastBuildDate= (2)
-
last
_ match (2) -
last
_ match _ tried (1) -
last
_ spec (1) -
last
_ spec _ tried (1) -
last
_ update= (1) -
latest
_ cache _ file (1) -
latest
_ gc _ info (2) -
latest
_ specs (1) - lazy (1)
- lchmod (1)
- lchown (1)
- ldexp (1)
- leap? (1)
- letter (1)
- level (1)
- lgamma (1)
- libpathflag (1)
- lines (7)
-
link
_ command (1) - load (2)
-
load
_ from _ binary _ extra _ data (1) -
load
_ gemspec (1) -
load
_ private _ key (1) -
load
_ public _ key (1) -
load
_ specification (1) - loaded= (1)
-
loaded
_ from= (1) - local (1)
- lock (1)
- log (6)
- log! (2)
- log10 (2)
- log10! (1)
- log2 (2)
- log2! (1)
- loop (1)
- lstat (6)
- lup (1)
-
lup
_ decomposition (1) - magnitude (1)
- make (1)
-
make
_ link (1) -
make
_ symlink (1) - map (5)
- map! (1)
-
marshal
_ load (1) - match (9)
- match? (4)
- matched (1)
-
matched
_ count (1) -
matched
_ string (1) - matchedsize (1)
- matches? (1)
-
matching
_ file? (1) -
matching
_ files (1) - math? (1)
-
math
_ mode (1) -
math
_ mode= (1) -
max
_ by (2) - member? (1)
- merge (1)
-
method
_ missing (1) - methods (1)
-
mid
_ match? (1) -
min
_ by (2) -
minmax
_ by (1) - minor (2)
- mkcol (1)
- mkdir (5)
- mkpath (2)
- mlsd (2)
- mlst (1)
- modulo (1)
- move (1)
- mtime (2)
-
multipart
_ form (4) - name (1)
- name= (2)
-
named
_ captures (1) - namespace (1)
- needed? (1)
- negative? (3)
- new (91)
- new2 (1)
-
new
_ category (2) -
new
_ offset (1) -
new
_ start (1) - next (2)
-
next
_ day (1) -
next
_ float (1) -
next
_ month (1) -
next
_ update= (1) -
next
_ values (1) -
next
_ year (1) - norm (1)
- normal? (1)
-
normalize
_ yaml _ input (1) - normalized= (1)
-
not
_ after= (1) -
not
_ before= (1) - notation (1)
- notationdecl (2)
- notify (2)
- now (1)
-
num
_ classes= (1) -
num
_ files= (1) -
num
_ methods= (1) -
num
_ modules= (1) - numerator (5)
-
object
_ nl= (1) - offset (2)
- oid (1)
- oid= (1)
- on (3)
-
on
_ XXX (1) -
on
_ default (1) - open (20)
-
open
_ uri _ or _ path (1) - opendir (2)
- ordinal (2)
-
original
_ name (1) -
original
_ platform= (1) - orthogonal? (1)
- os= (1)
-
overwrite
_ accessor (1) - owned? (2)
- pack (2)
- pack テンプレート文字列 (1)
-
pack
_ sockaddr _ un (1) - params (1)
- paranoid (1)
- parse (6)
- parse! (1)
-
parse
_ files _ matching (1) -
parse
_ openssl (1) -
parse
_ rfc2253 (1) -
parser
_ for (1) -
password
_ field (1) - patch (2)
- path (9)
- path= (4)
-
path
_ info= (1) -
path
_ ok? (1) -
path
_ warning= (1) - pathconf (1)
- pathmap (1)
-
pathmap
_ explode (1) -
pathmap
_ replace (1) - peek (1)
-
peek
_ values (1) -
peer
_ cert (2) -
peer
_ cert _ chain (1) - permutation (2)
- permutation? (1)
- phase (2)
- pipe? (2)
- pipeline (1)
- platform= (1)
- pop (1)
- positive? (2)
- post (2)
- post2 (2)
-
post
_ match (1) -
pre
_ match (1) -
prepend
_ features (1) -
pretty
_ generate (1) -
pretty
_ unparse (1) -
prev
_ day (1) -
prev
_ float (1) -
prev
_ month (1) -
prev
_ year (1) - prime? (2)
-
prime
_ division (3) -
primitive
_ convert (4) - printf (7)
-
priv
_ key= (2) - private (2)
-
private
_ class _ method (1) -
private
_ constant (1) -
private
_ decrypt (1) -
private
_ encrypt (1) -
private
_ instance _ methods (1) -
private
_ key (1) -
private
_ key= (1) -
private
_ method _ defined? (1) -
private
_ methods (1) -
processing
_ instruction (1) - propfind (1)
- proppatch (1)
-
protected
_ methods (1) - prune (1)
- pubDate (4)
- pubDate= (4)
- public= (1)
-
public
_ key (1) -
public
_ key= (1) -
public
_ methods (1) - pushd (1)
- pushdir (1)
- put (2)
- put2 (2)
- putbinaryfile (1)
- pwd (1)
- quo (2)
- r (1)
-
radio
_ group (1) - rand (8)
-
random
_ number (1) - rationalize (9)
-
raw
_ data (3) -
rdoc
/ generator / json _ index (1) -
re
_ string (1) - read (5)
-
read
_ cache _ data (1) -
read
_ only (1) - readable? (2)
-
readable
_ real? (2) - readlines (5)
- readlink (5)
- realdirpath (2)
- realpath (3)
-
reason
_ phrase (1) -
record
_ separator (1) -
record
_ separator= (1) - rect (1)
- rectangular (1)
-
recvfrom
_ nonblock (1) - recvmsg (1)
-
recvmsg
_ nonblock (1) - redirect? (1)
- regular? (1)
- reject (4)
- reject! (2)
-
relative
_ path _ from (1) -
remove
_ by _ name (1) -
remove
_ const (1) -
remove
_ dir (1) -
remove
_ entry (1) -
remove
_ entry _ secure (1) -
remove
_ file (1) -
remove
_ private _ comments (1) - rename (1)
-
renegotiation
_ cb (1) -
renegotiation
_ cb= (1) - reopen (2)
-
repeated
_ combination (2) -
repeated
_ permutation (2) -
report
_ on _ exception= (2) - request (2)
-
request
_ get (2) -
request
_ head (2) -
request
_ post (2) -
request
_ put (2) - require (2)
-
require
_ path (1) -
require
_ path= (1) -
require
_ paths= (1) -
require
_ relative (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version= (1) - requirements= (1)
- reset (1)
-
reset
_ cache _ for (1) -
respond
_ to? (1) -
respond
_ to _ missing? (2) - retrbinary (1)
-
return
_ format (1) -
return
_ format= (1) -
reverse
_ each (1) - rewind (2)
-
rfc1123
_ date (1) - rfc2822 (3)
- rfc3339 (3)
- rfc822 (3)
- rindex (2)
- rmdir (5)
- rmtree (1)
- rotate (1)
- rotate! (1)
- round (5)
- row (2)
-
row
_ vector (1) - rows (1)
- rsqrt (1)
- ruby (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
rubygems
/ old _ format (1) -
rubygems
/ security (1) -
rubygems
_ version= (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - say (1)
- scalar (1)
- scan (3)
- scanf (6)
-
scrolling
_ list (1) - search (3)
-
search
_ convpath (1) -
search
_ with _ source (1) - select (7)
- select! (3)
-
send
_ request (1) - separator (1)
- serial (2)
- serial= (1)
-
server
_ cert (1) -
server
_ error? (1) -
set
_ cache _ data (1) -
set
_ default _ paths (1) -
set
_ dictionary (2) -
set
_ error (1) -
set
_ form _ data (1) -
set
_ generator (1) -
set
_ paths (1) -
set
_ redirect (1) - setgid? (2)
- setuid? (2)
- sh (1)
- shift (1)
- sign (4)
-
sign
_ cert (1) -
signature
_ algorithm (1) -
signing
_ key= (1) - sin (3)
- sin! (1)
-
single
_ delegate (1) -
singleline
_ format (1) - singular? (2)
- sinh (2)
- sinh! (1)
- size (3)
- size? (2)
- slice (1)
-
slice
_ after (4) -
slice
_ before (5) -
slice
_ when (2) -
sockaddr
_ un (1) - socket? (2)
- solve (1)
-
sort
_ by (1) -
sort
_ by! (1) - source (1)
-
source
_ location (3) - space (1)
- space= (1)
-
space
_ before= (1) - spec= (2)
-
spec
_ count (1) -
spec
_ path (1) - specification (1)
-
specification
_ version= (1) - split (5)
-
split
_ all (1) - sprintf (1)
- sqrt (4)
- sqrt! (1)
- start (2)
-
start
_ element (1) -
start
_ immediately (1) -
start
_ immediately= (1) - stat (9)
-
static
_ path= (1) - status (5)
- status= (1)
-
status
_ string (1) - step (8)
- sticky? (2)
- storbinary (1)
- store (1)
- strftime (2)
-
string
_ left (1) - strptime (4)
- struct (1)
- sub (7)
- sub! (3)
-
sub
_ ext (1) - subject= (1)
-
subject
_ certificate= (1) - submit (1)
- succ (1)
- success? (1)
- summary= (1)
-
sy
_ updateBase (1) -
sy
_ updateBase= (1) -
sy
_ updateFrequency (1) -
sy
_ updateFrequency= (1) -
sy
_ updatePeriod (1) -
sy
_ updatePeriod= (1) - symlink? (3)
- symmetric? (1)
- sync (1)
- sync= (2)
-
sync
_ point? (1) - sysopen (2)
- syssign (1)
- system= (1)
-
system
_ path (1) -
system
_ path= (1) - sysverify (1)
- table (1)
- tag (1)
- tag= (1)
-
tag
_ class (1) -
tag
_ class= (1) -
tag
_ start (1) - take (1)
-
take
_ while (4) - tan (2)
- tan! (1)
- tanh (2)
- tanh! (1)
- template= (1)
-
template
_ dir= (1) - terminate (4)
-
terminate
_ interaction (2) -
terminate
_ job (1) -
test
_ files= (1) -
test
_ suite _ file= (1) - text (1)
-
text
_ field (1) - textarea (1)
- times (1)
-
to
_ a (2) -
to
_ binary (1) -
to
_ d (3) -
to
_ der (2) -
to
_ enum (2) -
to
_ f (4) -
to
_ i (2) -
to
_ json (12) -
to
_ json _ raw (1) -
to
_ path (1) -
to
_ r (3) -
to
_ re (1) -
to
_ s (6) - today (2)
- tr (2)
- tr! (1)
-
tr
_ s (1) -
tr
_ s! (1) - trace (2)
-
trace
_ object _ allocations _ start (1) -
trace
_ object _ allocations _ stop (1) -
transform
_ values (1) -
transform
_ values! (1) - truncate (14)
-
trusted
_ cert _ path (1) -
try
_ file (1) -
try
_ static _ assert (2) -
tsort
_ each (2) - tty? (2)
-
tty
_ output= (1) - type (1)
-
uid
_ fetch (1) -
uid
_ store (1) - union (2)
- unit (1)
-
unit
_ test (1) - unitary? (1)
- unix (3)
-
unix
_ path (1) -
unix
_ rights (2) -
unix
_ server _ loop (1) -
unix
_ server _ socket (2) - unlink (4)
- unlock (1)
-
unmatched
_ alias _ lists= (1) - unpack (1)
- unpack1 (1)
- unparse (1)
- update (13)
-
update
_ sources= (1) - updated (3)
-
upper
_ bound= (1) - upto (3)
- uptodate? (1)
- userdb (1)
- utime (5)
-
valid
_ civil? (1) -
valid
_ commercial? (1) -
valid
_ date? (1) -
valid
_ jd? (1) -
valid
_ ordinal? (1) - validate (1)
- value (4)
- value= (2)
-
values
_ at (11) - verify (3)
-
verify
_ data= (1) -
verify
_ gem (2) -
verify
_ gem _ file (1) -
verify
_ trust _ dir (1) - version (1)
- version= (3)
- vstack (2)
- wait2 (1)
- waitpid2 (1)
- width (2)
- width= (1)
-
win
_ platform? (1) -
with
_ index (2) -
with
_ object (4) -
world
_ readable? (3) -
world
_ writable? (3) - wrap (2)
- writable? (2)
-
writable
_ real? (2) - write (11)
-
write
_ require _ paths _ file _ if _ needed (1) -
write
_ smime (1) - xmlschema (4)
- yaml (1)
-
yaml
_ initialize (1) - zero (2)
- zero? (2)
- zip (2)
- 演算子式 (1)
検索結果
先頭5件
-
Time
. at(time) -> Time (54478.0) -
time で指定した時刻の Time オブジェクトを返します。
time で指定した時刻の Time オブジェクトを返します。
引数が数値の場合、生成された Time オブジェクトのタイムゾーンは地方時となります。
@param time Time オブジェクト、もしくは起算時からの経過秒数を表わす数値で指定します。
//emlist[][ruby]{
Time.at(0) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0)) # => 1970-01-01 09:00:00 +0900
Time... -
Time
. at(time , usec) -> Time (54388.0) -
time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。
time + (usec/1000000) の時刻を表す Time オブジェクトを返します。
浮動小数点の精度では不十分な場合に使用します。
生成された Time オブジェクトのタイムゾーンは地方時となります。
@param time 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。
@param usec マイクロ秒をInteger、 Float、 Rational、または他のNumericで指定します。
//emlist[][ruby]{
Time.at(946684800, 123456.789).nse... -
Logger
:: Formatter # datetime _ format=(format) (45937.0) -
ログの日時フォーマットをセットします。
ログの日時フォーマットをセットします。
@param format 日時のフォーマット文字列。Time#strftime で使用するフォーマット文字列と
同じものを使用できます。
//emlist[例][ruby]{
require 'logger'
formatter = Logger::Formatter.new
formatter.datetime_format # => nil
formatter.datetime_format = '%Y-%m-%d %H:%M:%S' # => "%Y-%m-%d %H:%M:%S"
formatter.date... -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (45937.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
base_directory から self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory も相対パス、self が絶対パスなら
base_directory も絶対パスでなければなりません。
@param base_directory ベースディレクトリを表す Pathname オブジェクトを指定します。
@raise ArgumentError Windows上でドライブが違うなど、base_direct... -
Logger
:: Formatter # datetime _ format -> String (45619.0) -
ログの日時フォーマットを取得します。
ログの日時フォーマットを取得します。
@see Time#strftime -
Array
# at(nth) -> object | nil (45352.0) -
nth 番目の要素を返します。nth 番目の要素が存在しない時には nil を返します。
nth 番目の要素を返します。nth 番目の要素が存在しない時には nil を返します。
@param nth インデックスを整数で指定します。
先頭の要素が 0 番目になります。nth の値が負の時には末尾から
のインデックスと見倣します。末尾の要素が -1 番目になります。
整数以外のオブジェクトを指定した場合は to_int メソッドによる
暗黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定... -
Array
# repeated _ combination(n) -> Enumerator (36955.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行
します。
得られる組み合わせの順序は保証されません。ブロックなしで呼び出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emli... -
Array
# repeated _ permutation(n) -> Enumerator (36955.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
Logger
# datetime _ format=(format) (36919.0) -
ログに記録する時の日付のフォーマットをセットします。
ログに記録する時の日付のフォーマットをセットします。
//emlist[例][ruby]{
require 'logger'
logger = Logger.new(STDOUT)
logger.datetime_format # => nil
logger.debug("test")
logger.datetime_format = '%Y/%m/%dT%H:%M:%S.%06d' # => "%Y/%m/%dT%H:%M:%S.%06d"
logger.datetime_format # => "%Y/%m/%dT%H:%M:%S.%06d"
logger.debug("test"... -
Array
# repeated _ combination(n) { |c| . . . } -> self (36655.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行
します。
得られる組み合わせの順序は保証されません。ブロックなしで呼び出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emli... -
Array
# repeated _ permutation(n) { |p| . . . } -> self (36655.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
Gem
:: Installer # installation _ satisfies _ dependency?(dependency) -> bool (36619.0) -
登録されているソースインデックスが与えられた依存関係を 満たすことができる場合は、真を返します。そうでない場合は偽を返します。
登録されているソースインデックスが与えられた依存関係を
満たすことができる場合は、真を返します。そうでない場合は偽を返します。
@param dependency Gem::Dependency のインスタンスを指定します。 -
Logger
# datetime _ format -> String | nil (36619.0) -
ログに記録する時の日付のフォーマットです。
ログに記録する時の日付のフォーマットです。
デフォルトでは nil ですが、この値が nil の場合は日付のフォーマットとして
"%Y-%m-%dT%H:%M:%S.%06d " を使用します。
なお、"%06d" には Time#strftime ではなく、単に Time#usec の
値を String#% でフォーマットしたものが入ります。
//emlist[例][ruby]{
require 'logger'
logger = Logger.new(STDOUT)
logger.datetime_format # => nil
logger.debug("test")
lo... -
Net
:: IMAP . format _ date(time) -> String (36619.0) -
時刻オブジェクトを IMAP の日付フォーマットでの文字列に変換します。
時刻オブジェクトを IMAP の日付フォーマットでの文字列に変換します。
require 'net/imap'
Net::IMAP.format_date(Time.new(2011, 6, 20))
# => "20-Jun-2011"
@param time 変換する時刻オブジェクト -
Net
:: IMAP . format _ datetime(time) -> String (36619.0) -
時刻オブジェクトを IMAP の日付時刻フォーマットでの文字列に変換します
時刻オブジェクトを IMAP の日付時刻フォーマットでの文字列に変換します
require 'net/imap'
Net::IMAP.format_datetime(Time.new(2011, 6, 20, 13, 20, 1))
# => "20-Jun-2011 13:20 +0900"
@param time 変換する時刻オブジェクト -
OpenSSL
:: X509 :: V _ ERR _ APPLICATION _ VERIFICATION -> Integer (36619.0) -
アプリケーションが利用するエラーコードです。
アプリケーションが利用するエラーコードです。
OpenSSL のライブラリでは使われないので、
アプリケーションプログラマが自由に利用することが可能です。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#verify_callback=,
OpenSSL::X509::StoreContext#error= -
RDoc
:: Options # static _ path=(vals) (36619.0) -
コマンドライン引数の --copy-files オプションと同様の指定を行います。
コマンドライン引数の --copy-files オプションと同様の指定を行います。
@param vals パスを文字列の配列で指定します。 -
MatchData
# values _ at(*index) -> [String] (36430.0) -
正規表現中の n 番目の括弧にマッチした部分文字列の配列を返します。
正規表現中の n 番目の括弧にマッチした部分文字列の配列を返します。
0 番目は $& のようにマッチした文字列全体を表します。
@param index インデックスを整数またはシンボル(名前付きキャプチャの場合)で 0 個以上指定します。
//emlist[例][ruby]{
m = /(foo)(bar)(baz)/.match("foobarbaz")
# same as m.to_a.values_at(...)
p m.values_at(0, 1, 2, 3, 4) # => ["foobarbaz", "foo", "bar", "baz", nil]
p m... -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (36319.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
JSON のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "ABC" -
MatchData
# post _ match -> String (36319.0) -
マッチした部分より後ろの文字列を返します($'と同じ)。
マッチした部分より後ろの文字列を返します($'と同じ)。
//emlist[例][ruby]{
/(bar)(BAZ)?/ =~ "foobarbaz"
p $~.post_match # => "baz"
//}
@see MatchData#pre_match -
MatchData
# pre _ match -> String (36319.0) -
マッチした部分より前の文字列を返します($`と同じ)。
マッチした部分より前の文字列を返します($`と同じ)。
//emlist[例][ruby]{
/(bar)(BAZ)?/ =~ "foobarbaz"
p $~.pre_match # => "foo"
//}
@see MatchData#post_match -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (27985.0) -
@todo security_policy
@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ??? -
Date
. httpdate(str = & # 39;Mon , 01 Jan -4712 00:00:00 GMT& # 39; , start = Date :: ITALY) -> Date (27937.0) -
2616 で定められた書式の日付を解析し、 その情報に基づいて日付オブジェクトを生成します。
2616 で定められた書式の日付を解析し、
その情報に基づいて日付オブジェクトを生成します。
Date._httpdate も参照してください。
@param str 日付をあらわす文字列
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日 -
DateTime
. httpdate(str = & # 39;Mon , 01 Jan -4712 00:00:00 GMT& # 39; , start = Date :: ITALY) -> DateTime (27937.0) -
2616 で定められた書式の日付を解析し、 その情報に基づいて日付オブジェクトを生成します。
2616 で定められた書式の日付を解析し、
その情報に基づいて日付オブジェクトを生成します。
Date._httpdate も参照してください。
@param str 日付をあらわす文字列
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日 -
Gem
:: OldFormat . from _ file _ by _ path(file _ path) -> Gem :: OldFormat (27919.0) -
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。 -
CMath
. # atan2!(y , x) -> Float (27709.0) -
実数 y / x の逆正接関数の値を返します。Math.#atan2 のエイリアスで す。
実数 y / x の逆正接関数の値を返します。Math.#atan2 のエイリアスで
す。
@param y 実数。
@param x 実数。
@return 返される値の範囲は [-π, π] です。
@raise TypeError 引数のどちらかに数値以外を指定した場合に発生します。
@raise RangeError 引数のどちらかに数値以外を指定した場合に発生します。
@see Math.#atan2 -
CMath
. # atanh!(x) -> Float (27709.0) -
実数 x の逆双曲線正接関数の値を返します。Math.#atanh のエイリアスです。
実数 x の逆双曲線正接関数の値を返します。Math.#atanh のエイリアスです。
@param x -1 < x < 1 の実数。
@return 実数。
@raise TypeError x に数値以外を指定した場合に発生します。
@raise Math::DomainError x に範囲外の実数を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
@see Math.#atanh -
Math
. # atan2(y , x) -> Float (27709.0) -
y / x の逆正接関数(arctangent)の値をラジアンで返します。
y / x の逆正接関数(arctangent)の値をラジアンで返します。
@param y 実数
@param x 実数
@return 返される値の範囲は [-π, π] です。
//emlist[例][ruby]{
Math.atan2(1,0) #=> 1.5707963267949
Math.atan2(-1,0) #=> -1.5707963267949
//}
@raise TypeError y, x に数値以外を指定した場合に発生します。
@raise RangeError y, x に実数以外の数値を指定した場合に発生します。
@see Math.#... -
Math
. # atanh(x) -> Float (27709.0) -
x の逆双曲線正接関数(area hyperbolic tangent)の値を返します。
x の逆双曲線正接関数(area hyperbolic tangent)の値を返します。
=== 定義
atanh(x) = log((1+x)/(1-x)) / 2 [-1 < x < 1]
@param x -1 < x < 1 の実数
@return 実数
@raise TypeError x に数値以外を指定した場合に発生します。
@raise Math::DomainError x に範囲外の実数を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
@see Math.#tanh -
CMath
. # atan!(x) -> Float (27691.0) -
実数 x の逆正接関数の値をラジアンで返します。Math.#atan のエイリ アスです。
実数 x の逆正接関数の値をラジアンで返します。Math.#atan のエイリ
アスです。
@param x 実数。
@return 返される値の範囲は [-π/2, +π/2] です。
@raise TypeError x に数値以外を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
@see Math.#atan -
Math
. # atan(x) -> Float (27691.0) -
x の逆正接関数(arctangent)の値をラジアンで返します。
x の逆正接関数(arctangent)の値をラジアンで返します。
@param x 実数
@return 返される値の範囲は [-π/2, +π/2] です。
@raise TypeError x に数値以外を指定した場合に発生します。
@raise RangeError x に実数以外の数値を指定した場合に発生します。
//emlist[例][ruby]{
Math.atan(0) # => 0.0
//}
@see Math.#atan2, Math.#tan -
REXML
:: XPath . match(element , path = nil , namespaces = {} , variables = {}) -> [Node] (27673.0) -
element の path で指定した XPath 文字列にマッチするノードの配列を 返します。
element の path で指定した XPath 文字列にマッチするノードの配列を
返します。
path に相対パスを指定した場合は element からの相対位置で
マッチするノードを探します。
絶対パスを指定した場合は element が属する文書のルート要素からの
位置でマッチするノードを探します。
path を省略すると "*" を指定したことになります。
namespace で名前空間の対応付けを Hash で指定します。
variable で XPath 内の変数に対応する値を指定できます。
XPathインジェクション攻撃を避けるため、適切な
エスケープを付加するため、に... -
CMath
. # atan2(y , x) -> Float | Complex (27655.0) -
y / x の逆正接関数の値を返します。
y / x の逆正接関数の値を返します。
@param y 数値
@param x 数値
@raise TypeError 引数のどちらかに数値以外を指定した場合に発生します。 -
Pathname
# fnmatch(pattern , *args) -> bool (27655.0) -
File.fnmatch(pattern, self.to_s, *args) と同じです。
File.fnmatch(pattern, self.to_s, *args) と同じです。
@param pattern パターンを文字列で指定します。ワイルドカードとして `*', `?', `[]' が使用できま
す。Dir.glob とは違って `{}' や `**/' は使用できません。
@param args File.fnmatch を参照してください。
//emlist[例][ruby]{
require "pathname"
path = Pathname("testfile")
path.fnmatch("test*") ... -
Pathname
# fnmatch?(pattern , *args) -> bool (27655.0) -
File.fnmatch?(pattern, self.to_s, *args) と同じです。
File.fnmatch?(pattern, self.to_s, *args) と同じです。
@param pattern パターンを文字列で指定します。ワイルドカードとして `*', `?', `[]' が使用できま
す。Dir.glob とは違って `{}' や `**/' は使用できません。
@param args File.fnmatch を参照してください。
@see File.fnmatch? -
Gem
:: Platform . match(platform) -> bool (27649.0) -
@todo ???
@todo ??? -
Gem
:: Specification # date=(date) (27649.0) -
@param date 日付をセットします。デフォルトは今日です。
@param date 日付をセットします。デフォルトは今日です。 -
CMath
. # atan(z) -> Float | Complex (27637.0) -
z の逆正接関数の値をラジアンで返します。
z の逆正接関数の値をラジアンで返します。
@param z 数値
@raise TypeError z に数値以外を指定した場合に発生します。 -
CMath
. # atanh(z) -> Float | Complex (27637.0) -
z の逆双曲線正接関数の値を返します。
z の逆双曲線正接関数の値を返します。
@param z 数値
@raise TypeError z に数値以外を指定した場合に発生します。 -
Enumerator
:: Lazy # collect _ concat {|item| . . . } -> Enumerator :: Lazy (27637.0) -
ブロックの実行結果をひとつに繋げたものに対してイテレートするような Enumerator::Lazy のインスタンスを返します。
ブロックの実行結果をひとつに繋げたものに対してイテレートするような
Enumerator::Lazy のインスタンスを返します。
//emlist[][ruby]{
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]
//}
ブロックの返した値 x は、以下の場合にのみ分解され、連結されます。
* x が配列であるか、to_ary メソッドを持つとき
* x が each および force メソッドを持つ (例:Enumerator::Lazy) ... -
Enumerator
:: Lazy # flat _ map {|item| . . . } -> Enumerator :: Lazy (27637.0) -
ブロックの実行結果をひとつに繋げたものに対してイテレートするような Enumerator::Lazy のインスタンスを返します。
ブロックの実行結果をひとつに繋げたものに対してイテレートするような
Enumerator::Lazy のインスタンスを返します。
//emlist[][ruby]{
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]
//}
ブロックの返した値 x は、以下の場合にのみ分解され、連結されます。
* x が配列であるか、to_ary メソッドを持つとき
* x が each および force メソッドを持つ (例:Enumerator::Lazy) ... -
Gem
:: GemPathSearcher # matching _ file?(spec , path) -> bool (27637.0) -
与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。
与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: GemPathSearcher # matching _ files(spec , path) -> [String] (27637.0) -
与えられた spec に path が含まれている場合、その path のリストを返します。
与えられた spec に path が含まれている場合、その path のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: Specification # platform=(platform) (27637.0) -
この Gem パッケージを使用できるプラットフォームをセットします。
この Gem パッケージを使用できるプラットフォームをセットします。
@param platform この Gem パッケージを使用できるプラットフォームを指定します。
デフォルトは Gem::Platform::RUBY です。
@see Gem::Platform::RUBY -
Gem
:: Specification # require _ path=(path) (27637.0) -
Gem::Specification#require_paths= の単数バージョンです。
Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths= -
JSON
:: State . from _ state(options) -> JSON :: State (27637.0) -
与えられた options によって生成した JSON::State のインスタンスを返します。
与えられた options によって生成した JSON::State のインスタンスを返します。
@param options JSON::State のインスタンスか、ハッシュを指定します。
@return options がハッシュである場合は、それによって初期化した JSON::State を
返します。options が JSON::State のインスタンスである場合は単に
options を返します。いずれでも無い場合は、何も設定されていない JSON::State の
インスタンスを返します。
//emlist[例 Hash... -
Matrix
# adjugate -> Matrix (27637.0) -
余因子行列を返します。
余因子行列を返します。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6],[3,9]].adjugate # => Matrix[[9, -6], [-3, 7]]
//}
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方でない場合に発生します。
@see Matrix#cofactor -
Pathname
# expand _ path(default _ dir = & # 39; . & # 39;) -> Pathname (27637.0) -
Pathname.new(File.expand_path(self.to_s, *args)) と同じです。
Pathname.new(File.expand_path(self.to_s, *args)) と同じです。
@param default_dir self が相対パスであれば default_dir を基準に展開されます。
//emlist[例][ruby]{
require "pathname"
path = Pathname("testfile")
Pathname.pwd # => #<Pathname:/path/to>
path.expand_path # => #<Pathname:/path/to/testfile>
path.e... -
Pathname
# realdirpath(basedir = nil) -> Pathname (27637.0) -
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に 存在しなくてもエラーになりません。
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に
存在しなくてもエラーになりません。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリになります。
//emlist[例][ruby]{
require "pathname"
path = Pathname("/not_exist")
path.realdirpath # => #<Pathname:/not_exist>
path.realpath # => Errno::ENOENT
# 最後ではないコンポーネント(/not_exist_1)も存在し... -
Pathname
# realpath -> Pathname (27637.0) -
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
また、ファイルシステムをアクセスし、実際に存在するパスを返します。
シンボリックリンクも解決されます。
self が指すパスが存在しない場合は例外 Errno::ENOENT が発生します。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリになります。
//emlist[例][ruby]{
require 'pathname'
Dir.rmdir("/tmp/foo") rescue nil
File.unlink("/tmp/b... -
Pathname
# realpath(basedir = nil) -> Pathname (27637.0) -
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
また、ファイルシステムをアクセスし、実際に存在するパスを返します。
シンボリックリンクも解決されます。
self が指すパスが存在しない場合は例外 Errno::ENOENT が発生します。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリになります。
//emlist[例][ruby]{
require 'pathname'
Dir.rmdir("/tmp/foo") rescue nil
File.unlink("/tmp/b... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (27637.0) -
name という名前の属性を取得します。
name という名前の属性を取得します。
name という名前を持つ属性がない場合は nil を返します。
@param name 属性名(文字列)
@see REXML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (27637.0) -
namespace と name で特定される属性を返します。
namespace と name で特定される属性を返します。
namespace で名前空間を、 name で prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合でも、このメソッドを
使うことで属性を正しく指定することができます。
@param namespace 名前空間(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.ne... -
Date
. json _ create(hash) -> Date (27619.0) -
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
@param hash 適切なキーを持つハッシュを指定します。 -
DateTime
. json _ create(hash) -> DateTime (27619.0) -
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
JSON のオブジェクトから Ruby のオブジェクトを生成して返します。
@param hash 適切なキーを持つハッシュを指定します。 -
Float
# next _ float -> Float (27619.0) -
浮動小数点数で表現可能な self の次の値を返します。
浮動小数点数で表現可能な self の次の値を返します。
Float::MAX.next_float、Float::INFINITY.next_float は
Float::INFINITY を返します。Float::NAN.next_float は
Float::NAN を返します。
//emlist[例][ruby]{
p 0.01.next_float # => 0.010000000000000002
p 1.0.next_float # => 1.0000000000000002
p 100.0.next_float # => 100.00000000000001
p ... -
Float
# prev _ float -> Float (27619.0) -
浮動小数点数で表現可能な self の前の値を返します。
浮動小数点数で表現可能な self の前の値を返します。
(-Float::MAX).prev_float と (-Float::INFINITY).prev_float
は -Float::INFINITY を返します。Float::NAN.prev_float は
Float::NAN を返します。
//emlist[例][ruby]{
p 0.01.prev_float # => 0.009999999999999998
p 1.0.prev_float # => 0.9999999999999999
p 100.0.prev_float # => 99.9999999999... -
Float
# rationalize -> Rational (27619.0) -
自身から eps で指定した許容誤差の範囲に収まるような Rational を返 します。
自身から eps で指定した許容誤差の範囲に収まるような Rational を返
します。
eps を省略した場合は誤差が最も小さくなるような Rational を返しま
す。
@param eps 許容する誤差
//emlist[例][ruby]{
0.3.rationalize # => (3/10)
1.333.rationalize # => (1333/1000)
1.333.rationalize(0.01) # => (4/3)
//} -
Float
# rationalize(eps) -> Rational (27619.0) -
自身から eps で指定した許容誤差の範囲に収まるような Rational を返 します。
自身から eps で指定した許容誤差の範囲に収まるような Rational を返
します。
eps を省略した場合は誤差が最も小さくなるような Rational を返しま
す。
@param eps 許容する誤差
//emlist[例][ruby]{
0.3.rationalize # => (3/10)
1.333.rationalize # => (1333/1000)
1.333.rationalize(0.01) # => (4/3)
//} -
Gem
:: Format # gem _ path=(path) (27619.0) -
Gem のパスをセットします。
Gem のパスをセットします。
@param path Gem のパスをセットします。 -
Gem
:: OldFormat # gem _ path=(path) (27619.0) -
Gem のパスをセットします。
Gem のパスをセットします。
@param path Gem のパスをセットします。 -
Gem
:: Specification # original _ platform=(platform) (27619.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
@param platform プラットフォームを指定します。 -
Gem
:: Specification # require _ paths=(paths) (27619.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを指定します。 -
OpenSSL
:: X509 :: Certificate # check _ private _ key(private _ key) -> bool (27619.0) -
与えられた秘密鍵が証明書に記載されている subject の公開鍵と対応するものかを確かめます。
与えられた秘密鍵が証明書に記載されている subject の公開鍵と対応するものかを確かめます。
確認に成功した場合に真を返します。
@param private_key 確認用の秘密鍵 -
Pathname
# cleanpath(consider _ symlink = false) -> Pathname (27619.0) -
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
cleanpath は、実際にファイルシステムを参照することなく、文字列操作
だけで処理を行います。
@param consider_symlink 真ならパス要素にシンボリックリンクがあった場合
にも問題ないように .. を残します。
//emlist[例][ruby]{
require "pathname"
path = Pathname.new("//.././../")
path # => #<Pa... -
Pathname
# lstat -> File :: Stat (27619.0) -
File.lstat(self.to_s) と同じです。
File.lstat(self.to_s) と同じです。
@see File.lstat -
Pathname
# stat -> File :: Stat (27619.0) -
File.stat(self.to_s) と同じです。
File.stat(self.to_s) と同じです。
@see File.stat -
Rational
# rationalize(eps = 0) -> Rational (27619.0) -
自身から eps で指定した許容誤差の範囲に収まるような Rational を返 します。
自身から eps で指定した許容誤差の範囲に収まるような Rational を返
します。
eps を省略した場合は self を返します。
@param eps 許容する誤差
//emlist[例][ruby]{
r = Rational(5033165, 16777216)
r.rationalize # => (5033165/16777216)
r.rationalize(Rational(0.01)) # => (3/10)
r.rationalize(Rational(0.1)) # => (1/3)
//} -
Rational
. json _ create(hash) -> Rational (27619.0) -
JSON のオブジェクトから Rational のオブジェクトを生成して返します。
JSON のオブジェクトから Rational のオブジェクトを生成して返します。
@param hash 分子をキー 'n'、分母をキー 'd' に持つハッシュを指定します。 -
Gem
:: RequirePathsBuilder # write _ require _ paths _ file _ if _ needed(spec = @spec , gem _ home = @gem _ home) (27607.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。
必要であれば、'.require_paths' というファイルを Gem ごとに作成します。 -
Float
# -@ -> Float (27601.0) -
単項演算子の - です。 self の符号を反転させたものを返します。
単項演算子の - です。
self の符号を反転させたものを返します。
//emlist[例][ruby]{
- 1.2 # => -1.2
- -1.2 # => 1.2
//} -
Matrix
# -@ -> Matrix (27601.0) -
単項 -。各要素の符号を反転させた行列を返します。
単項 -。各要素の符号を反転させた行列を返します。 -
Rational
# -@ -> Rational (27601.0) -
単項演算子の - です。 self の符号を反転させたものを返します。
単項演算子の - です。
self の符号を反転させたものを返します。
//emlist[例][ruby]{
r = Rational(3, 4)
- r # => (-3/4)
//} -
BigMath
. # atan(x , prec) -> BigDecimal (27373.0) -
x の逆正接関数を prec で指定した精度で計算します。単位はラジアンです。 x に無限大や NaN を指定した場合には NaN を返します。
x の逆正接関数を prec で指定した精度で計算します。単位はラジアンです。
x に無限大や NaN を指定した場合には NaN を返します。
@param x 計算対象の BigDecimal オブジェクト。単位はラジアン。
@param prec 計算結果の精度。
@raise ArgumentError x の絶対値が1以上の場合に発生します。
@raise ArgumentError prec に 0 以下が指定された場合に発生します。
//emlist[][ruby]{
require "bigdecimal/math"
puts BigMath::atan(BigD... -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (27355.0) -
必須の属性を作成します。
必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute -
Zlib
:: Deflate . deflate(string , level = Zlib :: DEFAULT _ COMPRESSION) -> String (27355.0) -
string を圧縮します。level の有効な値は Zlib::NO_COMPRESSION, Zlib::BEST_SPEED, Zlib::BEST_COMPRESSION, Zlib::DEFAULT_COMPRESSION 及び 0 から 9 の整数です。
string を圧縮します。level の有効な値は
Zlib::NO_COMPRESSION, Zlib::BEST_SPEED,
Zlib::BEST_COMPRESSION, Zlib::DEFAULT_COMPRESSION
及び 0 から 9 の整数です。
ちなみに、このメソッドは以下のコードとほぼ同じです:
require 'zlib'
def deflate(string, level)
z = Zlib::Deflate.new(level)
dst = z.deflate(string, Zlib::FINISH)
z.close
... -
Gem
:: Specification . attribute _ defaults -> Array (27349.0) -
@todo
@todo
@@attributes の複製を返します。 -
Gem
:: Validator :: ErrorData (27349.0) -
@todo
@todo
エラー情報を記録するための構造体です。
以下の属性を持っています。
* path
* problem -
RSS
:: Maker :: ChannelBase :: CategoriesBase # new _ category (27349.0) -
@todo 新しくcategoryを作成し,返します.作成された categoryはcategoryリストの最後 に追加されています.
@todo
新しくcategoryを作成し,返します.作成された
categoryはcategoryリストの最後
に追加されています. -
RSS
:: Maker :: RSS20 :: Items :: Item :: Categories # new _ category (27349.0) -
@todo 新しくcategoryを作成し,返します.作成された categoryはcategoryリストの最後 に追加されています.
@todo
新しくcategoryを作成し,返します.作成された
categoryはcategoryリストの最後
に追加されています.
item.categories.new_categoryが作成する
categoryは
maker.channel.categories.new_categoryが作成する
categoryと同じAPIを持ちます. -
RSS
:: SyndicationModel # sy _ updateBase (27349.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateBase= (27349.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency (27349.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateFrequency= (27349.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod (27349.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updatePeriod= (27349.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # match(str) (27349.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # matched (27349.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # matched _ string (27349.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # mid _ match? (27349.0) -
@todo
@todo -
Scanf
:: FormatString # last _ match _ tried (27349.0) -
@todo
@todo -
Scanf
:: FormatString # match(str) (27349.0) -
@todo
@todo -
Scanf
:: FormatString # matched _ count (27349.0) -
@todo
@todo -
Float
# denominator -> Integer (27337.0) -
自身を Rational に変換した時の分母を返します。
自身を Rational に変換した時の分母を返します。
@return 分母を返します。
//emlist[例][ruby]{
2.0.denominator # => 1
0.5.denominator # => 2
//}
@see Float#numerator -
Float
# numerator -> Integer (27337.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
//emlist[例][ruby]{
2.0.numerator # => 2
0.5.numerator # => 1
//}
@see Float#denominator -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (27337.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Gem
:: Specification # specification _ version=(version) (27337.0) -
この Gem パッケージに用いられている gemspec のバージョンをセットします。
この Gem パッケージに用いられている gemspec のバージョンをセットします。
@param version gemspec のバージョンを指定します。
@see Gem::Specification::SPECIFICATION_VERSION_HISTORY -
Gem
:: Specification . array _ attribute(name) -> () (27337.0) -
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
Gem::Specification.attribute と同じですが、値を配列に格納するアクセサを作ります。
@param name 属性の名前を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (27337.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
既に存在する複数形の属性の単数形バージョンを定義します。
これは単に一つの引数を受け取りそれを配列に追加するようなヘルパーメソッドを定義するということです。
例:
# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@param plural 属性名の複数形を... -
Pathname
# truncate(length) -> 0 (27337.0) -
File.truncate(self.to_s, length) と同じです。
File.truncate(self.to_s, length) と同じです。
@param length 変更したいサイズを整数で与えます。
@see File.truncate