10411件ヒット
[1-100件を表示]
(0.097秒)
別のキーワード
ライブラリ
- ビルトイン (2847)
- abbrev (12)
- benchmark (12)
- bigdecimal (24)
-
bigdecimal
/ util (36) -
cgi
/ html (300) - continuation (24)
- csv (36)
- date (304)
- dbm (24)
- delegate (132)
- digest (24)
- e2mmap (12)
- etc (12)
- expect (24)
-
fiddle
/ import (72) - forwardable (144)
- gdbm (24)
-
irb
/ ext / math-mode (4) - json (180)
-
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / rational (12) - logger (65)
- matrix (579)
-
minitest
/ spec (2) -
minitest
/ unit (3) - mkmf (168)
-
net
/ ftp (102) -
net
/ http (504) -
net
/ imap (96) -
net
/ smtp (36) - observer (24)
- openssl (756)
- optparse (60)
- pathname (397)
- prime (96)
- psych (12)
- rake (156)
-
rake
/ rdoctask (12) -
rdoc
/ context (24) -
rdoc
/ generator / darkfish (12) -
rdoc
/ generator / ri (12) -
rdoc
/ markup (24) -
rdoc
/ markup / formatter (24) -
rdoc
/ parser (12) -
rdoc
/ parser / simple (12) -
rdoc
/ stats (48) -
rdoc
/ top _ level (24) -
rexml
/ document (456) -
rexml
/ sax2listener (60) -
rexml
/ streamlistener (48) -
rinda
/ rinda (12) -
rinda
/ tuplespace (12) -
ripper
/ filter (24) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / which _ command (24) -
rubygems
/ config _ file (12) -
rubygems
/ custom _ require (12) -
rubygems
/ dependency _ list (24) -
rubygems
/ format (36) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ indexer (24) -
rubygems
/ installer (60) -
rubygems
/ old _ format (36) -
rubygems
/ package / tar _ input (12) -
rubygems
/ package / tar _ writer (24) -
rubygems
/ platform (72) -
rubygems
/ remote _ fetcher (36) -
rubygems
/ requirement (24) -
rubygems
/ security (36) -
rubygems
/ server (12) -
rubygems
/ source _ index (72) -
rubygems
/ source _ info _ cache (72) -
rubygems
/ spec _ fetcher (24) -
rubygems
/ specification (432) -
rubygems
/ uninstaller (12) -
rubygems
/ user _ interaction (108) -
rubygems
/ validator (36) -
rubygems
/ version _ option (12) - scanf (36)
- sdbm (24)
- shell (126)
-
shell
/ command-processor (90) -
shell
/ filter (84) -
shell
/ process-controller (6) - socket (60)
- stringio (55)
- strscan (24)
-
syslog
/ logger (12) - tsort (11)
- uri (24)
-
webrick
/ httpauth / basicauth (12) -
webrick
/ httpauth / digestauth (12) -
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (36) -
webrick
/ httpserver (12) -
webrick
/ httputils (60) -
webrick
/ log (12) -
yaml
/ dbm (48) - zlib (132)
クラス
-
ARGF
. class (60) - Addrinfo (12)
- Array (347)
- BasicSocket (24)
-
Benchmark
:: Tms (12) - BigDecimal (24)
- Bignum (30)
-
CGI
:: Cookie (12) -
CSV
:: Row (36) - Complex (36)
- Continuation (24)
- DBM (24)
- Data (12)
- Date (254)
- DateTime (74)
- Delegator (108)
-
Digest
:: Base (24) -
Encoding
:: Converter (48) - Enumerator (84)
-
Enumerator
:: ArithmeticSequence (35) -
Enumerator
:: Lazy (24) - File (12)
-
File
:: Stat (12) - Fixnum (27)
- Float (273)
- GDBM (24)
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: WhichCommand (24) -
Gem
:: ConfigFile (12) -
Gem
:: DependencyList (24) -
Gem
:: Format (36) -
Gem
:: GemPathSearcher (24) -
Gem
:: Indexer (24) -
Gem
:: Installer (60) -
Gem
:: OldFormat (36) -
Gem
:: Package :: TarInput (12) -
Gem
:: Package :: TarWriter :: BoundedStream (12) -
Gem
:: Package :: TarWriter :: RestrictedStream (12) -
Gem
:: Platform (72) -
Gem
:: RemoteFetcher (36) -
Gem
:: Requirement (24) -
Gem
:: Security :: Policy (24) -
Gem
:: Security :: Signer (12) -
Gem
:: Server (12) -
Gem
:: SourceIndex (72) -
Gem
:: SourceInfoCache (72) -
Gem
:: SpecFetcher (24) -
Gem
:: Specification (432) -
Gem
:: StreamUI (60) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) -
Gem
:: Uninstaller (12) -
Gem
:: Validator (36) - Hash (107)
- IO (189)
-
IRB
:: Context (4) - Integer (84)
-
JSON
:: State (72) - Logger (36)
-
Logger
:: Application (5) -
Logger
:: Formatter (24) - MatchData (152)
- Matrix (471)
-
Matrix
:: LUPDecomposition (12) -
MiniTest
:: Unit (1) - Module (241)
-
Net
:: FTP (102) -
Net
:: HTTP (480) -
Net
:: IMAP (96) -
Net
:: SMTP (36) - NilClass (24)
- Numeric (106)
- Object (73)
-
OpenSSL
:: ASN1 :: ASN1Data (36) -
OpenSSL
:: Cipher (12) -
OpenSSL
:: Digest (24) -
OpenSSL
:: Engine (24) -
OpenSSL
:: HMAC (24) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: OCSP :: CertificateId (24) -
OpenSSL
:: PKCS7 (60) -
OpenSSL
:: PKey :: DH (12) -
OpenSSL
:: PKey :: DSA (36) -
OpenSSL
:: PKey :: EC (36) -
OpenSSL
:: PKey :: EC :: Group (12) -
OpenSSL
:: PKey :: PKey (24) -
OpenSSL
:: PKey :: RSA (24) -
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: SSL :: SSLServer (12) -
OpenSSL
:: X509 :: Attribute (24) -
OpenSSL
:: X509 :: CRL (24) -
OpenSSL
:: X509 :: Certificate (144) -
OpenSSL
:: X509 :: ExtensionFactory (96) -
OpenSSL
:: X509 :: Request (24) -
OpenSSL
:: X509 :: Store (12) - OptionParser (60)
- Pathname (385)
- Prime (48)
-
Prime
:: PseudoPrimeGenerator (36) -
Process
:: Status (36) -
Psych
:: Emitter (12) -
RDoc
:: Context (24) -
RDoc
:: Generator :: Darkfish (12) -
RDoc
:: Generator :: RI (12) -
RDoc
:: Markup (24) -
RDoc
:: Markup :: Formatter (24) -
RDoc
:: Options (36) -
RDoc
:: Parser (12) -
RDoc
:: Parser :: Simple (12) -
RDoc
:: Stats (48) -
RDoc
:: TopLevel (24) -
REXML
:: AttlistDecl (24) -
REXML
:: Attribute (48) -
REXML
:: Attributes (84) -
REXML
:: Declaration (12) -
REXML
:: DocType (24) -
REXML
:: Element (132) -
REXML
:: Elements (60) -
REXML
:: Formatters :: Default (12) -
REXML
:: Formatters :: Pretty (24) -
REXML
:: NotationDecl (36) -
Rake
:: Application (24) -
Rake
:: FileList (12) -
Rake
:: InvocationChain (24) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: RDocTask (12) -
Rake
:: Task (12) - Random (36)
- Range (33)
- Rational (228)
- Regexp (24)
-
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) -
Ripper
:: Filter (24) - SDBM (24)
- Shell (126)
-
Shell
:: CommandProcessor (90) -
Shell
:: Filter (84) -
Shell
:: ProcessController (6) - SimpleDelegator (12)
-
Socket
:: AncillaryData (12) - String (339)
- StringIO (55)
- StringScanner (24)
- Struct (12)
- Symbol (12)
-
Syslog
:: Logger (12) - Thread (45)
- Time (24)
- UDPSocket (12)
-
URI
:: Generic (12) -
URI
:: LDAP (12) - Vector (96)
-
WEBrick
:: BasicLog (12) -
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPAuth :: BasicAuth (12) -
WEBrick
:: HTTPAuth :: DigestAuth (12) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (36) -
WEBrick
:: HTTPServer :: MountTable (12) -
WEBrick
:: HTTPUtils :: FormData (60) -
YAML
:: DBM (48) -
Zlib
:: Deflate (60) -
Zlib
:: GzipReader (24) -
Zlib
:: GzipWriter (12) -
Zlib
:: Inflate (36)
モジュール
-
CGI
:: HtmlExtension (300) - Enumerable (212)
- Exception2MessageMapper (12)
-
Fiddle
:: Importer (72) - FileUtils (36)
- Forwardable (72)
- GC (12)
-
Gem
:: UserInteraction (12) -
Gem
:: VersionOption (12) -
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (216)
-
MiniTest
:: Assertions (2) -
Net
:: HTTPHeader (24) - Observable (24)
-
OpenSSL
:: Buffering (12) -
REXML
:: SAX2Listener (60) -
REXML
:: StreamListener (48) -
Rake
:: TaskManager (24) - SingleForwardable (72)
- TSort (11)
- Warning (4)
キーワード
- != (12)
- % (32)
- & (12)
- * (66)
- ** (42)
- + (78)
- - (78)
-
/ (65) - < (12)
- << (60)
- <= (12)
- <=> (48)
- == (106)
- === (36)
- =~ (12)
- > (12)
- >= (12)
- >> (24)
- DelegateClass (12)
- Pathname (12)
- [] (144)
- []= (7)
-
_ _ setobj _ _ (24) - abbrev (12)
- abbreviate (12)
-
abort
_ on _ exception= (12) - accept (12)
- add (12)
-
add
_ attribute (48) -
add
_ attributes (12) -
add
_ bindir (12) -
add
_ certificate (12) -
add
_ data (12) -
add
_ dependency (12) -
add
_ development _ dependency (12) -
add
_ element (12) -
add
_ extension (12) -
add
_ loader (12) -
add
_ observer (12) -
add
_ path (12) -
add
_ platform _ option (12) -
add
_ runtime _ dependency (12) -
add
_ spec (12) -
add
_ special (12) -
add
_ status (12) -
add
_ tag (12) - alert (12)
-
alert
_ error (12) -
alert
_ warning (12) - all? (15)
-
angle
_ with (12) - any? (16)
- append (36)
- application= (12)
-
assert
_ match (1) -
assert
_ operator (1) - atime (18)
- attlistdecl (24)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - attribute (12)
-
attribute
_ of (12) - attributes= (24)
- authenticate (48)
- autoload (12)
-
backtrace
_ locations (24) - basename (12)
- begin (12)
- bind (12)
- bindir= (12)
- byteindex (3)
- byteoffset (6)
- byterindex (3)
-
ca
_ file= (12) -
ca
_ path= (24) - call (24)
- cat (18)
- cd (6)
- cdata (24)
- ceil (25)
- cert= (24)
-
cert
_ chain= (12) - certificates= (12)
- changed (12)
- chdir (6)
-
check
_ private _ key (12) - checkbox (12)
-
checkbox
_ group (12) - children (12)
- chmod (12)
- chown (12)
- cleanpath (12)
- cmp (12)
-
cmp
_ issuer (12) -
cmsg
_ is? (12) - coerce (24)
- cofactor (12)
-
cofactor
_ expansion (12) - collect (26)
- collect! (14)
- collect2 (12)
- column (24)
- combination (24)
- compact= (12)
- component (12)
- concat (66)
- configure (12)
-
const
_ source _ location (12) - convert (36)
- copy (12)
- cpu= (12)
- create (12)
-
create
_ ext (12) -
create
_ ext _ from _ array (12) -
create
_ ext _ from _ hash (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) -
create
_ header (12) -
create
_ makefile (12) -
create
_ rule (12) -
create
_ tmpsrc (12) -
create
_ value (12) - cycle (12)
- data (24)
- data= (12)
- date= (12)
-
datetime
_ format= (12) -
deconstruct
_ keys (9) -
def
_ delegator (24) -
def
_ delegators (24) -
def
_ exception (6) -
def
_ instance _ delegator (12) -
def
_ instance _ delegators (12) -
def
_ single _ delegator (12) -
def
_ single _ delegators (12) -
default
_ executable= (12) - deflate (12)
- delegate (24)
- delete (24)
-
delete
_ all (24) -
delete
_ at (12) -
delete
_ attribute (12) -
deprecate
_ constant (12) - description= (12)
- detect (12)
- div (6)
- divmod (12)
- dot (12)
- downto (36)
- drop (12)
-
dsa
_ sign _ asn1 (12) -
dsa
_ verify _ asn1 (12) - each (192)
- each2 (12)
-
each
_ child (24) -
each
_ cons (12) -
each
_ element (12) -
each
_ element _ with _ attribute (12) -
each
_ line (96) -
each
_ slice (12) -
each
_ strongly _ connected _ component _ from (11) -
each
_ with _ index (36) -
each
_ with _ object (12) - egrep (12)
-
egrep
_ cpp (24) - element (12)
- element= (12)
- email= (12)
- end (12)
-
enhance
_ with _ matching _ rule (12) -
enum
_ for (24) - eql? (51)
- executable= (12)
- executables= (12)
- expect (24)
- extensions= (24)
- extern (12)
-
extra
_ chain _ cert= (12) -
extra
_ rdoc _ files= (12) -
family
_ addrinfo (12) - fatal (36)
- fdiv (30)
- feed (12)
- fetch (24)
-
fetch
_ path (12) -
fetch
_ values (20) - field? (12)
- fields (12)
- file (12)
-
file
_ entries= (24) -
file
_ field (12) -
file
_ relative _ name= (12) -
file
_ stat= (12) - filename (12)
- filename= (12)
- files= (12)
- find (34)
-
find
_ executable (12) -
find
_ header (12) -
find
_ index (60) -
find
_ library (24) -
find
_ matching (12) -
find
_ name (24) -
find
_ paths (12) - first (14)
-
first
_ minor (12) - flatten (24)
- flatten! (12)
- flock (12)
- floor (26)
- flush (48)
- fnmatch (12)
- fnmatch? (12)
- foreach (18)
- form (48)
-
form
_ data= (12) - format (12)
-
formatted
_ program _ filename (12) - formatter= (24)
-
garbage
_ collect (12) -
gem
_ path= (24) -
gem
_ paths (12) -
gem
_ signature (12) -
generate
_ bin _ script (12) -
generate
_ bin _ symlink (12) -
generate
_ windows _ script (12) - generator= (12)
- get (36)
- get2 (24)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ elements (12) -
get
_ file _ uri _ path (12) -
get
_ path (12) -
get
_ text (12) - getbinaryfile (12)
- glob (34)
- grep (24)
-
grep
_ v (24) - gsub (48)
- gsub! (48)
- head (12)
- head2 (24)
- hidden (12)
- homepage= (12)
- hstack (12)
- html (24)
- img (12)
- include? (12)
- indent= (12)
- indentation= (12)
- index (67)
-
infect
_ with _ assertions (1) - inflate (12)
- initialize (24)
- inject (12)
-
inner
_ product (12) -
installation
_ satisfies _ dependency? (12) -
instance
_ delegate (12) - iso8601 (12)
- issuer= (12)
-
issuer
_ certificate= (12) - jisx0301 (12)
- join (12)
- key (12)
-
laplace
_ expansion (12) - last (14)
-
last
_ update= (12) -
latest
_ specs (12) - lchmod (12)
- lchown (12)
- level= (1)
- libpathflag (12)
- lines (28)
-
link
_ command (12) -
load
_ gemspec (12) -
load
_ private _ key (12) -
load
_ public _ key (12) - loaded= (12)
-
loaded
_ from= (12) - lock (12)
- log (2)
- log= (1)
- lstat (18)
- map (14)
- map! (14)
-
marshal
_ load (12) - match (36)
- match? (12)
-
matching
_ file? (12) -
matching
_ files (12) -
math
_ mode= (4) -
max
_ by (24) - member? (12)
- merge (12)
-
method
_ missing (12) -
min
_ by (24) - minor (24)
- mkcol (12)
- mkdir (18)
- mlsd (20)
- mlst (10)
- modulo (18)
- move (12)
-
multipart
_ form (48) -
must
_ match (1) - name (12)
- name= (24)
-
named
_ captures (12) - namespace (12)
-
new
_ offset (12) -
new
_ start (12) -
next
_ day (12) -
next
_ month (12) -
next
_ update= (12) -
next
_ year (12) - none? (15)
- normalized= (12)
-
not
_ after= (12) -
not
_ before= (12) - notation (12)
- notationdecl (24)
- notify (24)
-
num
_ classes= (12) -
num
_ files= (12) -
num
_ methods= (12) -
num
_ modules= (12) -
object
_ nl= (12) - offset (24)
- oid= (12)
- on (36)
-
on
_ XXX (12) -
on
_ default (12) - one? (15)
- open (18)
-
open
_ uri _ or _ path (12) -
original
_ platform= (12) - os= (12)
- pack (21)
- params (12)
- paranoid (12)
-
parse
_ files _ matching (12) -
password
_ field (12) - patch (24)
- path (12)
- path= (36)
-
path
_ info= (12) -
path
_ ok? (12) - pathconf (12)
-
pathmap
_ replace (12) - permutation (24)
- platform= (12)
- post (24)
- post2 (24)
-
prepend
_ features (12) -
prev
_ day (12) -
prev
_ month (12) -
prev
_ year (12) - prime? (12)
-
prime
_ division (24) -
primitive
_ convert (48) - printf (60)
-
priv
_ key= (24) - private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ decrypt (12) -
private
_ encrypt (12) -
private
_ instance _ methods (12) -
private
_ key= (12) -
private
_ method _ defined? (12) -
private
_ methods (12) -
processing
_ instruction (12) - propfind (12)
- proppatch (12)
-
protected
_ methods (12) - public= (12)
-
public
_ key= (12) -
public
_ methods (12) - pushd (6)
- pushdir (6)
- put (24)
- put2 (24)
- putbinaryfile (12)
- quo (24)
-
radio
_ group (12) - rand (36)
- rationalize (108)
-
read
_ cache _ data (12) - readlink (18)
- realdirpath (12)
- realpath (24)
-
recvfrom
_ nonblock (12) - recvmsg (12)
-
recvmsg
_ nonblock (12) -
relative
_ path _ from (12) - remainder (3)
-
remove
_ by _ name (12) -
remove
_ const (12) -
remove
_ private _ comments (12) - rename (12)
-
renegotiation
_ cb= (12) - reopen (24)
-
repeated
_ combination (24) -
repeated
_ permutation (24) -
report
_ on _ exception= (9) - request (24)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) - require (12)
-
require
_ path= (12) -
require
_ paths= (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version= (12) - requirements= (12)
- reset (12)
-
reset
_ cache _ for (12) -
respond
_ to? (12) -
respond
_ to _ missing? (24) - retrbinary (12)
- rfc3339 (12)
- rindex (24)
- rmdir (18)
- rotate (12)
- rotate! (12)
- round (37)
- row (24)
- ruby (12)
-
rubygems
_ version= (12) -
satisfied
_ by? (12) -
satisfies
_ requirement? (12) - say (12)
- scan (36)
- scanf (36)
-
scrolling
_ list (12) - search (24)
-
search
_ with _ source (12) - select (24)
-
send
_ request (12) - separator (12)
- serial= (12)
-
set
_ cache _ data (12) -
set
_ dictionary (24) -
set
_ error (12) -
set
_ form _ data (12) -
set
_ generator (12) -
set
_ log (1) -
set
_ redirect (12) - sh (12)
- sign (36)
-
signing
_ key= (12) -
single
_ delegate (12) - solve (12)
- space= (12)
-
space
_ before= (12) - spec= (24)
-
spec
_ path (12) - specification (12)
-
specification
_ version= (12) - split (18)
-
split
_ all (12) -
start
_ element (12) -
start
_ immediately= (12) - stat (18)
-
static
_ path= (12) - status (13)
- status= (12)
- step (124)
- storbinary (12)
- store (12)
- strftime (24)
- struct (12)
- sub (60)
- sub! (36)
-
sub
_ ext (12) - subject= (12)
-
subject
_ certificate= (12) - submit (12)
- summary= (12)
- sync (12)
- sync= (12)
- syssign (12)
- system= (12)
-
system
_ path (6) -
system
_ path= (6) - sysverify (12)
- tag= (12)
-
tag
_ class= (12) -
tag
_ start (12) - take (12)
- template= (12)
-
template
_ dir= (12) -
terminate
_ interaction (24) -
terminate
_ job (6) -
test
_ files= (12) -
test
_ suite _ file= (12) - text (12)
-
text
_ field (12) - textarea (12)
-
to
_ a (12) -
to
_ d (36) -
to
_ enum (24) -
to
_ i (21) -
to
_ json (144) -
to
_ r (12) - tr (12)
- tr! (12)
-
tr
_ s (12) -
tr
_ s! (12) - trace (12)
-
transform
_ keys (4) -
transform
_ keys! (4) - truncate (99)
-
try
_ file (12) -
try
_ static _ assert (24) -
tty
_ output= (12) -
uid
_ fetch (12) -
uid
_ store (12) - union (12)
-
unit
_ test (12) - unlink (18)
- unlock (12)
-
unmatched
_ alias _ lists= (12) - unpack (12)
- update (132)
-
update
_ sources= (12) - updated (36)
-
upper
_ bound= (12) - upto (36)
- utime (30)
- value (12)
- value= (24)
-
values
_ at (108) - verify (36)
-
verify
_ data= (12) -
verify
_ gem (24) -
verify
_ gem _ file (12) - version= (36)
- warn (4)
- width= (12)
- with (3)
-
with
_ object (48) - write (84)
- xmlschema (12)
検索結果
先頭5件
-
Logger
:: Formatter # datetime _ format=(format) (15307.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.datetime_format # => "%Y-%m-%d %H:%M:%S"
//}
@see Time#strftime... -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (15307.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...base_directory から self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory......も相対パス、self が絶対パスなら
base_directory も絶対パスでなければなりません。
@param base_directory ベースディレクトリを表す Pathname オブジェクトを指定します。
@raise ArgumentError Windows上でドライブが違うなど、base_directory......から self への相対パスが求められないときに例外が発生します。
//emlist[例][ruby]{
require 'pathname'
path = Pathname.new("/tmp/foo")
base = Pathname.new("/tmp")
path.relative_path_from(base) # => #<Pathname:foo>
//}... -
Array
# at(nth) -> object | nil (15111.0) -
nth 番目の要素を返します。nth 番目の要素が存在しない時には nil を返します。
...nth 番目の要素を返します。nth 番目の要素が存在しない時には nil を返します。
@param nth インデックスを整数で指定します。
先頭の要素が 0 番目になります。nth の値が負の時には末尾から
のインデックス... -
Array
# repeated _ combination(n) -> Enumerator (12307.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
...わせの順序は保証されません。ブロックなしで呼び出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した......epeated_combination(1).to_a #=> [[1], [2], [3]]
a.repeated_combination(2).to_a #=> [[1,1],[1,2],[1,3],[2,2],[2,3],[3,3]]
a.repeated_combination(3).to_a #=> [[1,1,1],[1,1,2],[1,1,3],[1,2,2],[1,2,3],
# [1,3,3],[2,2,2],[2,2,3],[2,3,3],[3,3,3]]
a.repeated_combinatio......3,3]]
a.repeated_combination(0).to_a #=> [[]] # one combination of length 0
//}
ブロックが与えられた場合、作成した配列の各要素を引数としてブロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2, 3]
result = []
a.repeated_combination(3) {|e|... -
Array
# repeated _ permutation(n) -> Enumerator (12307.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
...られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場......eated_permutation(1).to_a #=> [[1], [2]]
a.repeated_permutation(2).to_a #=> [[1,1],[1,2],[2,1],[2,2]]
a.repeated_permutation(3).to_a #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
a.repeated_permutation(0).to_a #=> [[]] # one permutati......ロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2]
result = []
a.repeated_permutation(3) {|e| result << e} # => [1,2]
result #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
//}
@see Array#repeated_combination, Array#permutation... -
Array
# repeated _ combination(n) { |c| . . . } -> self (12207.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
...わせの順序は保証されません。ブロックなしで呼び出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した......epeated_combination(1).to_a #=> [[1], [2], [3]]
a.repeated_combination(2).to_a #=> [[1,1],[1,2],[1,3],[2,2],[2,3],[3,3]]
a.repeated_combination(3).to_a #=> [[1,1,1],[1,1,2],[1,1,3],[1,2,2],[1,2,3],
# [1,3,3],[2,2,2],[2,2,3],[2,3,3],[3,3,3]]
a.repeated_combinatio......3,3]]
a.repeated_combination(0).to_a #=> [[]] # one combination of length 0
//}
ブロックが与えられた場合、作成した配列の各要素を引数としてブロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2, 3]
result = []
a.repeated_combination(3) {|e|... -
Array
# repeated _ permutation(n) { |p| . . . } -> self (12207.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
...られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場......eated_permutation(1).to_a #=> [[1], [2]]
a.repeated_permutation(2).to_a #=> [[1,1],[1,2],[2,1],[2,2]]
a.repeated_permutation(3).to_a #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
a.repeated_permutation(0).to_a #=> [[]] # one permutati......ロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2]
result = []
a.repeated_permutation(3) {|e| result << e} # => [1,2]
result #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
//}
@see Array#repeated_combination, Array#permutation... -
Gem
:: Installer # installation _ satisfies _ dependency?(dependency) -> bool (12207.0) -
登録されているソースインデックスが与えられた依存関係を 満たすことができる場合は、真を返します。そうでない場合は偽を返します。
...登録されているソースインデックスが与えられた依存関係を
満たすことができる場合は、真を返します。そうでない場合は偽を返します。
@param dependency Gem::Dependency のインスタンスを指定します。... -
RDoc
:: Options # static _ path=(vals) (12207.0) -
コマンドライン引数の --copy-files オプションと同様の指定を行います。
...コマンドライン引数の --copy-files オプションと同様の指定を行います。
@param vals パスを文字列の配列で指定します。...