種類
ライブラリ
- ビルトイン (276)
- abbrev (2)
- base64 (6)
- benchmark (9)
- bigdecimal (7)
-
bigdecimal
/ util (2) -
cgi
/ core (1) -
cgi
/ html (29) - csv (9)
- date (1)
- dbm (11)
- digest (8)
-
digest
/ bubblebabble (1) - drb (6)
-
drb
/ extservm (2) - erb (9)
- etc (22)
- fiddle (1)
- forwardable (5)
- gdbm (11)
- irb (1)
-
irb
/ cmd / help (1) -
irb
/ context (20) -
irb
/ ext / save-history (1) -
irb
/ extend-command (2) -
irb
/ input-method (6) - json (17)
-
json
/ add / bigdecimal (1) -
json
/ add / exception (1) -
json
/ add / symbol (1) - kconv (8)
- logger (1)
-
minitest
/ unit (1) - mkmf (12)
-
net
/ ftp (1) -
net
/ http (9) -
net
/ imap (47) -
net
/ pop (3) -
net
/ smtp (2) -
net
/ telnet (1) - objspace (2)
- openssl (60)
- optparse (28)
- pathname (4)
- pp (3)
- psych (13)
- rake (8)
-
rake
/ packagetask (1) - rbconfig (4)
-
rdoc
/ code _ object (3) -
rdoc
/ markup (2) -
rdoc
/ text (1) -
rdoc
/ top _ level (1) - readline (7)
- resolv (3)
-
rexml
/ document (20) -
ripper
/ lexer (3) - rubygems (3)
-
rubygems
/ builder (2) -
rubygems
/ commands / build _ command (2) -
rubygems
/ defaults (2) -
rubygems
/ ext / builder (2) -
rubygems
/ gem _ path _ searcher (1) -
rubygems
/ installer (3) -
rubygems
/ platform (1) -
rubygems
/ specification (7) -
rubygems
/ uninstaller (1) - sdbm (11)
- securerandom (5)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1) - shellwords (2)
- socket (10)
- stringio (28)
- strscan (15)
- tmpdir (2)
- uri (9)
-
webrick
/ accesslog (8) -
webrick
/ config (1) -
webrick
/ htmlutils (1) -
webrick
/ httpauth / authenticator (4) -
webrick
/ httpauth / basicauth (2) -
webrick
/ httpauth / digestauth (3) -
webrick
/ httpauth / htdigest (1) -
webrick
/ httpauth / htgroup (1) -
webrick
/ httpauth / htpasswd (2) -
webrick
/ httpauth / userdb (2) -
webrick
/ httprequest (23) -
webrick
/ httpresponse (10) -
webrick
/ httpservlet / cgihandler (2) -
webrick
/ httpstatus (1) -
webrick
/ httputils (13) -
webrick
/ httpversion (1) -
webrick
/ log (3) -
webrick
/ utils (2) -
win32
/ registry (1) - win32ole (14)
-
yaml
/ dbm (9) - zlib (34)
クラス
-
ARGF
. class (7) - Array (3)
- BasicObject (1)
- BasicSocket (6)
-
Benchmark
:: Job (1) -
Benchmark
:: Tms (5) - BigDecimal (9)
- Bignum (2)
- CSV (3)
-
CSV
:: Table (6) - Class (1)
- DBM (11)
-
DRb
:: DRbObject (1) -
DRb
:: DRbRemoteError (1) -
DRb
:: DRbServer (1) -
DRb
:: DRbUnknown (2) -
DRb
:: ExtServManager (2) - Date (1)
-
Digest
:: Base (7) - Dir (5)
- ERB (5)
- Encoding (1)
-
Encoding
:: Converter (6) -
Encoding
:: InvalidByteSequenceError (3) - Enumerator (2)
- Exception (3)
- File (5)
- Fixnum (2)
- GDBM (11)
-
Gem
:: Builder (2) -
Gem
:: Commands :: BuildCommand (2) -
Gem
:: Ext :: Builder (2) -
Gem
:: GemPathSearcher (1) -
Gem
:: Installer (3) -
Gem
:: Platform (1) -
Gem
:: Specification (7) -
Gem
:: Uninstaller (1) - IO (14)
-
IRB
:: Context (20) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: FileInputMethod (1) -
IRB
:: InputMethod (1) -
IRB
:: ReadlineInputMethod (2) -
IRB
:: StdioInputMethod (2) - Integer (2)
-
JSON
:: State (5) - Logger (1)
- MatchData (2)
- Module (25)
-
Net
:: FTP (1) -
Net
:: HTTP (1) -
Net
:: HTTPGenericRequest (1) -
Net
:: HTTPResponse (4) -
Net
:: IMAP (3) -
Net
:: IMAP :: Address (1) -
Net
:: IMAP :: BodyTypeBasic (9) -
Net
:: IMAP :: BodyTypeMessage (9) -
Net
:: IMAP :: BodyTypeMultipart (5) -
Net
:: IMAP :: BodyTypeText (9) -
Net
:: IMAP :: Envelope (1) -
Net
:: IMAP :: FetchData (1) -
Net
:: IMAP :: MailboxACLItem (2) -
Net
:: IMAP :: MailboxList (3) -
Net
:: IMAP :: MailboxQuota (1) -
Net
:: IMAP :: MailboxQuotaRoot (2) -
Net
:: IMAP :: StatusData (1) -
Net
:: POPMail (3) -
Net
:: SMTP (2) -
Net
:: Telnet (1) - Object (30)
-
OpenSSL
:: ASN1 :: BMPString (2) -
OpenSSL
:: ASN1 :: BitString (4) -
OpenSSL
:: ASN1 :: ObjectId (5) -
OpenSSL
:: ASN1 :: PrintableString (2) -
OpenSSL
:: BN (1) -
OpenSSL
:: PKCS7 (1) -
OpenSSL
:: PKey :: DH (2) -
OpenSSL
:: PKey :: DSA (1) -
OpenSSL
:: PKey :: EC (2) -
OpenSSL
:: PKey :: RSA (3) -
OpenSSL
:: SSL :: SSLSocket (1) -
OpenSSL
:: X509 :: Attribute (2) -
OpenSSL
:: X509 :: Certificate (1) -
OpenSSL
:: X509 :: Extension (1) -
OpenSSL
:: X509 :: ExtensionFactory (1) -
OpenSSL
:: X509 :: Name (2) -
OpenSSL
:: X509 :: StoreContext (1) - OptionParser (22)
-
OptionParser
:: ParseError (2) - Pathname (4)
-
Psych
:: Nodes :: Node (1) -
Psych
:: ScalarScanner (1) -
Psych
:: SyntaxError (1) -
Psych
:: Visitors :: YAMLTree (1) -
RDoc
:: CodeObject (3) -
RDoc
:: Markup (1) -
RDoc
:: Options (1) -
RDoc
:: TopLevel (1) -
REXML
:: Attribute (6) -
REXML
:: Attributes (3) -
REXML
:: Comment (1) -
REXML
:: DocType (2) -
REXML
:: Element (5) -
REXML
:: Entity (2) -
REXML
:: NotationDecl (1) -
Rake
:: FileList (7) -
Rake
:: PackageTask (1) - Random (1)
- Range (1)
- Regexp (4)
-
Resolv
:: DNS :: Resource :: IN :: WKS (1) -
Resolv
:: DNS :: Resource :: MINFO (2) - Ripper (1)
-
Ripper
:: Lexer (2) - RubyVM (2)
-
RubyVM
:: InstructionSequence (10) - SDBM (11)
- Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1) - Socket (3)
- String (86)
- StringIO (28)
- StringScanner (15)
- Struct (3)
- Symbol (30)
- Thread (4)
-
Thread
:: Backtrace :: Location (6) - Time (1)
- TracePoint (2)
- UDPSocket (1)
-
URI
:: LDAP (1) - UnboundMethod (8)
-
WEBrick
:: BasicLog (1) -
WEBrick
:: Cookie (10) -
WEBrick
:: HTTPAuth :: BasicAuth (2) -
WEBrick
:: HTTPAuth :: DigestAuth (3) -
WEBrick
:: HTTPAuth :: Htdigest (1) -
WEBrick
:: HTTPAuth :: Htgroup (1) -
WEBrick
:: HTTPAuth :: Htpasswd (2) -
WEBrick
:: HTTPRequest (23) -
WEBrick
:: HTTPResponse (10) -
WEBrick
:: HTTPServlet :: CGIHandler (2) -
WEBrick
:: HTTPUtils :: FormData (6) -
WEBrick
:: HTTPVersion (1) -
WEBrick
:: Log (2) -
WIN32OLE
_ TYPE (1) -
WIN32OLE
_ TYPELIB (5) -
WIN32OLE
_ VARIABLE (5) -
WIN32OLE
_ VARIANT (2) -
Win32
:: Registry (1) -
YAML
:: DBM (9) -
Zlib
:: Deflate (6) -
Zlib
:: GzipFile (3) -
Zlib
:: GzipFile :: Error (2) -
Zlib
:: GzipReader (5) -
Zlib
:: GzipWriter (1) -
Zlib
:: Inflate (6) -
Zlib
:: ZStream (3)
モジュール
- Abbrev (1)
- Base64 (6)
- Benchmark (3)
-
CGI
:: HtmlExtension (29) -
CGI
:: QueryExtension (1) - DRb (1)
- Digest (2)
-
ERB
:: Util (4) - Etc (22)
- Fiddle (1)
- Forwardable (3)
- Gem (5)
- IRB (1)
-
IRB
:: ExtendCommandBundle (2) - JSON (9)
-
JSON
:: Generator :: GeneratorMethods :: Object (1) -
JSON
:: Generator :: GeneratorMethods :: String (1) - Kconv (4)
- Kernel (26)
- Marshal (4)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (3) - ObjectSpace (2)
- OpenSSL (1)
-
OpenSSL
:: ASN1 (9) -
OpenSSL
:: Buffering (9) -
OpenSSL
:: PKCS5 (2) -
OpenSSL
:: Random (2) -
OptionParser
:: Arguable (4) - Psych (5)
-
RDoc
:: Text (1) - RbConfig (4)
- Readline (7)
- SecureRandom (4)
- Shellwords (2)
- SingleForwardable (2)
- URI (8)
-
WEBrick
:: AccessLog (8) -
WEBrick
:: Config (1) -
WEBrick
:: HTMLUtils (1) -
WEBrick
:: HTTPAuth :: Authenticator (4) -
WEBrick
:: HTTPAuth :: UserDB (2) -
WEBrick
:: HTTPStatus (1) -
WEBrick
:: HTTPUtils (7) -
WEBrick
:: Utils (2) -
WIN32OLE
:: VARIANT (1) - Zlib (7)
オブジェクト
- main (3)
キーワード
-
$ libdir (1) -
$ libs (1) -
$ sitelibdir (1) - % (1)
- + (1)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - << (3)
- <=> (1)
- == (3)
- === (4)
- =~ (2)
-
AGENT
_ LOG _ FORMAT (1) - ASN1 (1)
-
BENCHMARK
_ VERSION (1) -
BIT
_ STRING (1) - BMPSTRING (1)
- BMPString (3)
-
BUILD
_ RUBY _ PLATFORM (1) - BitString (3)
- Buffering (1)
- CAPTION (2)
- CGIRunner (1)
- CLF (1)
-
CLF
_ TIME _ FORMAT (1) -
COMBINED
_ LOG _ FORMAT (1) -
COMMON
_ LOG _ FORMAT (1) - Context (1)
-
DEFAULT
_ OBJECT _ TYPE (1) - DESTDIR (1)
- FORMAT (2)
-
FORWARDABLE
_ VERSION (1) -
IDNAME
_ IVARS (1) -
INSTRUCTION
_ NAMES (1) - Integer (1)
- LIBDIR (1)
-
LIBYAML
_ VERSION (1) - Markup (1)
-
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 1 . 0 (1) -
NOPRINTING
_ IVARS (1) -
NO
_ INSPECTING _ IVARS (1) -
OBJECT
_ TYPE _ TEMPLATE (1) -
OPENSSL
_ LIBRARY _ VERSION (1) - OPTS (1)
- PRINTABLESTRING (1)
- PrintableString (3)
-
REFERER
_ LOG _ FORMAT (1) - RSTRING (1)
- RUBY (1)
-
RUBY
_ COPYRIGHT (1) -
RUBY
_ DESCRIPTION (1) -
RUBY
_ ENGINE (1) -
RUBY
_ PLATFORM (1) -
RUBY
_ RELEASE _ DATE (1) -
RUBY
_ VERSION (1) - RequestField (1)
- ResponseField (1)
- ResponseInfoField (1)
- Ruby (1)
- RubyGemsPackageVersion (1)
- RubyGemsVersion (1)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (1)
- Rubyの起動 (1)
- Ruby用語集 (1)
-
SC
_ 2 _ C _ BIND (1) -
SC
_ 2 _ PBS (1) -
SC
_ 2 _ PBS _ ACCOUNTING (1) -
SC
_ 2 _ PBS _ CHECKPOINT (1) -
SC
_ 2 _ PBS _ LOCATE (1) -
SC
_ 2 _ PBS _ MESSAGE (1) -
SC
_ 2 _ PBS _ TRACK (1) -
SC
_ BARRIERS (1) -
SC
_ BC _ BASE _ MAX (1) -
SC
_ BC _ DIM _ MAX (1) -
SC
_ BC _ SCALE _ MAX (1) -
SC
_ BC _ STRING _ MAX (1) -
SC
_ JOB _ CONTROL (1) -
SC
_ SHARED _ MEMORY _ OBJECTS (1) -
SC
_ THREAD _ ROBUST _ PRIO _ INHERIT (1) -
SC
_ THREAD _ ROBUST _ PRIO _ PROTECT (1) -
SC
_ TYPED _ MEMORY _ OBJECTS (1) -
SC
_ V6 _ ILP32 _ OFFBIG (1) -
SC
_ V6 _ LPBIG _ OFFBIG (1) -
SC
_ V7 _ ILP32 _ OFFBIG (1) -
SC
_ V7 _ LPBIG _ OFFBIG (1) - SecureRandom (1)
- Symbol (1)
- TOPDIR (1)
- VERSION (4)
-
VT
_ BSTR (1) -
ZLIB
_ VERSION (1) - ZStream (1)
- [] (24)
- []= (3)
-
_ _ drburi (1) -
_ _ id _ _ (1) -
_ _ inspect _ _ (1) -
_ _ to _ s _ _ (1) -
_ dump (2) - abbrev (2)
- abort (1)
-
absolute
_ path (3) - accept (1)
-
accept
_ charset (1) -
accept
_ encoding (1) -
accept
_ language (1) -
add
_ special (1) - adler32 (1)
- algorithm (1)
- all (1)
-
allocation
_ sourcefile (1) -
ap
_ name (1) -
ap
_ name= (1) -
arg
_ config (1) - arguments (1)
- arity (1)
-
ascii
_ only? (1) - attr (2)
-
attribute
_ of (1) - attributes (1)
- backtrace (2)
- base (1)
- base64 (1)
-
base
_ label (2) - basename (4)
-
basic
_ auth (1) -
basic
_ quote _ characters (1) -
basic
_ quote _ characters= (1) -
basic
_ word _ break _ characters (1) -
basic
_ word _ break _ characters= (1) -
beginning
_ of _ line? (1) - bigdecimal (1)
-
bigdecimal
/ util (1) -
bin
_ dir (2) - bind (1)
- bindir (1)
- binmode (1)
- binread (2)
- binwrite (2)
- bitmap (1)
- blockquote (2)
- body (5)
- bol? (1)
- bubblebabble (1)
- buf (1)
- build (1)
-
builtin
_ curves (1) - bytes (5)
- bytesize (1)
- byteslice (3)
- capability (1)
-
capable
_ auth _ types (1) - capitalize (1)
- casecmp (1)
- chars (1)
- checkbox (2)
-
checkbox
_ group (2) - class (1)
-
class
_ name (1) -
class
_ variable _ defined? (1) -
class
_ variable _ get (1) -
class
_ variable _ set (1) - clone (2)
- closed? (1)
-
closed
_ read? (1) -
closed
_ write? (1) - codepoints (1)
- coerce (1)
- command (1)
- comment (3)
- comment= (2)
-
compile
_ option (1) -
completer
_ word _ break _ characters (1) -
completer
_ word _ break _ characters= (1) -
completion
_ case _ fold (1) -
compute
_ key (1) -
const
_ defined? (1) -
const
_ get (1) -
const
_ set (1) -
content
_ id (3) -
content
_ length (1) -
content
_ length= (1) -
content
_ type (2) - convert (1)
-
count
_ objects _ size (1) - cover? (1)
- crc32 (1)
-
create
_ body (1) -
create
_ extension (1) -
create
_ id (1) - decode (1)
- decode64 (1)
-
decode
_ www _ form (1) -
decode
_ www _ form _ component (1) -
def
_ extend _ command (1) -
default
_ bindir (1) -
default
_ executable (1) -
define
_ method (4) -
define
_ singleton _ method (2) - deflate (3)
- delegate (2)
- delete (2)
-
delete
_ passwd (1) - delim (1)
- dequote (1)
- description (3)
-
destination
_ encoding _ name (1) -
dh
_ compute _ key (1) - digest (2)
- digest! (1)
- disasm (2)
- disassemble (2)
- domain (1)
- domain= (1)
- downcase (1)
- dummy? (1)
- dump (6)
-
dump
_ stream (1) - dup (1)
-
each
_ byte (4) -
each
_ char (1) -
each
_ codepoint (1) -
each
_ key (1) - emailbx (1)
- empty? (3)
-
enable
_ config (2) - encode (4)
- encode64 (1)
-
encode
_ www _ form (1) -
encode
_ www _ form _ component (1) - encoding (4)
-
end
_ with? (1) - entity (1)
- eof (1)
- eof? (1)
- eos? (1)
- eql? (2)
-
error
_ bytes (1) - escape (4)
- escape8bit (1)
-
escape
_ path (1) - executable (1)
- executables (1)
- execute (1)
-
fast
_ generate (1) -
fast
_ unparse (1) - fetch (1)
-
file
_ absolute _ name (1) -
file
_ field (1) -
file
_ name (1) - filename (3)
- filename= (2)
-
filter
_ backtrace (1) -
find
_ executable (1) - finish (4)
- flush (1)
-
flush
_ next _ in (1) -
flush
_ next _ out (1) -
for
_ fd (1) - form (2)
- format (3)
- formatter (1)
- freeze (1)
- generate (2)
-
get
_ byte (1) -
get
_ passwd (3) - getbyte (3)
- getc (2)
- getch (1)
- getpeername (1)
- gets (6)
- getservbyport (1)
- getservername (1)
- getsockname (1)
- glob (2)
- gsub (8)
- gsub! (5)
- guid (1)
- h (1)
- hash (1)
- hexdigest (2)
- hexdigest! (1)
- hexencode (1)
- hidden (1)
-
history
_ file (1) - host (1)
- html (2)
-
html
_ escape (1) - id2name (1)
- img (1)
- include? (1)
- index (4)
- inflate (3)
- input (1)
-
insert
_ output (1) - inspect (14)
- instance (1)
-
instance
_ delegate (1) -
instance
_ method (1) - intern (2)
- invert (1)
- irb (1)
-
irb
_ name (1) -
irb
_ name= (1) -
irb
_ original _ method _ name (1) -
irb
_ path (1) -
is
_ a? (1) - iseuc (2)
- isjis (2)
- issjis (2)
- isutf8 (2)
- itself (1)
- join (1)
-
json
_ creatable? (1) - key (4)
- keys (3)
-
kind
_ of? (1) - label (3)
- language (4)
-
last
_ match (2) - length (1)
- lex (2)
-
lib
_ dirs _ for (1) -
lib
_ files (1) - libpathflag (1)
-
library
_ name (1) - line (2)
-
link
_ command (1) - list (1)
- ln (1)
- load (1)
-
load
_ modules (1) -
long
_ name (1) - mail (1)
- mailbox (4)
-
make
_ passwd (3) - match (2)
- match? (1)
- matched? (1)
-
matched
_ size (1) - matches? (1)
- md5 (3)
-
media
_ subtype (4) -
media
_ type (4) - members (1)
-
merge
_ libs (1) - method (1)
-
method
_ defined? (1) -
mime
_ type (1) - mktmpdir (2)
-
mu
_ pp (1) -
multipart
_ form (2) - name (8)
- name= (1)
- namespace (2)
- namespaces (2)
- new (13)
- next (2)
- next! (1)
-
object
_ nl (1) -
object
_ nl= (1) - oct (1)
- oid (2)
-
ole
_ type (1) -
ole
_ type _ detail (1) - on (12)
- open (5)
- order (4)
- order! (4)
-
orig
_ name (1) - pack (1)
- pack テンプレート文字列 (1)
- param (4)
- params (3)
-
parent
_ file _ name (1) -
parent
_ name (1) - parse (1)
- parse! (1)
-
password
_ field (1) - path (6)
- path= (1)
-
path
_ info (1) - pathmap (1)
-
pbkdf2
_ hmac (1) -
pbkdf2
_ hmac _ sha1 (1) - peek (1)
- peep (1)
- permute (2)
- permute! (2)
- pop (1)
- port (1)
- pp (1)
- prefix (1)
- prefixes (2)
-
pretty
_ generate (1) -
pretty
_ inspect (1) -
pretty
_ print _ inspect (1) -
pretty
_ print _ instance _ variables (1) -
pretty
_ unparse (1) - print (1)
- printf (1)
- private (1)
-
private
_ method _ defined? (1) - problem (1)
-
prompt
_ c (1) -
prompt
_ i (1) -
prompt
_ n (1) -
prompt
_ s (1) -
protected
_ method _ defined? (1) -
proxy
_ basic _ auth (1) -
pseudo
_ bytes (1) -
psych
_ to _ yaml (1) -
psych
_ y (1) - pubid (1)
- public (4)
-
public
_ class _ method (1) -
public
_ constant (1) -
public
_ decrypt (1) -
public
_ encrypt (1) -
public
_ instance _ method (1) -
public
_ method (1) -
public
_ method _ defined? (1) - putback (2)
- putc (2)
- puts (1)
- qop (1)
- query (1)
-
query
_ string (1) -
query
_ string= (1) - quotaroots (1)
- quote (1)
-
radio
_ group (1) -
random
_ bytes (2) -
random
_ string (1) -
raw
_ header (1) -
rb
_ String (1) -
rb
_ assoc _ new (1) -
rb
_ check _ convert _ type (1) -
rb
_ compile _ string (1) -
rb
_ eval _ string (1) -
rb
_ eval _ string _ protect (1) -
rb
_ eval _ string _ wrap (1) -
rb
_ f _ string (1) -
rb
_ jump _ tag (1) -
rb
_ to _ id (1) - rdoc (1)
-
rdoc
/ markup / to _ bs (1) - read (4)
-
read
_ body (2) -
read
_ nonblock (4) -
readagain
_ bytes (1) - readbyte (1)
- readchar (1)
- readline (3)
- readlines (2)
- readpartial (5)
- realdirpath (1)
- realm (2)
- realpath (1)
- reason (1)
-
reason
_ phrase (2) - recv (1)
-
recv
_ nonblock (1) -
recvfrom
_ nonblock (2) - recvmsg (1)
-
recvmsg
_ nonblock (1) - redirector (1)
- reject (1)
-
remove
_ class _ variable (1) -
remove
_ const (1) - replacement= (1)
-
request
_ line (1) -
request
_ method (2) - reset (1)
- responses (1)
- rest? (1)
- restore (1)
- result (1)
-
return
_ format (1) - rights (1)
- rmailbx (1)
- ruby (2)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 2 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 9 feature (1) -
ruby
_ engine (1) -
rubygems
/ commands / cert _ command (1) -
rubygems
/ commands / list _ command (1) -
rubygems
/ commands / search _ command (1) -
rubygems
/ security (1) -
rubygems
_ version (1) -
safe
_ load (1) - scan (2)
-
scan
_ full (1) - scanf (1)
-
script
_ name (1) -
scrolling
_ list (1) - scrub (3)
- scrub! (3)
-
search
_ full (1) - select (4)
-
server
_ name (1) -
set
_ backtrace (2) -
set
_ dictionary (2) -
set
_ encoding (6) - setbyte (1)
- shebang (1)
- shellsplit (1)
- shellwords (1)
- shift (4)
-
short
_ name (1) -
single
_ delegate (1) -
singleton
_ class (1) -
singleton
_ method (1) - size (1)
- slice (11)
- slice! (1)
- sn (1)
-
source
_ location (1) -
space
_ before (1) -
space
_ before= (1) - split (2)
- sprintf (1)
- sprintf フォーマット (1)
- src (1)
-
ssl
_ version (1) - start (1)
-
start
_ with? (1) - status (2)
-
status
_ line (1) - store (3)
- strftime (2)
-
strict
_ decode64 (1) -
strict
_ encode64 (1) - string= (1)
- sub (8)
- sub! (4)
-
sub
_ type (1) - subject (1)
- submit (2)
- subtype (4)
- succ (2)
- succ! (1)
- success (1)
- sum (1)
- swapcase (1)
- sync (1)
- sync= (1)
- sysread (3)
- syswrite (1)
- tag (1)
- tainted? (1)
-
tar
_ bz2 _ file (1) - text (1)
-
text
_ field (1) - textarea (1)
-
thread
_ variable? (1) -
time
_ format (1) -
time
_ format= (1) -
to
_ a (4) -
to
_ csv (1) -
to
_ d (1) -
to
_ der (1) -
to
_ digits (1) -
to
_ i (1) -
to
_ json (4) -
to
_ json _ raw _ object (1) -
to
_ ruby (1) -
to
_ s (25) -
to
_ str (1) -
to
_ string (1) -
to
_ sym (2) -
to
_ yaml (1) - tokenize (1)
- trace (1)
-
try
_ convert (2) - typelibs (1)
- u (1)
- uname (1)
-
undef
_ method (1) - unescape (2)
- ungetbyte (1)
- ungetc (1)
- union (1)
- unpack (1)
- unparse (1)
-
unparsed
_ uri (1) -
untrace
_ var (1) - unused (1)
-
unused
_ bits (1) -
unused
_ bits= (1) - upcase (1)
- upto (1)
- uri (3)
-
url
_ encode (1) -
urlsafe
_ base64 (1) -
urlsafe
_ decode64 (1) -
urlsafe
_ encode64 (1) - usage (1)
- user (2)
- uuid (1)
-
valid
_ encoding? (1) - value (3)
- value= (1)
- values (3)
-
values
_ at (4) -
variable
_ kind (1) - ver (1)
- verify (2)
- version (2)
- waitfor (1)
- webcvs (1)
-
webrick
/ cgi (1) -
windows
_ stub _ script (1) -
with
_ config (2) -
with
_ object (2) - write (1)
-
write
_ nonblock (2) - xpath (2)
- y (1)
- yaml (1)
-
zlib
_ version (1) - クラス/メソッドの定義 (1)
- リテラル (1)
- 多言語化 (1)
- 正規表現 (1)
検索結果
先頭5件
-
DRb
:: DRbUnknown # buf -> String (18604.0) -
保持しているマーシャリングされたバイト列を返します。
保持しているマーシャリングされたバイト列を返します。 -
Etc
:: SC _ BC _ STRING _ MAX -> Integer (18604.0) -
Etc.#sysconf の引数に指定します。
Etc.#sysconf の引数に指定します。
詳細は sysconf(3) を参照してください。 -
Etc
:: SC _ V6 _ LPBIG _ OFFBIG -> Integer (18604.0) -
Etc.#sysconf の引数に指定します。
Etc.#sysconf の引数に指定します。
詳細は sysconf(3) を参照してください。 -
Etc
:: SC _ V7 _ LPBIG _ OFFBIG -> Integer (18604.0) -
Etc.#sysconf の引数に指定します。
Etc.#sysconf の引数に指定します。
詳細は sysconf(3) を参照してください。 -
Fiddle
:: BUILD _ RUBY _ PLATFORM -> String (18604.0) -
ビルドに用いた ruby のプラットフォームを表す文字列。
ビルドに用いた ruby のプラットフォームを表す文字列。
通常、Object::RUBY_PLATFORM と同じ。 -
File
. basename(filename , suffix = "") -> String (18604.0) -
filename の一番後ろのスラッシュに続く要素を返します。もし、 引数 suffix が与えられて、かつそれが filename の末尾に 一致するなら、それを取り除いたものを返します。
filename の一番後ろのスラッシュに続く要素を返します。もし、
引数 suffix が与えられて、かつそれが filename の末尾に
一致するなら、それを取り除いたものを返します。
//emlist[例][ruby]{
p File.basename("ruby/ruby.c") #=> "ruby.c"
p File.basename("ruby/ruby.c", ".c") #=> "ruby"
p File.basename("ruby/ruby.c", ".*") #=> "ruby"
p File.basename("ruby/ruby.e... -
Gem
. # ruby -> String (18604.0) -
実行中のRubyインタプリタのパスを返します。
実行中のRubyインタプリタのパスを返します。 -
Gem
. default _ bindir -> String (18604.0) -
実行ファイルのデフォルトのパスを返します。
実行ファイルのデフォルトのパスを返します。 -
Gem
. ruby _ engine -> String (18604.0) -
Ruby処理系実装の種類を表す文字列を返します。
Ruby処理系実装の種類を表す文字列を返します。 -
Gem
:: GemPathSearcher # lib _ dirs _ for(spec) -> String (18604.0) -
ライブラリの格納されているディレクトリを glob に使える形式で返します。
ライブラリの格納されているディレクトリを glob に使える形式で返します。
例:
'/usr/local/lib/ruby/gems/1.8/gems/foobar-1.0/{lib,ext}' -
Gem
:: Installer # bin _ dir -> String (18604.0) -
実行ファイルをインストールするディレクトリを返します。
実行ファイルをインストールするディレクトリを返します。 -
Gem
:: Installer # shebang(bin _ file _ name) -> String (18604.0) -
実行ファイル内で使用する shebang line (#! line) を表す文字列を返します。
実行ファイル内で使用する shebang line (#! line) を表す文字列を返します。
@param bin_file_name 実行ファイルの名前を指定します。 -
Gem
:: Installer # windows _ stub _ script -> String (18604.0) -
コマンドを起動するために使用する Windows 用のバッチファイルの内容を 文字列として返します。
コマンドを起動するために使用する Windows 用のバッチファイルの内容を
文字列として返します。 -
Gem
:: Platform :: RUBY -> String (18604.0) -
Pure Ruby の Gem はバイナリファイルをビルドするために Gem::Specification#extensions を使用する可能性があります。
Pure Ruby の Gem はバイナリファイルをビルドするために Gem::Specification#extensions
を使用する可能性があります。 -
Gem
:: Specification # bindir -> String (18604.0) -
実行ファイルを格納するディレクトリを返します。
実行ファイルを格納するディレクトリを返します。 -
Gem
:: Specification # default _ executable -> String | nil (18604.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。
Gem パッケージ内で gem コマンド経由で実行するファイルを返します。 -
Gem
:: Specification # executable -> String (18604.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Gem
:: Specification # executables -> [String] (18604.0) -
実行可能ファイル名のリストを返します。
実行可能ファイル名のリストを返します。 -
Gem
:: Specification # lib _ files -> [String] (18604.0) -
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths 以下にあるファイルのリストを返します。
この Gem パッケージに含まれているファイルのうち Gem::Specification#require_paths
以下にあるファイルのリストを返します。 -
Gem
:: Specification # rubygems _ version -> String (18604.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Specification # to _ ruby -> String (18604.0) -
自身を再現するための Ruby スクリプトを文字列で返します。
自身を再現するための Ruby スクリプトを文字列で返します。
省略されている値はデフォルト値が使用されます。 -
Gem
:: Uninstaller # bin _ dir -> String (18604.0) -
Gem でインストールされたコマンドのあるディレクトリを返します。
Gem でインストールされたコマンドのあるディレクトリを返します。 -
IO
# read _ nonblock(maxlen , outbuf = nil , exception: true) -> String | Symbol | nil (18604.0) -
IO をノンブロッキングモードに設定し、 その後で read(2) システムコールにより 長さ maxlen を上限として読み込み、文字列として返します。 EAGAIN, EINTR などは Errno::EXXX 例外として呼出元に報告されます。
IO をノンブロッキングモードに設定し、
その後で read(2) システムコールにより
長さ maxlen を上限として読み込み、文字列として返します。
EAGAIN, EINTR などは Errno::EXXX 例外として呼出元に報告されます。
発生した例外 がErrno::EAGAIN、 Errno::EWOULDBLOCK である場合は、
その例外オブジェクトに IO::WaitReadable が Object#extend
されます。
なお、バッファが空でない場合は、read_nonblock はバッファから読み込みます。この場合、read(2) システムコールは呼ばれません... -
IO
. binread(path , length = nil , offset = 0) -> String | nil (18604.0) -
path で指定したファイルを open し、offset の所まで seek し、 length バイト読み込みます。
path で指定したファイルを open し、offset の所まで seek し、
length バイト読み込みます。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に続くコマンドの出力を読み取ります。
length を省略するとファイルの末尾まで読み込みます。
ファイルを開くときの mode は "rb:ASCII-8BIT" です。
//emlist[例][ruby]{
IO.write("testfile", "This is line one\nThis is line two\nThis is line three\nAnd so on...... -
IRB
:: Context # irb _ name -> String (18604.0) -
起動しているコマンド名を文字列で返します。
起動しているコマンド名を文字列で返します。
@see IRB::Context#irb_name= -
IRB
:: Context # irb _ path -> String (18604.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (18604.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method -
JSON
:: State # object _ nl -> String (18604.0) -
JSON 形式の文字列中に現れる JavaScript のオブジェクトの行末に挿入する文字列を返します。
JSON 形式の文字列中に現れる JavaScript のオブジェクトの行末に挿入する文字列を返します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(object_nl: "")
json_state.object_nl # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age":19}]
json_state = JSON:... -
JSON
:: State # space _ before -> String (18604.0) -
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の 前に挿入する文字列を返します。
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の
前に挿入する文字列を返します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(space_before: "")
json_state.space_before # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age":19}]
js... -
Kernel
# find _ executable(bin , path = nil) -> String | nil (18604.0) -
パス path から実行ファイル bin を探します。
パス path から実行ファイル bin を探します。
実行ファイルが見つかった場合は、そのフルパスを返します。
実行ファイルが見つからなかった場合は、nilを返します。
このメソッドは Makefile を変更しません。
@param bin 実行ファイルの名前を指定します。
@param path パスを指定します。デフォルトは環境変数 PATH です。
環境変数 PATH が定義されていない場合は /usr/local/bin,
/usr/ucb, /usr/bin, /bin を使います。 -
Kernel
$ $ libdir -> String (18604.0) -
Ruby のライブラリを置くディレクトリです。 通常は "/usr/local/lib/ruby/バージョン" です。
Ruby のライブラリを置くディレクトリです。
通常は "/usr/local/lib/ruby/バージョン" です。 -
Kernel
$ $ libs -> String (18604.0) -
拡張ライブラリをリンクするときに 一緒にリンクされるライブラリを指定する文字列です。
拡張ライブラリをリンクするときに
一緒にリンクされるライブラリを指定する文字列です。
この変数の値は、例えば
"-lfoo -lbar"
のような形式の文字列です。
Kernel#have_library または Kernel#find_library
を呼び出すと、その検査結果が
間に空白をはさみつつ $libs に連結されます。 -
Kernel
$ $ sitelibdir -> String (18604.0) -
サイト固有のライブラリを置くディレクトリです。 通常は "/usr/local/lib/ruby/site_ruby/バージョン" です。
サイト固有のライブラリを置くディレクトリです。
通常は "/usr/local/lib/ruby/site_ruby/バージョン" です。 -
Net
:: FTP # abort -> String (18604.0) -
データの転送を中止します。
データの転送を中止します。
@return サーバからの応答を文字列で返します。
@raise Net::FTPReplyError 応答コードが正しくない場合に発生します。 -
Net
:: HTTPGenericRequest # body -> String (18604.0) -
サーバに送るリクエストのエンティティボディを返します。
サーバに送るリクエストのエンティティボディを返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Post.new(uri.request_uri)
req.body = "Test Post Data"
req.body # => "Test Post Data"
//}
@see Net::HTTPGenericRequest#body= -
Net
:: HTTPHeader # basic _ auth(account , password) -> [String] (18604.0) -
Authorization: ヘッダを BASIC 認証用にセットします。
Authorization: ヘッダを BASIC 認証用にセットします。
@param account アカウント名を文字列で与えます。
@param password パスワードを文字列で与えます。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.basic_auth("user", "pass") # => ["Basic dXNlcjpwYXNz"]
//}... -
Net
:: HTTPHeader # proxy _ basic _ auth(account , password) -> [String] (18604.0) -
Proxy 認証のために Proxy-Authorization: ヘッダをセットします。
Proxy 認証のために Proxy-Authorization: ヘッダをセットします。
@param account アカウント名を文字列で与えます。
@param password パスワードを文字列で与えます。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.proxy_basic_auth("account", "password") # => ["Ba... -
Net
:: HTTPHeader # sub _ type -> String|nil (18604.0) -
"text/html" における "html" のようなサブタイプを表す 文字列を返します。
"text/html" における "html" のようなサブタイプを表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_response(uri)
res.sub_type # => "html"
//} -
Net
:: HTTPResponse # read _ body(dest=nil) -> String|nil (18604.0) -
ブロックを与えなかった場合にはエンティティボディを 文字列で返します。 ブロックを与えた場合には エンティティボディを少しずつ取得して順次ブロックに 文字列で与えます。
ブロックを与えなかった場合にはエンティティボディを
文字列で返します。
ブロックを与えた場合には
エンティティボディを少しずつ取得して順次ブロックに
文字列で与えます。
レスポンスがボディを持たない場合には nil を返します。
//emlist[例1 ブロックを与えずに一度に結果取得][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.read_body[0..10] # => "<... -
Net
:: IMAP # capability -> [String] (18604.0) -
CAPABILITY コマンドを送ってサーバがサポートしている 機能(capabilities)のリストを文字列の配列として返します。
CAPABILITY コマンドを送ってサーバがサポートしている
機能(capabilities)のリストを文字列の配列として返します。
capability は IMAP に関連する RFC などで定義されています。
imap.capability
# => ["IMAP4REV1", "UNSELECT", "IDLE", "NAMESPACE", "QUOTA", ... ] -
Net
:: IMAP :: Address # mailbox -> String | nil (18604.0) -
メールアドレスのメールボックス名を返します。
メールアドレスのメールボックス名を返します。
これが nil ならばそれは 822 group の終わりを意味します。
これが nil でなく、Net::IMAP::Address#mailbox が nil ならば、
822 のグループ名を表します。
どれでもなければ、822 の local-part を表します。
通常は、メールアドレスの「@」の手前を返します。 -
Net
:: IMAP :: Envelope # subject -> String | nil (18604.0) -
メッセージのサブジェクトを返します。
メッセージのサブジェクトを返します。
エンベロープに存在しないときは nil を返します。 -
Net
:: IMAP :: StatusData # mailbox -> String (18604.0) -
メールボックス名を返します。
メールボックス名を返します。 -
Net
:: SMTP # capable _ auth _ types -> [String] (18604.0) -
接続したサーバで利用可能な認証を配列で返します。
接続したサーバで利用可能な認証を配列で返します。
返り値の配列の要素は、 'PLAIN', 'LOGIN', 'CRAM-MD5' です。
このメソッドは Net::SMTP#start などでセッションを開始
した以降にしか正しい値を返しません。 -
Object
# pretty _ print _ instance _ variables -> [String | Symbol] (18604.0) -
プリティプリント時に表示すべき自身のインスタンス変数名の配列をソートして返します。 返されたインスタンス変数はプリティプリント時に表示されます。
プリティプリント時に表示すべき自身のインスタンス変数名の配列をソートして返します。
返されたインスタンス変数はプリティプリント時に表示されます。
pp に表示したくないインスタンス変数がある場合にこのメソッドを再定義します。 -
Object
:: RUBY _ COPYRIGHT -> String (18604.0) -
Ruby のコピーライトを表す文字列。
Ruby のコピーライトを表す文字列。 -
Object
:: RUBY _ DESCRIPTION -> String (18604.0) -
Ruby の詳細を表す文字列。
Ruby の詳細を表す文字列。
ruby -v で表示される内容が格納されています。 -
Object
:: RUBY _ ENGINE -> String (18604.0) -
Ruby処理系実装の種類を表す文字列。
Ruby処理系実装の種類を表す文字列。
例:
$ ruby-1.9.1 -ve 'p RUBY_ENGINE'
ruby 1.9.1p0 (2009-03-04 revision 22762) [x86_64-linux]
"ruby"
$ jruby -ve 'p RUBY_ENGINE'
jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [i386-java]
"jruby" -
Object
:: RUBY _ PLATFORM -> String (18604.0) -
プラットフォームを表す文字列。
プラットフォームを表す文字列。 -
Object
:: RUBY _ RELEASE _ DATE -> String (18604.0) -
Ruby のリリース日を表す文字列。
Ruby のリリース日を表す文字列。 -
Object
:: RUBY _ VERSION -> String (18604.0) -
Ruby のバージョンを表す文字列。
Ruby のバージョンを表す文字列。
Ruby のバージョンは、major.minor.teeny という形式です。 -
OpenSSL
:: Buffering # read _ nonblock(maxlen , buf) -> String (18604.0) -
通信路から maxlen バイトを上限としてデータを読み込み、 文字列として返します。
通信路から maxlen バイトを上限としてデータを読み込み、
文字列として返します。
即座に得られるデータが 1byte でも存在すればブロックしません。
内部バッファが空でない場合はバッファのデータを返します。
即座に得られるデータが存在しないときには例外が発生します。
例外が発生した場合、内部のソケットが利用可能になってから
再びこのメソッドを呼んでください。
基本的には IO#read_nonblock と同様です。しかし以下のような
違いもあります。
このメソッドはソケットが書き込み不可能(IO::WaitWritable)という理由で
例外を発生させる可能性があります。暗号... -
OpenSSL
:: OPENSSL _ LIBRARY _ VERSION -> String (18604.0) -
実行時に使われている OpenSSL 本体のバージョンを表した文字列です。
実行時に使われている OpenSSL 本体のバージョンを表した文字列です。 -
OpenSSL
:: PKCS5 . # pbkdf2 _ hmac(pass , salt , iter , keylen , digest) -> String (18604.0) -
pass と salt から共通鍵暗号の鍵および IV(Initialization Vector) を生成します。
pass と salt から共通鍵暗号の鍵および IV(Initialization Vector)
を生成します。
OpenSSL::PKCS5.#pbkdf2_hmac_sha1 と異なり任意の
ハッシュ関数を利用できます。
返り値の文字列から鍵と IV に必要なバイト数を切り出して利用します。
この関数は OpenSSL 1.0.0 以降でなければ利用できません。
@param pass パスワード文字列
@param salt salt 文字列
@param iter 鍵および IV 生成時のハッシュ関数の繰り返し回数
@param keylen 結果の文字列のバイト数
@pa... -
OpenSSL
:: PKCS5 . # pbkdf2 _ hmac _ sha1(pass , salt , iter , keylen) -> String (18604.0) -
pass と salt から共通鍵暗号の鍵および IV(Initialization Vector) を生成します。
pass と salt から共通鍵暗号の鍵および IV(Initialization Vector)
を生成します。
iter は鍵生成時のハッシュ関数の繰り返し回数で、大きな値を指定するほど
安全であることが期待されます。RFCでは少なくとも1000を
指定することを推奨しています。
返り値の文字列から鍵と IV に必要なバイト数を切り出して利用します。
ハッシュ関数には SHA1 を用います。
これは 2898(PKCS#5 v2.0)互換です。
@param pass パスワード文字列
@param salt salt 文字列
@param iter 鍵および IV 生成時のハ... -
OpenSSL
:: PKey :: RSA # public _ decrypt(str , mode = OpenSSL :: PKey :: RSA :: PKCS1 _ PADDING) -> String (18604.0) -
文字列 str を公開鍵で復号化します。
文字列 str を公開鍵で復号化します。
復号化されたデータを文字列で返します。
mode でパディングモードを指定します。以下のいずれかが
利用可能です。暗号化に利用したパディングモードと同じものを
指定する必要があります。
* OpenSSL::PKey::RSA::PKCS1_PADDING
* OpenSSL::PKey::RSA::NO_PADDING
@param str 復号化する文字列
@param mode パディングモード
@raise OpenSSL::PKey::RSAError 復号化に失敗した場合に発生します。 -
OpenSSL
:: PKey :: RSA # public _ encrypt(str , mode = OpenSSL :: PKey :: RSA :: PKCS1 _ PADDING) -> String (18604.0) -
文字列 str を公開鍵で暗号化します。
文字列 str を公開鍵で暗号化します。
暗号化されたデータを文字列で返します。
mode でパディングモードを指定します。以下の4つのうちいずれかが
利用可能です。
* OpenSSL::PKey::RSA::PKCS1_PADDING
* OpenSSL::PKey::RSA::SSLV23_PADDING
* OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING
* OpenSSL::PKey::RSA::NO_PADDING
@param str 暗号化する文字列
@param mode パディングモード
@raise OpenSSL::PKey:... -
OpenSSL
:: Random . # pseudo _ bytes(len) -> String (18604.0) -
暗号論的な予測不可能性を持たない(が高速な) 乱数生成器によって、 len バイトの ランダムなバイト列を返します。
暗号論的な予測不可能性を持たない(が高速な)
乱数生成器によって、 len バイトの
ランダムなバイト列を返します。
@param len 必要なランダムバイト列の長さ -
OpenSSL
:: Random . # random _ bytes(len) -> String (18604.0) -
暗号論的な予測不可能性を持つ乱数生成器によって、 len バイトの ランダムなバイト列を返します。
暗号論的な予測不可能性を持つ乱数生成器によって、 len バイトの
ランダムなバイト列を返します。
@param len 必要なランダムバイト列の長さ -
OpenSSL
:: X509 :: Name :: OBJECT _ TYPE _ TEMPLATE -> { String => Integer } (18604.0) -
属性型に対応する ASN.1の型を格納したハッシュです。
属性型に対応する ASN.1の型を格納したハッシュです。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new
などでデフォルト値として使われます。
キーは属性型文字列で、ASN.1の型を表わす整数が対応します。
以下の文字列がキーです。
'C', 'countryName', 'serialNumber', 'dnQualifier',
'DC', 'domainComponent', 'emailAddress' -
OptionParser
# banner -> String (18604.0) -
サマリの最初に表示される文字列を返します。
サマリの最初に表示される文字列を返します。
@return サマリの最初に表示される文字列を返します。
//emlist[例][ruby]{
require "optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
p opts.banner # =... -
OptionParser
:: ParseError # set _ backtrace(array) -> [String] (18604.0) -
自身に array で指定したバックトレースを設定します。
自身に array で指定したバックトレースを設定します。
@param array バックトレースを文字列の配列で指定します。
@return array を返します。 -
OptionParser
:: ParseError . filter _ backtrace(array) -> [String] (18604.0) -
array で指定されたバックトレースから optparse ライブラリに関する行を除 外します。
array で指定されたバックトレースから optparse ライブラリに関する行を除
外します。
デバッグモード($DEBUGが真)の場合は何もしません。
@param array バックトレースを文字列の配列で指定します。
@return array を返します。 -
Pathname
# binread(*args) -> String | nil (18604.0) -
IO.binread(self.to_s, *args)と同じです。
IO.binread(self.to_s, *args)と同じです。
//emlist[例][ruby]{
require "pathname"
pathname = Pathname("testfile")
pathname.binread # => "This is line one\nThis is line two\nThis is line three\nAnd so on...\n"
pathname.binread(20) # => "This is line one\nThi"
pathname.binread(20, 10) # => ... -
Pathname
# binwrite(string , offset=nil) -> Integer (18604.0) -
IO.binwrite(self.to_s, *args)と同じです。
IO.binwrite(self.to_s, *args)と同じです。
@see IO.binwrite -
Psych
:: LIBYAML _ VERSION -> String (18604.0) -
libyaml のバージョン。
libyaml のバージョン。 -
Psych
:: SyntaxError # problem -> String (18604.0) -
生じたエラーの中身を文字列で返します。
生じたエラーの中身を文字列で返します。 -
RDoc
:: Options # webcvs -> String | nil (18604.0) -
コマンドライン引数の --webcvs オプションで指定した URL を文字列で返しま す。
コマンドライン引数の --webcvs オプションで指定した URL を文字列で返しま
す。
指定しなかった場合は nil を返します。 -
RDoc
:: Text # expand _ tabs(text) -> String (18604.0) -
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな るように置き換えます。
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな
るように置き換えます。
@param text 文字列を指定します。 -
RDoc
:: TopLevel # file _ absolute _ name -> String (18604.0) -
自身が管理するファイルに関する絶対パスを文字列で返します。
自身が管理するファイルに関する絶対パスを文字列で返します。 -
REXML
:: DocType # public -> String | nil (18604.0) -
DTD の公開識別子を返します。
DTD の公開識別子を返します。
DTD が公開識別子による外部サブセットを含んでいない場合は nil を返します。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype.system # => "http:/... -
REXML
:: Entity # pubid -> String | nil (18604.0) -
公開識別子(public identifier)を用いた外部実体宣言の場合は、その公開識別子を 返します。
公開識別子(public identifier)を用いた外部実体宣言の場合は、その公開識別子を
返します。
それ以外の場合は nil を返します。 -
REXML
:: NotationDecl # public -> String | nil (18604.0) -
公開識別子を返します。
公開識別子を返します。
宣言が公開識別子を含まない場合は nil を返します。 -
Rake
:: PackageTask # tar _ bz2 _ file -> String (18604.0) -
tar.bz2 用のファイル名を返します。
tar.bz2 用のファイル名を返します。 -
Random
# bytes(size) -> String (18604.0) -
ランダムなバイナリー文字列を返します。結果の文字列のサイズを指定できます。
ランダムなバイナリー文字列を返します。結果の文字列のサイズを指定できます。
@param size 結果の文字列のサイズをバイト数で指定します。
//emlist[例][ruby]{
r2 = Random.new(1)
p r2.bytes(10) # => "%\xF4\xC1j\xEB\x80G\xFF\x8C/"
//} -
RbConfig
. ruby -> String (18604.0) -
ruby コマンドのフルパスを返します。
ruby コマンドのフルパスを返します。 -
Readline
. basic _ quote _ characters -> String (18604.0) -
スペースなどの単語の区切りをクオートするための 複数の文字で構成される文字列を取得します。
スペースなどの単語の区切りをクオートするための
複数の文字で構成される文字列を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.basic_quote_characters= -
Readline
. basic _ word _ break _ characters -> String (18604.0) -
ユーザの入力の補完を行う際、 単語の区切りを示す複数の文字で構成される文字列を取得します。
ユーザの入力の補完を行う際、
単語の区切りを示す複数の文字で構成される文字列を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.basic_word_break_characters= -
Readline
. completer _ word _ break _ characters -> String (18604.0) -
ユーザの入力の補完を行う際、 単語の区切りを示す複数の文字で構成された文字列を取得します。 Readline.basic_word_break_characters との違いは、 GNU Readline の rl_complete_internal 関数で使用されることです。
ユーザの入力の補完を行う際、
単語の区切りを示す複数の文字で構成された文字列を取得します。
Readline.basic_word_break_characters との違いは、
GNU Readline の rl_complete_internal 関数で使用されることです。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.completer_word_break_characters= -
Resolv
:: DNS :: Resource :: IN :: WKS # bitmap -> String (18604.0) -
そのホストで利用可能なサービスのビットマップを返します。
そのホストで利用可能なサービスのビットマップを返します。
例えば Resolv::DNS::Resource::IN::WKS#protocol が 6 (TCP)
の場合、26番目のビットはポート25のサービス(SMTP)に対応しています。
このビットが立っているならば SMTP は利用可能であり、
そうでなければ利用できません。 -
Resolv
:: DNS :: Resource :: MINFO # emailbx -> String (18604.0) -
メーリングリストもしくはメールボックスの エラーを受け取るメールボックスのドメイン名を 返します。
メーリングリストもしくはメールボックスの
エラーを受け取るメールボックスのドメイン名を
返します。 -
Resolv
:: DNS :: Resource :: MINFO # rmailbx -> String (18604.0) -
メーリングリストもしくはメールボックスの 責任者のドメイン名を返します。
メーリングリストもしくはメールボックスの
責任者のドメイン名を返します。 -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (18604.0) -
self が表す命令シーケンスの絶対パスを返します。
self が表す命令シーケンスの絶対パスを返します。
self を文字列から作成していた場合は nil を返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.absolute_path
# => nil
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.... -
RubyVM
:: InstructionSequence # base _ label -> String (18604.0) -
self が表す命令シーケンスの基本ラベルを返します。
self が表す命令シーケンスの基本ラベルを返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.base_label
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "h... -
RubyVM
:: InstructionSequence # label -> String (18604.0) -
self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、 モジュール名などで構成されます。
self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、
モジュール名などで構成されます。
トップレベルでは "<main>" を返します。self を文字列から作成していた場合
は "<compiled>" を返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.label
# => "<compiled>"
例2: R... -
SecureRandom
. base64(n = nil) -> String (18604.0) -
ランダムな base64 文字列を生成して返します。
ランダムな base64 文字列を生成して返します。
@param n 文字列の生成に使われるランダムネスのサイズを整数で指定します。
生成される文字列のサイズではないことに注意して下さい。生成される文字列のサイズは
n の約 4/3 倍になります。nil を指定した場合 n として 16 が使われます。
@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。
require 'securerandom'
p SecureRandom.base64(3) #=> "4pYO" (文字列のサイ... -
SecureRandom
. random _ bytes(n = nil) -> String (18604.0) -
ランダムなバイト列を生成して返します。
ランダムなバイト列を生成して返します。
@param n 生成される文字列のサイズを整数で指定します。
nil を指定した場合 n として 16 が使われます。
@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。
require 'securerandom'
p SecureRandom.random_bytes(3) #=> "\321\020\203" -
Shell
# basename(filename , suffix = "") -> String (18604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename -
Shell
:: CommandProcessor # basename(filename , suffix = "") -> String (18604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename -
Shell
:: Filter # basename(filename , suffix = "") -> String (18604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename -
Socket
# recvfrom _ nonblock(maxlen , flags=0) -> [String , Addrinfo] (18604.0) -
ソケットをノンブロッキングモードに設定した後、 recvfrom(2) を呼び出します。
ソケットをノンブロッキングモードに設定した後、
recvfrom(2) を呼び出します。
引数、返り値は Socket#recvfrom と同じです。
recvfrom(2) がエラーになった場合、
EAGAIN, EINTR を含め例外 Errno::EXXX が発生します。
Errno::EWOULDBLOCK、Errno::EAGAIN のような待ってからリトライすることが
可能であることを意味する例外には、IO::WaitReadable が extend
されています。
@param maxlen ソケットから受けとるデータの最大値
@param flags フラグ
@rai... -
Socket
. getservbyport(port , protocol _ name="tcp") -> String (18604.0) -
ポート番号に対応するサービスの正式名を返します。
ポート番号に対応するサービスの正式名を返します。
@param port ポート番号
@param protocol_name "tcp" や "udp" などのプロトコル名
@return サービスの正式名
require 'socket'
Socket.getservbyport(80) #=> "www"
Socket.getservbyport(514, "tcp") #=> "shell"
Socket.getservbyport(514, "udp") #=> "syslog" -
Thread
# backtrace -> [String] | nil (18604.0) -
スレッドの現在のバックトレースを返します。
スレッドの現在のバックトレースを返します。
スレッドがすでに終了している場合は nil を返します。
//emlist[例][ruby]{
class C1
def m1
sleep 5
end
def m2
m1
end
end
th = Thread.new {C1.new.m2; Thread.stop}
th.backtrace
# => [
# [0] "(irb):3:in `sleep'",
# [1] "(irb):3:in `m1'",
# [2] "(irb):6:in `m2'",
# [3] ... -
Thread
:: Backtrace :: Location # absolute _ path -> String (18604.0) -
self が表すフレームの絶対パスを返します。
self が表すフレームの絶対パスを返します。
//emlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.absolute_path
end
# => /path/to/foo.rb
# /path/to/foo.rb
# /path/to/foo.rb
//}
@see... -
Thread
:: Backtrace :: Location # label -> String (18604.0) -
self が表すフレームのラベルを返します。通常、メソッド名、クラス名、モ ジュール名などで構成されます。
self が表すフレームのラベルを返します。通常、メソッド名、クラス名、モ
ジュール名などで構成されます。
例: Thread::Backtrace::Location の例1を用いた例
//emlist[][ruby]{
loc = c(0..1).first
loc.label # => "a"
//}
@see Thread::Backtrace::Location#base_label -
UDPSocket
# recvfrom _ nonblock(maxlen , flags=0) -> [String , Array] (18604.0) -
ソケットをノンブロッキングモードに設定した後、 recvfrom(2) でソケットからデータを受け取ります。
ソケットをノンブロッキングモードに設定した後、
recvfrom(2) でソケットからデータを受け取ります。
maxlen で受け取るデータの最大バイト数を指定します。
flags はフラグで、Socket::MSG_* の bitwise OR を渡します。
詳しくは recvfrom(2) を参照してください。
返り値はデータの文字列と送り元のアドレス情報の
2要素の配列となります。
recvfrom(2) がエラーになった場合、
Errno::EAGAIN, Errno::EINTR を含め例外 Errno::EXXX が発生します。
Errno::EWOULDBLOCK、Err... -
URI
:: LDAP # attributes -> String (18604.0) -
自身の Attribute を文字列で返します。
自身の Attribute を文字列で返します。 -
WEBrick
:: Config :: LIBDIR -> String (18604.0) -
このファイルのあるディレクトリのパスを返します。
このファイルのあるディレクトリのパスを返します。 -
WEBrick
:: HTTPAuth :: Htgroup # members(group) -> [String] (18604.0) -
WEBrick::HTTPAuth::Htgroup#reload を呼んでから与えられたグループに所属するメンバのリストを返します。
WEBrick::HTTPAuth::Htgroup#reload を呼んでから与えられたグループに所属するメンバのリストを返します。
@param group グループ名を指定します。 -
WEBrick
:: HTTPResponse # body -> String | IO (18604.0) -
クライアントに返す内容(エンティティボディ)を返します。
クライアントに返す内容(エンティティボディ)を返します。
自身が chunked であっても body の値はチャンク形式ではありません。