別のキーワード
ライブラリ
- ビルトイン (79)
- abbrev (2)
- base64 (3)
- benchmark (3)
- bigdecimal (25)
-
bigdecimal
/ ludcmp (1) -
bigdecimal
/ math (6) -
bigdecimal
/ util (3) -
cgi
/ core (1) -
cgi
/ util (12) - coverage (4)
- csv (79)
- date (15)
- dbm (5)
- delegate (1)
- digest (13)
-
drb
/ acl (3) - erb (12)
- etc (4)
- fiber (1)
- fiddle (22)
-
fiddle
/ import (7) - fileutils (35)
- find (2)
- forwardable (4)
- gdbm (8)
- getoptlong (2)
-
io
/ console (3) - ipaddr (4)
-
irb
/ cmd / load (1) -
irb
/ ext / use-loader (4) -
irb
/ extend-command (4) -
irb
/ inspector (2) - json (38)
-
json
/ add / bigdecimal (1) -
json
/ add / complex (1) -
json
/ add / date (1) -
json
/ add / date _ time (1) -
json
/ add / exception (1) -
json
/ add / range (1) -
json
/ add / rational (1) -
json
/ add / regexp (1) -
json
/ add / struct (1) -
json
/ add / time (1) - kconv (1)
- logger (22)
- matrix (79)
- mkmf (21)
- monitor (4)
-
net
/ ftp (2) -
net
/ http (33) -
net
/ imap (4) -
net
/ pop (18) -
net
/ smtp (7) - nkf (1)
- objspace (3)
- observer (1)
- open-uri (5)
- open3 (14)
- openssl (47)
- optparse (52)
- ostruct (4)
- pathname (41)
- pp (1)
- prettyprint (1)
- prime (11)
- pstore (5)
- psych (1)
- rake (6)
-
rake
/ loaders / makefile (1) -
rake
/ packagetask (8) -
rdoc
/ context (2) -
rdoc
/ markup (3) -
rdoc
/ markup / formatter (1) - readline (13)
- resolv (3)
-
rexml
/ document (45) -
rexml
/ streamlistener (1) -
rinda
/ tuplespace (1) -
ripper
/ lexer (3) -
ripper
/ sexp (2) - rubygems (3)
-
rubygems
/ commands / which _ command (1) -
rubygems
/ custom _ require (1) -
rubygems
/ dependency (1) -
rubygems
/ dependency _ installer (2) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ requirement (8) -
rubygems
/ source _ index (1) -
rubygems
/ specification (13) - sdbm (5)
- securerandom (7)
- set (39)
- shellwords (4)
- socket (111)
- stringio (30)
- strscan (27)
- syslog (18)
- tempfile (6)
- time (14)
- timeout (2)
- tmpdir (2)
- tracer (6)
- tsort (16)
- uri (43)
-
webrick
/ htmlutils (1) -
webrick
/ httpauth (1) -
webrick
/ httpproxy (1) -
webrick
/ httpresponse (9) -
webrick
/ httpserver (2) -
webrick
/ httpservlet / abstract (6) -
webrick
/ httpstatus (2) -
webrick
/ httputils (7) -
webrick
/ httpversion (1) -
webrick
/ log (3) -
webrick
/ utils (1) -
win32
/ registry (1) - win32ole (4)
- zlib (47)
クラス
- ACL (2)
- Addrinfo (18)
- Array (4)
- BasicSocket (13)
- BigDecimal (22)
- Binding (1)
- CGI (13)
- CSV (43)
-
CSV
:: Row (16) -
CSV
:: Table (18) - Complex (1)
- Coverage (4)
- DBM (5)
- Date (9)
- DateTime (8)
-
Digest
:: Base (11) - Dir (10)
- ERB (7)
- Enumerator (1)
- Exception (3)
- Fiber (1)
-
Fiddle
:: Function (1) -
Fiddle
:: Handle (4) -
Fiddle
:: Pointer (14) - File (1)
-
File
:: Stat (2) - Float (2)
- GDBM (8)
-
Gem
:: Commands :: WhichCommand (1) -
Gem
:: Dependency (1) -
Gem
:: DependencyInstaller (2) -
Gem
:: LoadError (2) -
Gem
:: Requirement (8) -
Gem
:: SourceIndex (1) -
Gem
:: Specification (13) - GetoptLong (2)
- IO (7)
- IPAddr (4)
- IPSocket (4)
-
IRB
:: Context (3) -
IRB
:: ExtendCommand :: Require (1) -
IRB
:: Inspector (1) - Integer (4)
-
JSON
:: Parser (2) -
JSON
:: State (9) - Logger (21)
-
Logger
:: Formatter (1) - Matrix (61)
-
Matrix
:: LUPDecomposition (1) - Method (1)
- Module (1)
- Monitor (3)
-
Net
:: FTP (2) -
Net
:: HTTP (8) -
Net
:: HTTPGenericRequest (4) -
Net
:: HTTPResponse (3) -
Net
:: IMAP (4) -
Net
:: POP3 (9) -
Net
:: POPMail (9) -
Net
:: SMTP (7) - Object (5)
-
OpenSSL
:: ASN1 :: ObjectId (8) -
OpenSSL
:: BN (22) -
OpenSSL
:: PKCS7 (1) -
OpenSSL
:: PKey :: EC (1) -
OpenSSL
:: SSL :: SSLContext (1) -
OpenSSL
:: X509 :: Extension (2) -
OpenSSL
:: X509 :: ExtensionFactory (1) -
OpenSSL
:: X509 :: Name (7) -
OpenSSL
:: X509 :: StoreContext (1) - OpenStruct (4)
- OptionParser (47)
- PP (1)
- PStore (5)
- Pathname (41)
- PrettyPrint (1)
- Prime (4)
-
Prime
:: PseudoPrimeGenerator (4) -
RDoc
:: Context (2) -
RDoc
:: Markup (3) -
RDoc
:: Markup :: Formatter (1) -
REXML
:: Attribute (1) -
REXML
:: Attributes (6) -
REXML
:: CData (3) -
REXML
:: Child (2) -
REXML
:: DocType (2) -
REXML
:: Element (15) -
REXML
:: Elements (8) -
REXML
:: Entity (1) -
REXML
:: Text (4) -
REXML
:: XPath (3) -
Rake
:: Application (1) -
Rake
:: DefaultLoader (1) -
Rake
:: FileList (1) -
Rake
:: MakefileLoader (1) -
Rake
:: PackageTask (8) - Random (3)
- Range (7)
- Rational (2)
- Regexp (1)
- Resolv (2)
-
Resolv
:: DNS (1) -
Rinda
:: TupleSpace (1) - Ripper (5)
-
RubyVM
:: InstructionSequence (2) - SDBM (5)
- Set (37)
- Socket (34)
-
Socket
:: AncillaryData (17) -
Socket
:: Option (2) - String (4)
- StringIO (30)
- StringScanner (27)
- Struct (1)
- TCPSocket (1)
- Tempfile (6)
- Thread (1)
-
Thread
:: Queue (3) -
Thread
:: SizedQueue (3) - Time (18)
- Tracer (6)
- UDPSocket (4)
- UNIXServer (5)
- UNIXSocket (11)
-
URI
:: FTP (3) -
URI
:: Generic (13) -
URI
:: HTTP (2) -
URI
:: LDAP (2) -
URI
:: MailTo (6) - UnboundMethod (1)
- Vector (17)
-
WEBrick
:: BasicLog (3) -
WEBrick
:: Cookie (2) -
WEBrick
:: HTTPProxyServer (1) -
WEBrick
:: HTTPResponse (9) -
WEBrick
:: HTTPServer (2) -
WEBrick
:: HTTPServlet :: AbstractServlet (6) -
WEBrick
:: HTTPUtils :: FormData (5) -
WEBrick
:: HTTPVersion (1) - WIN32OLE (1)
-
WIN32OLE
_ TYPE (1) -
Zlib
:: Deflate (8) -
Zlib
:: GzipReader (20) -
Zlib
:: GzipWriter (15) -
Zlib
:: Inflate (4)
モジュール
- Abbrev (1)
- Base64 (3)
- Benchmark (3)
- BigMath (8)
- Digest (1)
-
ERB
:: DefMethod (1) -
ERB
:: Util (4) - Enumerable (18)
- Etc (3)
- Fiddle (3)
-
Fiddle
:: Importer (7) - FileTest (4)
- FileUtils (35)
- Find (2)
- Forwardable (4)
-
Gem
:: RequirePathsBuilder (1) - IRB (1)
-
IRB
:: ContextExtender (2) -
IRB
:: ExtendCommandBundle (3) - JSON (14)
-
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 (1) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kconv (1)
- Kernel (40)
- LUSolve (1)
-
Net
:: HTTPHeader (18) - ObjectSpace (3)
- Open3 (14)
-
OpenSSL
:: ASN1 (1) - OpenURI (2)
-
OpenURI
:: OpenRead (1) -
OptionParser
:: Arguable (5) -
REXML
:: StreamListener (1) - Rake (2)
- Readline (4)
- SecureRandom (7)
- Shellwords (4)
-
Socket
:: Constants (2) - Syslog (16)
-
Syslog
:: Macros (2) - TSort (16)
- Timeout (2)
- URI (17)
-
WEBrick
:: HTMLUtils (1) -
WEBrick
:: HTTPAuth (1) -
WEBrick
:: HTTPStatus (2) -
WEBrick
:: HTTPUtils (2) -
WEBrick
:: Utils (1) -
Win32
:: Registry :: Constants (1)
オブジェクト
キーワード
-
$ -I (1) -
$ : (1) -
$ LOAD _ PATH (1) - % (1)
- & (1)
- * (2)
- + (4)
- +@ (1)
- - (3)
- -@ (1)
-
/ (1) - << (13)
- <=> (5)
- == (10)
- === (4)
- =~ (1)
- >> (2)
- ACL (1)
- APOP (1)
- ASN1 (1)
- BigDecimal (2)
- ConditionVariable (1)
- DelegateClass (1)
- Digest (1)
- E (1)
- Inspector (1)
- JSON (1)
-
LOG
_ MASK (1) -
LOG
_ UPTO (1) - MonitorMixin (1)
-
NI
_ DGRAM (2) -
NI
_ NAMEREQD (2) - NKF (1)
- Observable (1)
- PI (1)
- Proxy (1)
-
REG
_ RESOURCE _ REQUIREMENTS _ LIST (1) - Ruby用語集 (1)
-
WIN32OLE
_ TYPE (1) -
WIN32OLE
_ VARIABLE (1) - [] (22)
- []= (13)
- ^ (1)
-
_ dump (1) -
_ strptime (1) - abbrev (2)
- abort (1)
- accept (2)
-
accept
_ nonblock (1) - add (4)
- add? (1)
-
add
_ attribute (2) -
add
_ attributes (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ element (1) -
add
_ html (1) -
add
_ loader (1) -
add
_ namespace (2) -
add
_ require (1) -
add
_ row (1) -
add
_ runtime _ dependency (1) -
add
_ special (1) -
add
_ tag (1) -
add
_ to (1) -
add
_ word _ pair (1) - addr (2)
- adjugate (1)
- alert (1)
- all (3)
- all? (3)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) -
allow
_ nan? (1) - alphanumeric (1)
-
angle
_ with (1) - antisymmetric? (1)
- any? (3)
- application (1)
- application= (1)
- atan (1)
- atime (1)
- attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ of (1) -
auth
_ only (2) - autoload (2)
-
backtrace
_ locations (1) - base64 (1)
- basename (1)
-
basic
_ auth (2) - basis (1)
- benchmark (1)
- bind (1)
- binread (1)
-
bit
_ set? (1) - bm (1)
- bmbm (1)
- body (1)
- body= (2)
-
body
_ stream (1) -
body
_ stream= (1) - bool (1)
- build (8)
-
builtin
_ curves (1) -
by
_ col! (1) -
by
_ col _ or _ row! (1) -
by
_ row! (1) - bytes (2)
- capture2 (1)
- capture2e (1)
- capture3 (1)
- cd (2)
- ceil (3)
-
cgi
/ session (1) - charpos (1)
- chdir (2)
- check (1)
-
check
_ sizeof (2) -
check
_ until (1) - children (1)
- chmod (1)
-
chmod
_ R (1) - chown (2)
-
chown
_ R (1) - chunked= (1)
- civil (1)
- cleanpath (1)
- clear (1)
-
clear
_ bit! (1) -
client
_ cert _ cb= (1) - clone (1)
- close (2)
- cmp (2)
-
cmsg
_ is? (1) - codepage= (1)
- coerce (4)
-
cofactor
_ expansion (1) -
col
_ sep (1) - collect (2)
- collect! (3)
- collect2 (2)
-
collect
_ method (1) - column (2)
- columns (1)
- combine (2)
- comment= (1)
- commit (1)
-
compare
_ file (1) -
compile
_ option (1) -
completion
_ append _ character= (1) -
completion
_ case _ fold (1) -
completion
_ proc= (1) - component (1)
- concat (2)
- config= (1)
- configure (1)
- confstr (1)
- connect (2)
-
connect
_ address (1) -
connect
_ from (2) -
connect
_ nonblock (1) -
content
_ length (2) -
content
_ length= (2) -
content
_ type= (1) - convert (3)
- converters (1)
- cooked (1)
- copy (1)
- cos (1)
- cover? (2)
- cp (1)
-
cp
_ lr (1) -
cp
_ r (1) - create (3)
-
create
_ header (1) -
create
_ id (1) -
create
_ id= (1) -
create
_ makefile (1) -
create
_ value (1) - crit (1)
- crypt (1)
- ctime (1)
- data (1)
-
datetime
_ format (1) -
datetime
_ format= (2) - debug (1)
- decode (2)
- decode64 (1)
-
decode
_ www _ form (1) -
decode
_ www _ form _ component (1) -
def
_ class (1) -
def
_ delegator (1) -
def
_ erb _ method (1) -
def
_ extend _ command (2) -
def
_ inspector (1) -
def
_ instance _ delegator (1) -
def
_ method (1) -
def
_ module (1) -
default
_ argv (1) -
default
_ argv= (1) -
default
_ event _ sources (1) - deflate (2)
- delegate (1)
- delete (10)
- delete? (1)
-
delete
_ all (4) -
delete
_ at (1) -
delete
_ attribute (1) -
delete
_ element (1) -
delete
_ if (4) -
delete
_ namespace (1) - deq (2)
- det (1)
- determinant (1)
- diagonal (1)
- difference (1)
- dig (1)
- digest (1)
- digest! (1)
-
dir
_ config (1) - dirname (1)
- disjoint? (1)
- divmod (1)
- dlunwrap (1)
- dlwrap (1)
-
do
_ DELETE (1) -
do
_ GET (1) -
do
_ HEAD (1) -
do
_ OPTIONS (1) -
do
_ POST (1) -
do
_ PUT (1) -
do
_ not _ reverse _ lookup (1) -
do
_ not _ reverse _ lookup= (1) -
drb
/ extservm (1) -
drb
/ gw (1) - dump (1)
- dup (1)
- each (11)
-
each
_ byte (4) -
each
_ child (2) -
each
_ element _ with _ attribute (1) -
each
_ element _ with _ text (1) -
each
_ entry (1) -
each
_ line (6) -
each
_ strongly _ connected _ component (4) -
each
_ strongly _ connected _ component _ from (4) -
each
_ with _ index (6) - eigen (1)
- eigensystem (1)
- element (1)
- elements (1)
- emerg (1)
- empty (1)
- empty? (4)
-
enable
_ config (2) - encode (1)
- encode64 (1)
-
encode
_ www _ form (1) -
encode
_ www _ form _ component (1) - entitydecl (1)
- entries (3)
-
entrywise
_ product (1) - environment (1)
- eql? (2)
- err (1)
- error (2)
- error= (1)
- escape (3)
- escapeElement (1)
- escapeHTML (1)
-
escape
_ element (1) -
escape
_ html (1) - execute (1)
- exist? (1)
- exit (1)
- exp (1)
- ext (1)
- extern (1)
- extract (4)
- family (1)
-
family
_ addrinfo (2) -
fast
_ generate (1) -
fast
_ unparse (1) - fatal (3)
- fcntl (1)
- fdatasync (1)
- fetch (7)
- field (1)
- field? (1)
-
field
_ size _ limit (1) - fields (1)
- file (2)
- filename (1)
- filename= (1)
- filter (3)
- find (4)
-
find
_ index (3) -
find
_ name (1) -
find
_ spec _ by _ name _ and _ version (1) - finish (1)
- first (1)
- flatten (1)
- flatten! (1)
- floor (3)
- flush (3)
- fnmatch (1)
-
for
_ fd (1) -
force
_ quotes? (1) - foreach (2)
-
form
_ data= (1) - format (1)
-
format
_ date (1) -
format
_ datetime (1) - formatter= (1)
- free (1)
-
from
_ prime _ division (1) -
from
_ state (1) - gem (1)
-
gem
_ paths (1) - generate (2)
-
generate
_ line (1) -
get
_ attribute (1) -
get
_ attribute _ ns (1) -
get
_ fields (1) -
get
_ print (2) -
get
_ text (1) - getaddress (2)
- getaddrinfo (2)
- getbyte (1)
- getc (2)
- gethostbyname (2)
- getname (1)
- getnameinfo (2)
- getopts (1)
- gets (3)
- getservbyport (1)
- getsockopt (1)
- getwd (1)
- glob (4)
- h (1)
-
hadamard
_ product (1) -
handle
_ interrupt (1) -
have
_ framework (2) -
have
_ struct _ member (2) -
have
_ type (2) -
have
_ var (2) - head (1)
- header? (1)
-
header
_ convert (3) -
header
_ converters (1) - headers (2)
- headers= (1)
- hex (1)
- hexdigest (1)
- hexdigest! (1)
- hexencode (1)
- hostname= (1)
- hstack (2)
-
html
_ escape (1) - httpdate (2)
- identical? (1)
- include? (2)
- indent= (1)
- independent? (1)
- index (4)
- inflate (2)
- info (3)
- inspect (1)
- install (2)
-
install
_ extend _ commands (2) -
install
_ list (1) - instance (2)
-
instance
_ delegate (1) - int (2)
-
int
_ from _ prime _ division (1) - intersect? (1)
- intersection (1)
- ip (1)
- ip? (1)
-
ip
_ address (1) -
ip
_ pktinfo (2) -
ip
_ port (1) -
ip
_ unpack (1) - ipv4? (1)
- ipv6? (1)
-
ipv6
_ pktinfo (2) -
ipv6
_ pktinfo _ addr (1) -
ipv6
_ pktinfo _ ifindex (1) - irb (1)
-
irb
_ require (1) - isjis (1)
- iso8601 (3)
- j (1)
- jisx0301 (1)
- jj (1)
- join (2)
-
json
_ create (1) - key? (1)
-
laplace
_ expansion (1) - length (2)
- level (1)
- level= (1)
- lex (1)
- limit (1)
-
line
_ stub (1) - lineno (1)
- lineno= (1)
- lines (2)
- link (1)
- ln (2)
-
ln
_ s (1) - load (5)
-
load
_ mime _ types (1) -
local
_ address (1) -
local
_ host= (1) -
local
_ port= (1) - log (4)
- logger (1)
-
long
_ name (1) - lshift! (1)
- lup (1)
-
lup
_ decomposition (1) - lusolve (1)
- magnitude (1)
- mail (3)
- makedirs (1)
- map (2)
- map! (3)
- map2 (1)
- mask (1)
- mask= (1)
-
mask
_ bits! (1) - match (1)
- match? (1)
- matches? (1)
- member? (1)
-
memsize
_ of (1) - merge (3)
- merge! (1)
-
mime
_ type (1) - minor (2)
- mkdir (1)
-
mkdir
_ p (1) - mkpath (1)
- mktmpdir (2)
- mlsd (2)
-
mod
_ add (1) -
mod
_ exp (1) -
mod
_ inverse (1) -
mod
_ mul (1) -
mod
_ sub (1) - mode (2)
- modulo (1)
-
mon
_ exit (1) - mount (1)
- move (1)
- mtime= (1)
- mv (1)
- name (1)
- name= (2)
- namespace (1)
-
need
_ tar= (1) -
need
_ tar _ bz2= (1) -
need
_ tar _ gz= (1) -
need
_ zip= (1) -
net
/ http (1) -
net
/ smtp (1) - new (57)
-
new
_ ntoh (1) -
next
_ sibling= (1) -
next
_ year (1) - noecho (1)
- none? (3)
- norm (1)
- normalize (1)
- notice (1)
- notify (1)
-
object
_ nl= (1) - of (1)
- oid (1)
- on (14)
-
on
_ head (1) -
on
_ tail (1) - one? (3)
- opaque (1)
- open (28)
- open! (1)
- open-uri (1)
-
open
_ uri (2) - order (4)
- order! (4)
- ordering= (1)
-
orig
_ name= (1) - pack (2)
- pack テンプレート文字列 (1)
-
pack
_ sockaddr _ in (1) -
pack
_ sockaddr _ un (1) -
package
_ dir= (1) -
package
_ files= (1) - pair (1)
- params (1)
- parse (14)
- parse! (3)
-
parse
_ csv (1) -
parse
_ line (1) -
parse
_ openssl (1) - path (2)
- pathconf (1)
- peek (1)
-
peek
_ result (1) - peep (1)
- peeraddr (2)
- permute (2)
- permute! (2)
- pipeline (1)
-
pipeline
_ r (2) -
pipeline
_ rw (2) -
pipeline
_ start (2) -
pipeline
_ w (2) - pointer (1)
- pointer= (1)
- pop (6)
- popen3 (2)
- pos (1)
- pos= (2)
- pp (2)
- pretty (1)
-
pretty
_ generate (1) -
pretty
_ print (2) -
pretty
_ unparse (1) -
prev
_ year (1) -
previous
_ sibling= (1) - prime? (1)
-
prime
_ division (2) -
prime
_ fasttest? (1) - print (3)
- printf (2)
- produce (1)
-
program
_ name (1) -
program
_ name= (1) -
proper
_ subset? (1) -
proper
_ superset? (1) -
proxy
_ basic _ auth (1) - ptr (1)
- push (2)
- putc (1)
- puts (3)
- pwd (1)
-
quote
_ char (1) - r (1)
- rake (1)
- rand (3)
-
random
_ bytes (1) -
random
_ number (1) -
random
_ string (1) - range (1)
-
range
_ length (1) - raw (1)
- read (4)
-
read
_ body (2) - readbyte (1)
- readchar (2)
- readline (4)
- readlines (3)
- ready (1)
- realdirpath (1)
- realpath (2)
-
reason
_ phrase (1) -
reason
_ phrase= (1) - recv (1)
-
recv
_ io (1) - recvfrom (3)
-
recvfrom
_ nonblock (1) - recvmsg (1)
- ref (1)
- regexp (2)
- register (1)
- regular? (1)
- reject (2)
- reject! (1)
-
relative
_ path _ from (1) - remainder (1)
-
remote
_ address (1) - remove (1)
-
remove
_ entry (1) - reopen (3)
- replace (4)
-
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)
- restore (1)
- result (2)
-
return
_ headers? (1) - rewind (1)
-
rexml
/ parsers / streamparser (1) -
rfc1123
_ date (1) - rfc2822 (2)
- rfc3339 (1)
- rfc822 (2)
- rm (1)
-
rm
_ r (1) - rmdir (1)
- round (4)
-
route
_ from (1) -
route
_ to (1) - row (2)
-
row
_ sep (1) - rows (1)
- rshift! (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 4 feature (1) - rubygems (1)
- run (1)
-
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - scalar (1)
- scan (1)
-
scan
_ full (1) -
scan
_ until (1) -
search
_ full (1) - select (2)
- send (1)
-
send
_ io (1) -
send
_ mail (1) - sendmail (1)
- sendmsg (1)
- separator (1)
-
set
_ bit! (1) -
set
_ content _ type (1) -
set
_ debug _ output (1) -
set
_ dictionary (2) -
set
_ form _ data (1) -
set
_ get _ line _ procs (2) -
set
_ redirect (1) - setgid? (1)
- setsockopt (2)
- setuid? (1)
-
sev
_ threshold= (1) - sexp (1)
-
sexp
_ raw (1) - shellescape (1)
- shelljoin (1)
- shellsplit (1)
- shellwords (1)
- shift (4)
-
short
_ name (1) - sin (1)
- size (2)
- sizeof (1)
-
skew
_ symmetric? (1) - skip (1)
-
skip
_ blanks? (1) -
skip
_ until (1) - slice (1)
- sn (1)
-
sockaddr
_ in (1) -
sockaddr
_ un (1) - socket? (1)
- socketpair (1)
- solve (1)
-
source
_ location (2) - space= (1)
-
space
_ before= (1) - split (3)
- sqrt (1)
- src (1)
- start (7)
- status= (1)
- stdout= (1)
- sticky? (1)
- store (1)
- string= (1)
-
strongly
_ connected _ components (2) - strptime (3)
- struct (1)
- sub (2)
-
sub
_ ext (1) - subset? (1)
- subtract (1)
- summarize (2)
-
summary
_ indent (1) -
summary
_ indent= (1) -
summary
_ width (1) -
summary
_ width= (1) - superset? (1)
- sym (1)
- symlink (1)
- symlink? (1)
- sysconf (1)
- tcp (3)
-
tcp
_ server _ loop (2) -
tcp
_ server _ sockets (4) - terminate (1)
- text (1)
- text= (1)
- then (2)
- timeout (2)
- to (1)
- to= (1)
-
to
_ a (4) -
to
_ bn (1) -
to
_ csv (1) -
to
_ d (3) -
to
_ json (19) -
to
_ mailtext (1) -
to
_ ptr (1) -
to
_ rfc822text (1) -
to
_ s (8) -
to
_ set (2) -
to
_ string (1) - today (1)
- tokenize (1)
- touch (1)
- tr (1)
- trace (1)
- transaction (1)
- transfer (1)
- truncate (3)
-
try
_ cpp (2) -
try
_ link (2) - tsort (3)
-
tsort
_ each (4) - type (1)
- u (1)
- ucmp (1)
- udp (1)
-
udp
_ server _ recv (1) -
udp
_ server _ sockets (4) - uname (1)
-
unconverted
_ fields? (1) - unescape (2)
- unescapeElement (1)
- unescapeHTML (1)
-
unescape
_ element (1) -
unescape
_ html (1) - ungetc (2)
- union (2)
- unix (3)
- unix? (1)
-
unix
_ path (1) -
unix
_ rights (2) -
unix
_ server _ socket (2) - unknown (2)
- unnormalize (1)
- unpack (1)
-
unpack
_ sockaddr _ in (1) -
unpack
_ sockaddr _ un (1) - unparse (1)
- unscan (1)
- update (3)
- uptodate? (1)
-
url
_ encode (1) -
urlsafe
_ base64 (1) -
urlsafe
_ encode64 (1) -
use
_ loader (1) -
use
_ loader= (1) -
use
_ loader? (1) - userinfo= (1)
- uuid (1)
- value (4)
-
values
_ at (5) - verbose= (1)
-
version
_ requirement (1) -
version
_ requirement= (1) -
version
_ requirements= (1) -
virtual
_ host (1) - vstack (2)
-
wait
_ for _ cond (1) - warn (2)
- warning (1)
-
with
_ config (2) -
with
_ index (2) - wrap (4)
- write (3)
-
write
_ headers? (1) -
write
_ require _ paths _ file _ if _ needed (1) -
write
_ smime (1) - xmlschema (3)
- yaml (1)
-
yaml
_ tag (1) -
yield
_ self (2) - zero (3)
- | (1)
- セキュリティモデル (1)
検索結果
先頭5件
-
URI
:: Generic # -(src) -> URI :: Generic (37.0) -
与えられた URI を表す src からの相対パスを返します。
与えられた URI を表す src からの相対パスを返します。
@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。
例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x20100256 URL:foo/bar.html> -
URI
:: Generic # ==(uri) -> bool (37.0) -
引数に指定した URI (文字列またはURIオブジェクト)との一致判定を行い ます。URI は正規化して比較されます。
引数に指定した URI (文字列またはURIオブジェクト)との一致判定を行い
ます。URI は正規化して比較されます。
@param uri 比較したい URI を URI オブジェクトで指定します。
例:
require 'uri'
u1 = URI.parse('http://example.com/?hoge')
u2 = URI.parse('http://Example.Com/?hoge')
p u1 == u2 #=> true -
URI
:: Generic # coerce(oth) -> [URI , URI] (37.0) -
引数 oth をパースして [パース後の oth, self] の配列を返します。
引数 oth をパースして [パース後の oth, self] の配列を返します。
@param oth URI オブジェクトか文字列を指定します。
例:
require 'uri'
uri = URI.parse("http://my.example.com")
uri.coerce("http://foo.com")
# => [#<URI::HTTP:0x00000000bcb028 URL:http://foo.com/>, #<URI::HTTP:0x00000000d92178 URL:http://my.example.com>] -
URI
:: Generic # merge!(rel) -> self (37.0) -
与えられたパス rel を自身へ連結します。
与えられたパス rel を自身へ連結します。
2396 の Section 5.2 の仕様に従います。
rel が文字列の場合は URI.parse(rel) によって、URI に変換してから連結します。
@param rel 連結したいパスを文字列か URI オブジェクトで与えます。
例:
require 'uri'
u = URI.parse('http://example.com/')
u.merge!('/foo/bar.html')
p u.to_s #=> http://example.co... -
URI
:: Generic # merge(rel) -> URI :: Generic (37.0) -
自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。
自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。
3986 の Section 5.2 の仕様に従います。
rel が文字列の場合は URI.parse(rel) によって、URI に変換してから連結します。
@param rel 連結したいパスを文字列か URI オブジェクトで与えます。
例:
require 'uri'
p URI.parse('http://example.com/') + '/foo/bar.html'
#=> #<URI::HTTP:0x201001c0 URL:http://example.com/foo... -
URI
:: Generic # path -> String | nil (37.0) -
自身の path を文字列で返します。設定されていない場合は nil を返します。
自身の path を文字列で返します。設定されていない場合は nil を返します。
require 'uri'
p URI.parse('http://example.com/hoge').path #=> "/hoge"
p URI.parse('http://example.com').path #=> ""
p URI.parse('mailto:nospam@localhost').path #=> nil
p URI('ftp://example.com/foo').path #=> 'foo'
p UR... -
URI
:: Generic # route _ from(src) -> URI :: Generic (37.0) -
与えられた URI を表す src からの相対パスを返します。
与えられた URI を表す src からの相対パスを返します。
@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。
例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x20100256 URL:foo/bar.html> -
URI
:: Generic # route _ to(dst) -> URI :: Generic (37.0) -
自身から dst への相対パスを返します。
自身から dst への相対パスを返します。
@param dst URI を文字列かURIオブジェクトで与えます。
例:
require 'uri'
p URI.parse('http://example.com/').route_to('http://example.com/foo/bar.html')
#=> #<URI::Generic:0x20100198 URL:foo/bar.html> -
URI
:: MailTo # headers -> [[String]] (37.0) -
自身のヘッダーを文字列の配列の配列として設定します。
自身のヘッダーを文字列の配列の配列として設定します。
例:
require 'uri'
m = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
p m.headers #=> [["subject", "subscribe"], ["cc", "myaddr"]] -
UnboundMethod
# source _ location -> [String , Integer] | nil (37.0) -
ソースコードのファイル名と行番号を配列で返します。
ソースコードのファイル名と行番号を配列で返します。
その手続オブジェクトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
//emlist[例][ruby]{
require 'time'
Time.instance_method(:zone).source_location # => nil
Time.instance_method(:httpdate).source_location # => ["/Users/user/.rbenv/versions/2.4.3/lib/ruby/2.4.0/time.rb", 654]
/... -
Vector
# independent?(*vectors) -> bool (37.0) -
self とベクトルの列 vectors が線形独立であれば true を返します。
self とベクトルの列 vectors が線形独立であれば true を返します。
require 'matrix'
Vector.independent?(self, *vectors)
と同じです。
@param vectors 線形独立性を判定するベクトル列 -
Vector
# magnitude -> Float (37.0) -
ベクトルの大きさ(ノルム)を返します。
ベクトルの大きさ(ノルム)を返します。
//emlist[例][ruby]{
require 'matrix'
Vector[3, 4].norm # => 5.0
Vector[Complex(0, 1), 0].norm # => 1.0
//}
@see Vector#normalize -
Vector
# norm -> Float (37.0) -
ベクトルの大きさ(ノルム)を返します。
ベクトルの大きさ(ノルム)を返します。
//emlist[例][ruby]{
require 'matrix'
Vector[3, 4].norm # => 5.0
Vector[Complex(0, 1), 0].norm # => 1.0
//}
@see Vector#normalize -
Vector
# r -> Float (37.0) -
ベクトルの大きさ(ノルム)を返します。
ベクトルの大きさ(ノルム)を返します。
//emlist[例][ruby]{
require 'matrix'
Vector[3, 4].norm # => 5.0
Vector[Complex(0, 1), 0].norm # => 1.0
//}
@see Vector#normalize -
Vector
. [](*a) -> Vector (37.0) -
可変個引数を要素とするベクトルを生成します。
可変個引数を要素とするベクトルを生成します。
Vector[a1, a2, a3, ... ]としたとき、 引数a1, a2, a3, ... を要素とするベクトルを生成します。
@param a ベクトルの要素
//emlist[例][ruby]{
require 'matrix'
v1 = Vector[1, 3, 5, 7]
v2 = Vector[5.25, 10.5]
p v1 # => Vector[1, 3, 5, 7]
p v2 # => Vector[5.25, 10.5]
//} -
Vector
. zero(size) -> Vector (37.0) -
零ベクトルを返します。
零ベクトルを返します。
//emlist[例][ruby]{
require 'matrix'
Vector.zero(3) # => Vector[0, 0, 0]
//}
@param size ベクトルの次元 -
WEBrick
:: BasicLog # <<(obj) -> () (37.0) -
指定された obj を to_s メソッドで文字列に変換してから、 ログレベル INFO でログに記録します。
指定された obj を to_s メソッドで文字列に変換してから、
ログレベル INFO でログに記録します。
@param obj 記録したいオブジェクトを指定します。文字列でない場合は to_s メソッドで文字列に変換します。
require 'webrick'
logger = WEBrick::BasicLog.new()
logger << 'hoge' -
WEBrick
:: BasicLog # fatal(msg) -> () (37.0) -
ログレベル FATAL で文字列 msg をログに記録します。
ログレベル FATAL で文字列 msg をログに記録します。
行頭に level を表す文字列が追加されます。
msg の終端が "\n" でない場合には "\n" を追加します。
@param msg 記録したい文字列を指定します。文字列でない場合は to_s メソッドで文字列に変換します。
require 'webrick'
logger = WEBrick::BasicLog.new()
logger.fatal('out of money') #=> FATAL out of money (標準エラー出力に出力) -
WEBrick
:: Cookie . parse(str) -> [WEBrick :: Cookie] (37.0) -
ユーザーエージェントから送られてきた Cookie ヘッダの値 str をパースし、 新しく WEBrick::Cookie オブジェクトを生成しその配列を返します。 各属性の形式が仕様に準拠しているかを確認しません。
ユーザーエージェントから送られてきた Cookie ヘッダの値 str をパースし、
新しく WEBrick::Cookie オブジェクトを生成しその配列を返します。
各属性の形式が仕様に準拠しているかを確認しません。
@param str Cookie を表す文字列を指定します。
require 'webrick'
include WEBrick
c = Cookie.parse('$Version="1"; Customer="WILE"; $Path="/foo"; P_Number="Rocket"; $Path="/foo/hoge"')
p c[1].name... -
WEBrick
:: Cookie . parse _ set _ cookie(str) -> WEBrick :: Cookie (37.0) -
サーバから送られてくる Set-Cookie ヘッダの値 str をパースし、 新しく WEBrick::Cookie オブジェクトを生成し返します。
サーバから送られてくる Set-Cookie ヘッダの値 str をパースし、
新しく WEBrick::Cookie オブジェクトを生成し返します。
@param str Set-Cookie ヘッダの値を文字列で指定します。
require 'webrick'
include WEBrick
c = Cookie.parse_set_cookie('Shipping="FedEx"; Version="1"; Path="/acme"')
p c.name, c.value
#=>
"Shipping"
"FedEx" -
WEBrick
:: HTMLUtils . # escape(string) -> String (37.0) -
指定された文字列に含まれる ", &, <, > を文字実体参照に変換した文字列を 生成して返します。
指定された文字列に含まれる ", &, <, > を文字実体参照に変換した文字列を
生成して返します。
@param string エスケープしたい文字列を指定します。
require 'webrick'
p WEBrick::HTMLUtils.escape('/?q=foo&hl=<ja>') #=> "/?q=foo&hl=<ja>" -
WEBrick
:: HTTPResponse # body=(val) (37.0) -
クライアントに返す内容(エンティティボディ)をセットします。
クライアントに返す内容(エンティティボディ)をセットします。
自身が chunked であっても body の値はチャンク形式ではありません。
@param val メッセージボディを文字列か IO オブジェクトで指定します。
自身が chunked であってもチャンク形式にする必要はありません。
適切にチャンク形式エンコーディングされます。
require 'webrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.bod... -
WEBrick
:: HTTPResponse # chunked=(flag) (37.0) -
真に設定するとクライアントに返す内容(エンティティボディ)を chunk に分けるようになります。
真に設定するとクライアントに返す内容(エンティティボディ)を chunk に分けるようになります。
自身の WEBrick::HTTPResponse#request_http_version が 1.0 以下である場合、この値は無視されます。
@param flag true を指定した場合、レスポンスを chunk に分けてクライアントに返します。
require 'webrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
res.... -
WEBrick
:: HTTPResponse # content _ length -> Integer | nil (37.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実際のサイズとこの値が同じかどうかの検証は行われません。
: body が IO オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダはレスポンスに含まれず、IO から全てを読み込ん
でそれをエンティティボ... -
WEBrick
:: HTTPResponse # content _ length=(len) (37.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実際のサイズとこの値が同じかどうかの検証は行われません。
: body が IO オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダはレスポンスに含まれず、IO から全てを読み込ん
でそれをエンティティボ... -
WEBrick
:: HTTPResponse # reason _ phrase=(val) (37.0) -
HTTP のレスポンスの最初の行の reason phrase をセットします。 この値が nil の場合 reason phrase は status から生成されます。 デフォルトは nil です。
HTTP のレスポンスの最初の行の reason phrase をセットします。
この値が nil の場合 reason phrase は status から生成されます。
デフォルトは nil です。
@param val reason phrase を表す文字列を指定します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404
p res.reason_phrase #=> "Not Found" -
WEBrick
:: HTTPResponse # status=(status) (37.0) -
レスポンスのステータスコードを整数で指定します。 reason_phrase も適切なものに設定されます。
レスポンスのステータスコードを整数で指定します。
reason_phrase も適切なものに設定されます。
@param status ステータスコードを整数で指定します。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404
p res.reason_phrase #=> "Not Found" -
WEBrick
:: HTTPResponse . new(config) -> WEBrick :: HTTPResponse (37.0) -
HTTPResponse オブジェクトを生成して返します。
HTTPResponse オブジェクトを生成して返します。
@param config 設定を保存したハッシュを指定します。:HTTPVersion は必須です。
require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } ) -
WEBrick
:: HTTPServer # virtual _ host(server) -> () (37.0) -
サーバの保持しているバーチャルホストのリストに HTTP サーバ server を加えます。 クライアントからのリクエストのうち server へのものは server に委譲されるようになります。
サーバの保持しているバーチャルホストのリストに HTTP サーバ server を加えます。
クライアントからのリクエストのうち server へのものは server に委譲されるようになります。
@param server バーチャルホストを表す WEBrick::HTTPServer オブジェクトを指定します。
require 'webrick'
include WEBrick
srv1 = HTTPServer.new( { :Port => 1080, :ServerName => 'hoge.example.com' } )
srv2 = HTTPServe... -
WEBrick
:: HTTPStatus . # reason _ phrase(code) -> String (37.0) -
指定された整数が表すステータスコードに対応する reason phrase を表す文字列を返します。
指定された整数が表すステータスコードに対応する reason phrase
を表す文字列を返します。
@param code HTTP のステータスコードを表す整数か文字列を指定します。
require 'webrick'
p WEBrick::HTTPStatus.reason_phrase(304) #=> "Not Modified" -
WEBrick
:: HTTPStatus . [](code) -> Class (37.0) -
指定された整数が表すステータスコードに対応する WEBrick::HTTPStatus::Status のサブクラスを返します。
指定された整数が表すステータスコードに対応する WEBrick::HTTPStatus::Status
のサブクラスを返します。
@param code HTTP のステータスコードを表す整数を指定します。
require 'webrick'
p WEBrick::HTTPStatus[200] #=> WEBrick::HTTPStatus::OK -
WEBrick
:: HTTPUtils . # load _ mime _ types(file) -> Hash (37.0) -
Apache の mime.types ファイル形式の file を読み込み 拡張子をキー、MIME タイプを値とするハッシュを返します。キーも値も文字列です。
Apache の mime.types ファイル形式の file を読み込み
拡張子をキー、MIME タイプを値とするハッシュを返します。キーも値も文字列です。
@param file Apache の mime.types ファイル形式のファイルの名前を文字列で指定します。
require 'webrick'
p WEBrick::HTTPUtils.load_mime_types('/etc/mime.types')
# => {"htm"=>"text/html", "rpm"=>"application/x-rpm", ... } -
WEBrick
:: HTTPUtils :: FormData # [](header) -> String | nil (37.0) -
自身が multipart/form-data なデータの場合に、header で指定された ヘッダの値を文字列で返します。無ければ nil を返します。
自身が multipart/form-data なデータの場合に、header で指定された
ヘッダの値を文字列で返します。無ければ nil を返します。
@param header ヘッダ名を文字列で指定します。大文字と小文字を区別しません。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q']['content-type'] #=> "plain/text"
end
end
MyCGI.new.start() -
WEBrick
:: HTTPUtils :: FormData # filename -> String | nil (37.0) -
フォームデータの filename 属性を文字列で表すアクセサです。
フォームデータの filename 属性を文字列で表すアクセサです。
@param value フォームデータの filename 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].filename #=> "my_file.txt"
end
end
MyCGI.new.start() -
WEBrick
:: HTTPUtils :: FormData # filename=(value) (37.0) -
フォームデータの filename 属性を文字列で表すアクセサです。
フォームデータの filename 属性を文字列で表すアクセサです。
@param value フォームデータの filename 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].filename #=> "my_file.txt"
end
end
MyCGI.new.start() -
WEBrick
:: HTTPUtils :: FormData # name -> String | nil (37.0) -
フォームデータの name 属性を文字列で表すアクセサです。
フォームデータの name 属性を文字列で表すアクセサです。
@param value フォームデータの name 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].name #=> "q"
end
end
MyCGI.new.start() -
WEBrick
:: HTTPUtils :: FormData # name=(value) (37.0) -
フォームデータの name 属性を文字列で表すアクセサです。
フォームデータの name 属性を文字列で表すアクセサです。
@param value フォームデータの name 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].name #=> "q"
end
end
MyCGI.new.start() -
WEBrick
:: HTTPVersion # <=>(other) -> -1 | 0 | 1 | nil (37.0) -
自身と指定された other のバージョンを比較します。 自身が other より新しいなら 1、同じなら 0、古いなら -1 を返します。 比較できない場合に nil を返します。
自身と指定された other のバージョンを比較します。
自身が other より新しいなら 1、同じなら 0、古いなら -1 を返します。
比較できない場合に nil を返します。
@param other HTTP のバージョンを表す WEBrick::HTTPVersion オブジェクトか文字列を指定します。
require 'webrick'
v = WEBrick::HTTPVersion.new('1.1')
p v < '1.0' #=> false -
WEBrick
:: Utils . # random _ string(len) -> String (37.0) -
A-Z, a-z, 0-9 からなる長さ len のランダムな文字列を返します。
A-Z, a-z, 0-9 からなる長さ len のランダムな文字列を返します。
@param len 得たい文字列の長さを整数で指定します。単位はバイトです。
require 'webrick'
p WEBrick::Utils.random_string(10) #=> "xF0jwU4RJd" -
WIN32OLE
. codepage=(cp) -> nil (37.0) -
WIN32OLEがOLEオートメーションのインターフェイスに利用するコードページを 設定します。
WIN32OLEがOLEオートメーションのインターフェイスに利用するコードページを
設定します。
WIN32OLEは、OLEオートメーション呼び出しに利用する文字列のUnicode変換に
ここで設定したコードページを利用します。通常、WIN32OLEはロード時の
Encoding.default_internalまたはEncoding.default_externalから適切なコー
ドページを判断し、それを利用します。したがって、当メソッドを呼び出す必
要があるのは、WIN32OLEをrequireしたスクリプトと異なるエンコーディングを
利用しているスクリプトや、異なるエンコーディングを... -
WIN32OLE
_ TYPE (37.0) -
WIN32OLE_TYPEオブジェクトは、型情報ライブラリ(TypeLib)内に定義された 1つの型情報を保持します。
WIN32OLE_TYPEオブジェクトは、型情報ライブラリ(TypeLib)内に定義された
1つの型情報を保持します。
=== サンプルコード
require 'win32ole'
excel_app_type = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Application')
puts excel_app_type.progid # => "Excel.Application.14"
Ruby-1.9.1以降、WIN32OLE_TYPELIBオブジェクトの
WIN32OLE_TYPELIB... -
WIN32OLE
_ VARIABLE (37.0) -
OLEオートメーションの変数情報をRubyで参照するためのクラスです。
OLEオートメーションの変数情報をRubyで参照するためのクラスです。
OLEオートメーションサーバは、定数(WIN32OLE.const_load)、メソッ
ド/プロパティ(WIN32OLE_METHOD)、イベント(WIN32OLE_EVENT)
のほかに変数をクライアントへ提供できます。WIN32OLE_VARIABLEクラスは、サー
バが提供する変数の情報をオブジェクト化します。変数情報にはCOMで決められ
た構造体やユーザ定義型のフィールド情報などがありますが、最も良く利用さ
れるのはenum(列挙型)のメンバ情報です。enumのメンバは定数として利用で
きます。
WIN32OL... -
Zlib
:: Deflate # finish -> String (37.0) -
圧縮ストリームを終了します。deflate('', Zlib::FINISH) と同じです。
圧縮ストリームを終了します。deflate('', Zlib::FINISH) と同じです。
require 'zlib'
dez = Zlib::Deflate.new
dez << "123" * 5 << "ugougo" << "123" * 5 << "hogehoge"
dezstr = dez.finish
p dezstr #=> "x\2343426DB\245\351\371@d\210*\230\221\237\236\n\302\000\356\275\v\271" -
Zlib
:: Deflate # flush(flush = Zlib :: SYNC _ FLUSH) -> String (37.0) -
deflate('', flush) と同じです。flush が 省略された時は Zlib::SYNC_FLUSH が使用されます。 このメソッドはスクリプトの可読性のために提供されています。
deflate('', flush) と同じです。flush が
省略された時は Zlib::SYNC_FLUSH が使用されます。
このメソッドはスクリプトの可読性のために提供されています。
@param flush Zlib::NO_FLUSH Zlib::SYNC_FLUSH Zlib::FULL_FLUSH などを指定します。
require 'zlib'
def case1
dez = Zlib::Deflate.new
comp_str = dez.deflate('hoge')
comp_str << dez.deflate(' fuga'... -
Zlib
:: GzipReader . open(filename) -> Zlib :: GzipReader (37.0) -
filename で指定されるファイルを gzip ファイルとして オープンします。GzipReader オブジェクトを返します。 その他詳細は Zlib::GzipReader.new や Zlib::GzipReader.wrap と 同じです。
filename で指定されるファイルを gzip ファイルとして
オープンします。GzipReader オブジェクトを返します。
その他詳細は Zlib::GzipReader.new や Zlib::GzipReader.wrap と
同じです。
@param filename gzip ファイル名を文字列で指定します。
require 'zlib'
=begin
# hoge.gz がない場合はこれで作成する。
Zlib::GzipWriter.open('hoge.gz') { |gz|
gz.puts 'hoge'
}
=end
Zlib... -
Zlib
:: GzipReader . open(filename) {|gz| . . . } -> object (37.0) -
filename で指定されるファイルを gzip ファイルとして オープンします。GzipReader オブジェクトを返します。 その他詳細は Zlib::GzipReader.new や Zlib::GzipReader.wrap と 同じです。
filename で指定されるファイルを gzip ファイルとして
オープンします。GzipReader オブジェクトを返します。
その他詳細は Zlib::GzipReader.new や Zlib::GzipReader.wrap と
同じです。
@param filename gzip ファイル名を文字列で指定します。
require 'zlib'
=begin
# hoge.gz がない場合はこれで作成する。
Zlib::GzipWriter.open('hoge.gz') { |gz|
gz.puts 'hoge'
}
=end
Zlib... -
Zlib
:: GzipReader . wrap(io) -> Zlib :: GzipReader (37.0) -
io と関連付けられた GzipReader オブジェクトを作成します。
io と関連付けられた GzipReader オブジェクトを作成します。
ブロックが与えられた場合は、それを引数としてブロックを実行します。
ブロックの実行が終了すると、GzipReader オブジェクトは自動的に
クローズされます。関連付けられている IO オブジェクトまで
クローズしたくない時は、ブロック中で Zlib::GzipFile#finish
メソッドを呼び出して下さい。
@param io IO オブジェクトを指定します。
require 'zlib'
=begin
# hoge.gz がない場合はこれで作成する。
Zlib::GzipWriter.o... -
Zlib
:: GzipReader . wrap(io) {|gz| . . . } -> object (37.0) -
io と関連付けられた GzipReader オブジェクトを作成します。
io と関連付けられた GzipReader オブジェクトを作成します。
ブロックが与えられた場合は、それを引数としてブロックを実行します。
ブロックの実行が終了すると、GzipReader オブジェクトは自動的に
クローズされます。関連付けられている IO オブジェクトまで
クローズしたくない時は、ブロック中で Zlib::GzipFile#finish
メソッドを呼び出して下さい。
@param io IO オブジェクトを指定します。
require 'zlib'
=begin
# hoge.gz がない場合はこれで作成する。
Zlib::GzipWriter.o... -
Zlib
:: GzipWriter # flush(flush = Zlib :: SYNC _ FLUSH) -> self (37.0) -
まだ書き出されていないデータをフラッシュします。
まだ書き出されていないデータをフラッシュします。
flush は Zlib::Deflate#deflate と同じです。
省略時は Zlib::SYNC_FLUSH が使用されます。
flush に Zlib::NO_FLUSH を指定することは無意味です。
@param flush Zlib::NO_FLUSH Zlib::SYNC_FLUSH Zlib::FULL_FLUSH などを指定します。
require 'zlib'
def case1
filename='hoge1.gz'
fw = File.open(filename, "w")
... -
Zlib
:: Inflate # set _ dictionary(string) -> String (37.0) -
展開に用いる辞書を指定します。string を返します。 このメソッドは Zlib::NeedDict 例外が発生した直後のみ 有効です。詳細は zlib.h を参照して下さい。
展開に用いる辞書を指定します。string を返します。
このメソッドは Zlib::NeedDict 例外が発生した直後のみ
有効です。詳細は zlib.h を参照して下さい。
@param string 展開に用いる辞書を文字列で指定します。
require 'zlib'
def case2(str, dict)
dez = Zlib::Deflate.new
dez.set_dictionary(dict)
comp_str = dez.deflate(str)
comp_str << dez.finish
comp_str.siz... -
Zlib
:: Inflate . new(window _ bits = Zlib :: MAX _ WBITS) -> Zlib :: Inflate (37.0) -
展開ストリームを作成します。
展開ストリームを作成します。
@param window_bits ウィンドウの大きさを整数で指定します。
nil の場合はデフォルトの値を使用します。
詳細は zlib.h を参照してください。
require 'zlib'
cstr = "x\234\313\310OOUH+MOTH\315K\001\000!\251\004\276"
inz = Zlib::Inflate.new(15)
inz << cstr
p inz.finish #=> "hoge fuga end"