種類
ライブラリ
- English (5)
- ビルトイン (616)
- base64 (1)
- benchmark (2)
- bigdecimal (8)
-
bigdecimal
/ ludcmp (1) - coverage (2)
- csv (18)
- drb (1)
- erb (9)
- etc (1)
- fiddle (8)
-
fiddle
/ import (4) - fileutils (36)
-
io
/ wait (2) -
irb
/ cmd / help (1) -
irb
/ cmd / load (3) -
irb
/ context (2) -
irb
/ xmp (1) - json (10)
- kconv (1)
- logger (17)
- matrix (34)
- mkmf (2)
-
net
/ http (16) - nkf (1)
- objspace (5)
- open-uri (2)
- open3 (1)
- openssl (95)
- optparse (17)
- ostruct (1)
- pathname (10)
- prettyprint (1)
- prime (5)
- psych (9)
- pty (1)
- rake (18)
-
rdoc
/ parser / ruby (5) -
rdoc
/ parser / ruby _ tools (1) - resolv (2)
-
rexml
/ document (48) - rubygems (2)
-
rubygems
/ config _ file (2) -
rubygems
/ custom _ require (1) -
rubygems
/ platform (1) -
rubygems
/ requirement (9) -
rubygems
/ source _ index (1) -
rubygems
/ specification (4) -
rubygems
/ version (3) - set (14)
- socket (4)
- stringio (6)
- strscan (12)
-
syslog
/ logger (1) - timeout (3)
- tsort (5)
- un (1)
- uri (8)
-
webrick
/ httpservlet / cgihandler (1) -
webrick
/ ssl (1) - win32ole (3)
クラス
-
ARGF
. class (2) - Addrinfo (1)
- Array (28)
- BasicObject (2)
- BasicSocket (1)
- BigDecimal (8)
- CSV (7)
-
CSV
:: Row (6) -
CSV
:: Table (5) - Class (4)
- Complex (13)
- Coverage (2)
-
DRb
:: DRbUnknown (1) - Dir (3)
- ERB (5)
- Encoding (5)
-
Encoding
:: Converter (6) -
Encoding
:: InvalidByteSequenceError (2) - Enumerator (7)
-
Enumerator
:: Lazy (31) -
Enumerator
:: Yielder (2) - Exception (1)
- Fiber (1)
-
Fiddle
:: CStruct (1) -
Fiddle
:: Closure :: BlockCaller (1) -
Fiddle
:: Function (1) -
Fiddle
:: Pointer (1) - File (12)
-
File
:: Stat (4) - Float (7)
-
Gem
:: ConfigFile (2) -
Gem
:: Platform (1) -
Gem
:: Requirement (9) -
Gem
:: SourceIndex (1) -
Gem
:: Specification (4) -
Gem
:: Version (3) - Hash (35)
- IO (10)
-
IRB
:: Context (2) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Require (1) -
IRB
:: ExtendCommand :: Source (1) - Integer (4)
-
JSON
:: State (3) - Logger (17)
- MatchData (1)
- Matrix (26)
-
Matrix
:: LUPDecomposition (1) - Method (3)
- Module (79)
-
Net
:: HTTP (9) -
Net
:: HTTPGenericRequest (2) -
Net
:: HTTPResponse (1) - Numeric (28)
- Object (23)
-
ObjectSpace
:: WeakMap (1) -
OpenSSL
:: ASN1 :: ASN1Data (2) -
OpenSSL
:: ASN1 :: BMPString (2) -
OpenSSL
:: ASN1 :: BitString (2) -
OpenSSL
:: ASN1 :: Boolean (2) -
OpenSSL
:: ASN1 :: Enumerated (2) -
OpenSSL
:: ASN1 :: GeneralString (2) -
OpenSSL
:: ASN1 :: GeneralizedTime (2) -
OpenSSL
:: ASN1 :: GraphicString (2) -
OpenSSL
:: ASN1 :: IA5String (2) -
OpenSSL
:: ASN1 :: ISO64String (2) -
OpenSSL
:: ASN1 :: Integer (2) -
OpenSSL
:: ASN1 :: Null (2) -
OpenSSL
:: ASN1 :: NumericString (2) -
OpenSSL
:: ASN1 :: OctetString (2) -
OpenSSL
:: ASN1 :: PrintableString (2) -
OpenSSL
:: ASN1 :: Sequence (2) -
OpenSSL
:: ASN1 :: Set (2) -
OpenSSL
:: ASN1 :: T61String (2) -
OpenSSL
:: ASN1 :: UTCTime (2) -
OpenSSL
:: ASN1 :: UTF8String (2) -
OpenSSL
:: ASN1 :: UniversalString (2) -
OpenSSL
:: ASN1 :: VideotexString (2) -
OpenSSL
:: BN (6) - OpenStruct (1)
- OptionParser (10)
- Pathname (10)
- PrettyPrint (1)
- Prime (3)
-
Prime
:: PseudoPrimeGenerator (2) - Proc (1)
-
Psych
:: Visitors :: YAMLTree (3) -
RDoc
:: Parser :: Ruby (4) -
REXML
:: Attribute (3) -
REXML
:: Attributes (13) -
REXML
:: CData (2) -
REXML
:: Child (1) -
REXML
:: DocType (4) -
REXML
:: Document (7) -
REXML
:: Element (9) -
REXML
:: Instruction (2) -
REXML
:: Text (3) -
Rake
:: Application (2) -
Rake
:: DefaultLoader (1) -
Rake
:: FileList (5) -
Rake
:: TaskArguments (2) - Random (2)
- Range (3)
- Rational (4)
- Regexp (3)
-
Resolv
:: DNS (1) -
Resolv
:: DNS :: Name (1) - RubyVM (1)
-
RubyVM
:: InstructionSequence (15) - Set (12)
- SignalException (2)
- Socket (2)
- String (32)
- StringIO (6)
- StringScanner (12)
- Struct (16)
- Symbol (1)
-
Syslog
:: Logger (1) - Thread (5)
-
Thread
:: Backtrace :: Location (1) -
Thread
:: Mutex (4) -
Thread
:: Queue (8) -
Thread
:: SizedQueue (4) - ThreadGroup (2)
- Time (15)
- TracePoint (2)
- TrueClass (5)
-
URI
:: FTP (1) -
URI
:: MailTo (3) - UnboundMethod (7)
- UncaughtThrowError (1)
- Vector (7)
-
WEBrick
:: GenericServer (1) -
WEBrick
:: HTTPServlet :: CGIHandler (1) - WIN32OLE (1)
-
WIN32OLE
_ TYPE (1) -
WIN32OLE
_ VARIANT (1) - XMP (1)
モジュール
- Base64 (1)
- Benchmark (2)
-
ERB
:: Util (4) - Enumerable (113)
- Etc (1)
- Fiddle (3)
-
Fiddle
:: Importer (3) - FileTest (2)
- FileUtils (37)
- GC (5)
-
GC
:: Profiler (2) -
Gem
:: QuickLoader (1) - JSON (5)
-
JSON
:: Generator :: GeneratorMethods :: String (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (42)
- LUSolve (1)
- Marshal (2)
-
Net
:: HTTPHeader (4) - ObjectSpace (9)
- Open3 (1)
-
OpenSSL
:: ASN1 (44) -
OpenURI
:: Meta (2) -
OptionParser
:: Arguable (7) - PTY (1)
- Process (2)
- Psych (3)
-
REXML
:: Security (2) -
Rake
:: Cloneable (1) -
Rake
:: TaskManager (2) - RakeFileUtils (4)
- TSort (5)
- Timeout (1)
- URI (4)
キーワード
-
$ CHILD _ STATUS (1) -
$ DEFAULT _ INPUT (1) -
$ INPUT _ LINE _ NUMBER (1) -
$ NR (1) -
$ OUTPUT _ RECORD _ SEPARATOR (1) -
$ stdout (1) - & (1)
- +@ (1)
- < (1)
- << (1)
- <= (1)
- <=> (2)
- == (3)
- === (2)
- =~ (1)
- > (1)
- >= (1)
- ASN1 (1)
- BMPString (2)
-
BUILD
_ RUBY _ PLATFORM (1) - BitString (2)
- BlockCaller (1)
- Boolean (2)
- CHR2FIX (1)
- Closure (1)
- DEBUG= (1)
- DEFAULT (1)
-
DEFAULT
_ PARAMS (1) - DOSISH 対応 (1)
-
Data
_ Get _ Struct (1) -
Data
_ Make _ Struct (1) -
Data
_ Wrap _ Struct (1) - Default (1)
- Enumerated (2)
- GNU (1)
- GeneralString (2)
- GeneralizedTime (2)
- GraphicString (2)
- IA5String (2)
- INT2NUM (1)
- ISO64String (2)
- Instruction (1)
- Integer (2)
- InvalidByteSequenceError (1)
- LL2NUM (1)
- Lazy (1)
- Marshal フォーマット (1)
- NKF (1)
- NORMAL (1)
- Null (2)
- NumericString (2)
-
OPERATING
_ SYSTEM _ DEFAULTS (1) - ObjectId (2)
- OctetString (2)
-
PLATFORM
_ DEFAULTS (1) - PrintableString (2)
- ROUNDS (1)
- RSTRING (1)
-
RUBY
_ FREE (1) -
RUBY
_ PATCHLEVEL (1) -
RUBY
_ PLATFORM (1) -
RUBY
_ RELEASE _ DATE (1) - Requirement (1)
- Ruby (1)
- Ruby が動作するプラットフォーム (1)
- Ruby プログラムの実行 (1)
- RubyLex (1)
- RubyTools (1)
- Rubyの起動 (1)
- Ruby用語集 (1)
- SINGLE (1)
- STR2CSTR (1)
- Sequence (2)
- Set (2)
- SizedQueue (1)
- StringValue (1)
- StringValuePtr (1)
- T61String (2)
- TRUE (1)
- TreeBuilder (1)
- UTCTime (2)
- UTF8String (2)
- UniversalString (2)
- Unix (1)
- VideotexString (2)
- Win32ネイティブ版Rubyの互換性問題 (1)
- [] (4)
- []= (9)
- ^ (1)
-
_ builtin (1) -
_ dump (2) - abs (1)
- abs2 (1)
- absolute? (1)
-
absolute
_ path (3) - add (3)
-
add
_ attribute (2) -
add
_ attributes (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ namespace (2) -
add
_ runtime _ dependency (1) -
alias
_ method (1) - all? (2)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) - ancestors (1)
- angle (1)
- any? (2)
-
append
_ features (1) - arg (1)
-
arg
_ config (1) -
as
_ list (1) - attr (3)
-
attr
_ accessor (1) -
attr
_ reader (1) -
attr
_ writer (1) - attribute (1)
-
attribute
_ of (1) -
attributes
_ of (1) - autoclose? (1)
- autoload (2)
- autoload? (2)
-
base
_ label (1) - basename (1)
- benchmark (1)
- bigdecimal (1)
-
bigdecimal
/ ludcmp (1) -
bigdecimal
/ util (1) - bind (1)
- build (2)
- byteslice (3)
- call (1)
- casecmp (2)
- cause (1)
- cd (2)
- ceil (1)
- charset (1)
- chdir (2)
- check (1)
-
check
_ circular? (1) -
check
_ until (1) - children (1)
- chmod (1)
-
chmod
_ R (1) - chown (3)
-
chown
_ R (1) - chunk (3)
-
chunk
_ while (1) - chunked? (1)
-
class
_ eval (2) -
class
_ exec (1) -
class
_ variable _ defined? (1) -
class
_ variable _ get (1) -
class
_ variable _ set (1) -
class
_ variables (1) - clear (1)
-
clear
_ exclude (1) - clone (3)
- close (1)
- closed? (1)
- cmp (1)
-
cofactor
_ expansion (1) - collect (6)
- collect! (1)
- collect2 (1)
-
collect
_ concat (3) -
collect
_ method (1) - column (2)
-
column
_ vectors (1) - columns (1)
- commands (1)
-
compare
_ file (1) - compile (2)
-
compile
_ file (1) -
compile
_ option (1) -
compile
_ option= (1) - configure (1)
- conjugate (1)
-
const
_ defined? (1) -
const
_ get (1) -
const
_ missing (1) -
const
_ set (1) - constants (2)
- content (1)
- copy (1)
- count (3)
-
count
_ nodes (1) -
count
_ objects (1) -
count
_ objects _ size (1) -
count
_ tdata _ objects (1) - cp (1)
-
cp
_ r (1) - create (1)
-
create
_ makefile (1) -
create
_ rule (1) - cycle (3)
- debug (3)
- debug? (1)
-
def
_ class (1) -
def
_ module (1) - default (3)
- default= (1)
-
default
_ argv (1) -
default
_ argv= (1) -
default
_ event _ sources (1) -
default
_ external (1) -
default
_ external= (1) -
default
_ internal= (1) -
default
_ proc (1) -
default
_ proc= (1) -
define
_ method (2) -
defined
_ class (1) - delete (2)
-
delete
_ all (1) -
delete
_ attribute (1) -
delete
_ if (6) -
deprecate
_ constant (1) - deq (2)
- detect (2)
- diagonal (1)
- dig (1)
- disassemble (2)
- display (1)
- divmod (1)
- dlunwrap (1)
-
do
_ not _ reverse _ lookup (1) -
double
_ fig (1) - drop (2)
-
drop
_ while (4) - dummy? (1)
- dump (3)
- dup (6)
-
e
_ option _ supplied (1) - each (12)
-
each
_ attribute (1) -
each
_ char (2) -
each
_ child (2) -
each
_ codepoint (1) -
each
_ cons (2) -
each
_ element _ with _ attribute (1) -
each
_ entry (2) -
each
_ line (6) -
each
_ object (1) -
each
_ pair (3) -
each
_ slice (2) -
each
_ strongly _ connected _ component (2) -
each
_ strongly _ connected _ component _ from (2) -
each
_ value (3) -
each
_ with _ index (4) -
each
_ with _ object (2) - egrep (1)
- eigen (1)
- eigensystem (1)
- elements (1)
- empty (1)
- empty? (1)
-
encode
_ www _ form _ component (1) - encoding (1)
-
entity
_ expansion _ limit (1) -
entity
_ expansion _ limit= (1) -
entity
_ expansion _ text _ limit (2) -
entity
_ expansion _ text _ limit= (2) - entries (1)
-
enum
_ for (2) - eql? (4)
- equal? (3)
- error (2)
-
error
_ bytes (1) - eval (1)
- exact? (1)
-
exclude
_ end? (1) -
excluded
_ from _ list? (1) - executable? (1)
-
executable
_ real? (2) - execute (4)
- exit (1)
- exit! (1)
- extend (1)
-
extend
_ object (1) - extended (1)
- extract (2)
- fail (2)
- fatal (2)
- fdiv (1)
- feed (1)
- fetch (2)
-
fetch
_ values (2) - field (1)
- filter (2)
- find (2)
-
find
_ all (3) -
find
_ class _ path (1) -
find
_ index (5) - first (2)
-
first
_ lineno (1) -
fixed
_ encoding? (1) -
flat
_ map (3) - floor (1)
- flush (1)
- force (1)
-
force
_ encoding (1) -
force
_ quotes? (1) - foreach (1)
- format (2)
- freeze (1)
-
from
_ yaml (1) -
garbage
_ collect (2) - gem (1)
-
get
_ attribute (1) -
get
_ attribute _ ns (1) -
get
_ byte (1) - getbyte (1)
- getch (1)
- getlocal (1)
- getopts (1)
- grep (3)
-
grep
_ v (3) -
group
_ by (2) - gsub (4)
- gsub! (4)
- h (1)
-
has
_ value? (1) - headers (2)
- home (1)
-
html
_ escape (1) - i (1)
- id2ref (1)
- identical? (1)
- imag (1)
- imaginary (1)
- include (2)
- include? (8)
- included (1)
-
included
_ modules (1) -
incomplete
_ input? (1) - index (2)
- info (2)
- inherited (1)
- inject (3)
-
insert
_ output (1) - inspect (2)
- install (1)
-
instance
_ method (1) -
instance
_ methods (1) -
instance
_ variable _ set (1) - integer? (1)
- irb (1)
-
irb
/ ruby-lex (1) - iseuc (1)
-
keep
_ if (1) - label (1)
-
laplace
_ expansion (1) -
last
_ modified (1) -
latest
_ gc _ info (1) - lazy (2)
- lchown (1)
- length (4)
-
lex
_ getline (1) - lines (1)
- link (1)
- list (1)
- ljust (1)
- ln (1)
-
ln
_ s (1) - load (3)
-
load
_ documents (2) -
load
_ from _ binary (1) -
load
_ from _ binary _ extra _ data (1) -
load
_ full _ rubygems _ library (1) -
load
_ specification (1) - local (2)
- localtime (1)
- locked? (1)
- log (2)
- lookup (1)
- loop (1)
- lup (1)
-
lup
_ decomposition (1) - lusolve (1)
- magnitude (3)
- makedirs (1)
- map (6)
- map! (1)
-
marshal
_ dump (3) - match? (1)
-
matched
_ size (1) - max (4)
-
max
_ by (4) - measure (1)
- member? (2)
- members (2)
- merge (2)
-
method
_ added (1) -
method
_ defined? (1) -
method
_ removed (1) -
method
_ undefined (1) - methods (1)
- min (4)
-
min
_ by (4) - minmax (2)
-
minmax
_ by (2) - mkdir (1)
-
mkdir
_ p (1) - mkpath (1)
- mktime (2)
-
mod
_ mul (1) -
mod
_ sub (1) -
module
_ eval (2) -
module
_ exec (1) -
module
_ function (1) - modulo (4)
- mountpoint? (1)
- move (1)
- mv (1)
- name (2)
- namespace (1)
- namespaces (1)
- negative? (1)
- nesting (1)
- new (68)
-
next
_ values (1) - none? (3)
- nonzero? (1)
- norm (1)
-
nowrite
_ flag (1) -
nowrite
_ flag= (1) -
num
_ bits (1) -
num
_ bytes (1) - numerator (3)
-
ole
_ query _ interface (1) -
on
_ head (1) -
on
_ tail (1) - one? (2)
- order! (4)
-
original
_ name (1) - owned? (1)
- owner (2)
- pack (1)
- pack テンプレート文字列 (1)
- parse (1)
- parse! (2)
- partition (2)
-
peek
_ result (1) -
peek
_ values (1) - permutation (2)
- permute! (2)
- phase (1)
- pipeline (1)
- polar (2)
- pop (2)
- positive? (1)
- pow (1)
- prefix (1)
- prefixes (1)
- prepend (1)
-
prepend
_ features (1) - prepended (1)
- prerelease? (1)
-
pretty
_ unparse (1) -
previous
_ sibling= (1) -
prime
_ division (1) -
prime
_ fasttest? (1) -
primitive
_ convert (4) - printf (2)
- private (1)
-
private
_ class _ method (1) -
private
_ constant (1) -
private
_ instance _ methods (1) -
private
_ method _ defined? (1) - product (2)
-
proper
_ subset? (1) -
proper
_ superset? (1) -
protected
_ method _ defined? (1) -
psych
_ yaml _ as (1) - public (2)
-
public
_ class _ method (1) -
public
_ constant (1) -
public
_ instance _ method (1) -
public
_ method (1) -
public
_ method _ defined? (1) -
public
_ send (2) - push (3)
- putc (1)
- puts (4)
- quo (3)
- r (1)
- raise (2)
- rassoc (1)
-
rb
_ Integer (1) -
rb
_ ary _ entry (1) -
rb
_ ary _ new (1) -
rb
_ ary _ new2 (1) -
rb
_ ary _ new3 (1) -
rb
_ ary _ pop (1) -
rb
_ ary _ push (1) -
rb
_ ary _ shift (1) -
rb
_ ary _ store (1) -
rb
_ assoc _ new (1) -
rb
_ call _ super (1) -
rb
_ class _ real (1) -
rb
_ compile _ file (1) -
rb
_ compile _ string (1) -
rb
_ data _ object _ alloc (1) -
rb
_ define _ class _ under (1) -
rb
_ define _ method (1) -
rb
_ eval _ string (1) -
rb
_ eval _ string _ protect (1) -
rb
_ f _ block _ given _ p (1) -
rb
_ f _ lambda (1) -
rb
_ frame _ last _ func (1) -
rb
_ gc _ mark _ maybe (1) -
rb
_ gv _ get (1) -
rb
_ gv _ set (1) -
rb
_ load (1) -
rb
_ protect (1) -
rb
_ scan _ args (1) -
rb
_ str _ new (1) -
rb
_ to _ int (1) -
rdoc
/ parser / ruby _ tools (1) - real (2)
- real? (1)
- rect (1)
- rectangular (4)
- reduce (3)
- refine (1)
- regular? (1)
- reject (5)
- reject! (5)
- reload (1)
- remove (1)
-
remove
_ class _ variable (1) -
remove
_ const (1) -
remove
_ entry (1) -
remove
_ method (1) -
repeated
_ permutation (1) - replace (1)
- replacement= (1)
- replicate (1)
- report (1)
-
request
_ body _ permitted? (1) -
request
_ get (2) -
request
_ head (2) -
request
_ post (2) - require (2)
-
require
_ relative (1) -
respond
_ to? (1) -
respond
_ to _ missing? (1) -
response
_ body _ permitted? (1) - restore (1)
- result (3)
- resume (1)
-
return
_ headers? (1) -
return
_ value (1) -
reverse
_ each (2) - rewind (1)
-
rexml
/ document (1) -
rexml
/ parsers / pullparser (1) -
rexml
/ parsers / ultralightparser (1) -
rinda
/ tuplespace (1) - rm (1)
-
rm
_ r (1) - rmdir (1)
-
root
_ node (1) - round (6)
- ruby (1)
-
ruby 1
. 8 . 2 feature (1) -
ruby
_ finalize (1) -
ruby
_ stack _ length (1) -
ruby
_ xcalloc (1) -
ruby
_ xmalloc (1) -
ruby
_ xrealloc (1) -
rubygems
/ builder (1) -
rubygems
/ commands / build _ command (1) -
rubygems
/ commands / cert _ command (1) -
rubygems
/ commands / cleanup _ command (1) -
rubygems
/ commands / contents _ command (1) -
rubygems
/ commands / dependency _ command (1) -
rubygems
/ commands / help _ command (1) -
rubygems
/ commands / install _ command (1) -
rubygems
/ commands / list _ command (1) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / outdated _ command (1) -
rubygems
/ commands / query _ command (1) -
rubygems
/ commands / search _ command (1) -
rubygems
/ commands / sources _ command (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ commands / stale _ command (1) -
rubygems
/ commands / uninstall _ command (1) -
rubygems
/ config _ file (1) -
rubygems
/ defaults (1) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (1) -
rubygems
/ ext / builder (1) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ gem _ openssl (1) -
rubygems
/ installer (1) -
rubygems
/ old _ format (1) -
rubygems
/ platform (1) -
rubygems
/ require _ paths _ builder (1) -
rubygems
/ security (1) -
rubygems
/ test _ utilities (1) -
rubygems
/ uninstaller (1) -
rubygems
/ validator (1) - run (2)
-
satisfied
_ by? (1) - saturday? (1)
- scalar (1)
- scan (1)
-
scan
_ full (1) -
scan
_ until (1) - scrub (1)
- scrub! (1)
-
search
_ full (1) - select (8)
- select! (3)
-
send
_ request (1) -
set
_ trace _ func (2) - setuid? (2)
- shift (2)
- shuffle (2)
- shuffle! (2)
-
singleton
_ class? (1) -
singleton
_ method _ undefined (1) -
singleton
_ methods (1) - size (6)
-
skip
_ until (1) - sleep (1)
- slice (1)
- slice! (1)
-
slice
_ after (4) -
slice
_ before (5) -
slice
_ when (2) - solve (1)
- sort (2)
-
sort
_ by (2) -
source
_ location (3) - specific? (1)
- split (1)
- sprintf (1)
- squeeze! (1)
-
st
_ delete _ safe (1) -
stand
_ alone? (1) - start (4)
- stat (1)
- step (6)
- store (2)
- stress= (1)
- strftime (1)
- struct (1)
- sub (4)
- sub! (3)
-
sub
_ ext (1) -
sub
_ type (1) -
subdomain
_ of? (1) - subsec (1)
- subset? (1)
- subtract (1)
- sum (2)
- summarize (2)
- sunday? (1)
-
super
_ method (1) - superclass (1)
- superset? (1)
- symlink (1)
- syscall (1)
- take (2)
-
take
_ while (5) - target (1)
- tcp (2)
- test (2)
-
thread
_ variable _ set (1) - throw (1)
- thursday? (1)
- timeout (3)
- timeouts= (1)
-
to
_ a (2) -
to
_ binary (1) -
to
_ c (1) -
to
_ enum (2) -
to
_ h (2) -
to
_ json (2) -
to
_ mailtext (1) -
to
_ rfc822text (1) -
to
_ s (2) -
to
_ set (2) -
to
_ string (1) -
to
_ value (1) - touch (2)
- truncate (8)
- trust (1)
-
try
_ lock (1) -
tsort
_ each (1) -
tty
_ output= (1) - tuesday? (1)
- ucmp (1)
- uid (1)
- umask (2)
- uname (1)
-
unconverted
_ fields? (1) -
undef
_ method (1) -
undefine
_ finalizer (1) - ungetc (1)
-
unicode
_ normalize (1) -
unicode
_ normalize! (1) -
unicode
_ normalized? (1) - union (1)
- uniq (2)
- uniq! (2)
- unknown (2)
- unlink (3)
- unnormalize (1)
- unpack (1)
- unparse (1)
- unscan (1)
- unshift (1)
- untaint (1)
-
untrace
_ var (1) - untrust (1)
- untrusted? (1)
- upcase! (1)
- update (2)
- upto (1)
- uptodate? (1)
-
url
_ encode (1) -
urlsafe
_ encode64 (1) -
use
_ readline (1) -
use
_ readline? (1) - using (2)
- utc (1)
- utc? (1)
- utime (1)
- value (6)
- value= (2)
- value? (1)
- values (2)
-
values
_ at (5) -
verbose
_ flag (1) -
verbose
_ flag= (1) - version (1)
- wait (1)
- wait2 (1)
-
wait
_ readable (1) - waitpid2 (1)
- wakeup (1)
- warn (2)
-
warn
_ unless _ e _ option (1) -
warning
_ unless _ e _ option (1) -
with
_ defaults (1) -
with
_ index (1) - write (1)
-
yaml
_ as (1) - yield (1)
-
yield
_ under (1) - zero (1)
- zero? (1)
- zip (4)
- | (1)
- メソッド呼び出し(super・ブロック付き・yield) (1)
- リテラル (1)
- 正規表現 (1)
検索結果
先頭5件
-
Gem
:: Platform :: RUBY -> String (81652.0) -
Pure Ruby の Gem はバイナリファイルをビルドするために Gem::Specification#extensions を使用する可能性があります。
Pure Ruby の Gem はバイナリファイルをビルドするために Gem::Specification#extensions
を使用する可能性があります。 -
Gem
:: QuickLoader . load _ full _ rubygems _ library (63901.0) -
prelude.c で定義されている内部用のメソッドです。
prelude.c で定義されている内部用のメソッドです。 -
ERB
:: Util . # u(s) -> String (63358.0) -
文字列 s を URLエンコードした文字列を返します。
文字列 s を URLエンコードした文字列を返します。
文字列 s 中に含まれる 2バイト文字や半角スペースについて URL エンコードを行った文字列を返します(CGI.escapeとほぼ同じです)。
@param s URLエンコードを行う文字列
//emlist[例][ruby]{
require "erb"
include ERB::Util
puts url_encode("Programming Ruby: The Pragmatic Programmer's Guide")
# Programming%20Ruby%3A%20%20The%20Pragmatic%20P... -
RubyVM
:: InstructionSequence . compile _ file(file , options = nil) -> RubyVM :: InstructionSequence (55549.0) -
引数 file で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
引数 file で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
RubyVM::InstructionSequence.compile とは異なり、file、path などの
メタデータは自動的に取得します。
@param file ファイル名を文字列で指定します。
@param options コンパイル時のオプションを true、false、Hash オブ
ジェクトのいずれかで指定します。詳細は
RubyVM::Instr... -
Object
:: RUBY _ PATCHLEVEL -> Integer (55006.0) -
Ruby のパッチレベルを表す Integer オブジェクトです。
Ruby のパッチレベルを表す Integer オブジェクトです。
パッチレベルはRubyの各バージョンに対するバグ修正パッチの適用をカウントしています。
teeny リリースのそれぞれについてパッチレベルは 0 から始まり、
その teeny リリースに対してバグ修正パッチが適用される度に増えていきます。
パッチレベルという概念および RUBY_PATCHLEVEL 定数は、 Ruby 1.8.5-p1 以降、 1.8.6 以降で導入されました。
1.8.5やそれ以前のバージョンでは定義されていません。 -
Fiddle
:: BUILD _ RUBY _ PLATFORM -> String (54970.0) -
ビルドに用いた ruby のプラットフォームを表す文字列。
ビルドに用いた ruby のプラットフォームを表す文字列。
通常、Object::RUBY_PLATFORM と同じ。 -
Object
:: RUBY _ RELEASE _ DATE -> String (54952.0) -
Ruby のリリース日を表す文字列。
Ruby のリリース日を表す文字列。 -
Object
:: RUBY _ PLATFORM -> String (54904.0) -
プラットフォームを表す文字列。
プラットフォームを表す文字列。 -
int ruby
_ stack _ length(VALUE **p) (54901.0) -
-
void * ruby
_ xcalloc(long n , long size) (54901.0) -
引数と返り値は calloc() と同じです。 ただしメモリ割り当てに失敗したときは GC を行いそれでもだめなときは例外 NoMemoryError を発生します。 つまりこの関数が返り値を返したときは常に割り当ては成功です。
引数と返り値は calloc() と同じです。
ただしメモリ割り当てに失敗したときは
GC を行いそれでもだめなときは例外 NoMemoryError を発生します。
つまりこの関数が返り値を返したときは常に割り当ては成功です。 -
void * ruby
_ xmalloc(long size) (54901.0) -
引数と返り値は malloc() と同じ。 ただしメモリ割り当てに失敗したときは GC を行いそれでもだめなときは NoMemoryError を raise する。 つまりこの関数が返り値を返したときは常に割り当ては成功している。
引数と返り値は malloc() と同じ。
ただしメモリ割り当てに失敗したときは
GC を行いそれでもだめなときは NoMemoryError を raise する。
つまりこの関数が返り値を返したときは常に割り当ては成功している。 -
void * ruby
_ xrealloc(void *ptr , long size) (54901.0) -
引数と返り値の意味は realloc() と同じ。 ただしメモリ割り当てに失敗したときは GC を行いそれでもだめなときは NoMemoryError を raise する。 つまりこの関数が返り値を返したときは常に割り当ては成功している。
引数と返り値の意味は realloc() と同じ。
ただしメモリ割り当てに失敗したときは
GC を行いそれでもだめなときは NoMemoryError を raise する。
つまりこの関数が返り値を返したときは常に割り当ては成功している。 -
void ruby
_ finalize(void) (54901.0) -
評価器プロセスの終了処理を行います。
評価器プロセスの終了処理を行います。 -
WEBrick
:: HTTPServlet :: CGIHandler :: Ruby -> String (54652.0) -
Ruby のパスを返します。
Ruby のパスを返します。 -
Module
# module _ function(*name) -> self (54637.0) -
メソッドをモジュール関数にします。
メソッドをモジュール関数にします。
引数が与えられた時には、
引数で指定されたメソッドをモジュール関数にします。
引数なしのときは今後このモジュール定義文内で
新しく定義されるメソッドをすべてモジュール関数にします。
モジュール関数とは、プライベートメソッドであると同時に
モジュールの特異メソッドでもあるようなメソッドです。
例えば Math モジュールのメソッドはすべてモジュール関数です。
self を返します。
@param name String または Symbol を 0 個以上指定します。
=== 注意
module_function はメソッドに「モジュール関数」とい... -
LUSolve
. # lusolve(a , b , ps , zero = 0 . 0) -> [BigDecimal] (54619.0) -
LU 分解を用いて、連立1次方程式 Ax = b の解 x を求めて返します。
LU 分解を用いて、連立1次方程式 Ax = b の解 x を求めて返します。
@param a 行列を BigDecimal の配列で指定します。
各要素を Row-major order で並べて 1 次元の配列にし、
LUSolve.#ludecomp で変換したものを指定します。
@param b ベクトルを BigDecimal の配列で指定します。
@param ps LUSolve.#ludecomp の返り値を指定します。
@param zero 0.0 を表す値を指定します。
//emlist[][ruby]{
require ... -
Module
# included _ modules -> [Module] (54619.0) -
self にインクルードされているモジュールの配列を返します。
self にインクルードされているモジュールの配列を返します。
//emlist[例][ruby]{
module Mixin
end
module Outer
include Mixin
end
Mixin.included_modules #=> []
Outer.included_modules #=> [Mixin]
//}
@see Module#ancestors -
rubygems
/ commands / install _ command (54127.0) -
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
Options:
--platform PLATFORM 指定されたプラットフォームの Gem パッケージをインストールします
-v, --version VERSION 指定されたバージョンの Gem パッケージをインストールします
Install/Update Op... -
rubygems
/ commands / list _ command (54055.0) -
Gem パッケージの名前を前方一致で検索するためのライブラリです。
Gem パッケージの名前を前方一致で検索するためのライブラリです。
Usage: gem list [STRING] [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION 指定されたバージョンの一覧を出力します
-d, --[no-]details Gem パッケージの詳細も表示します
--[no-]versions ... -
RDoc
:: Parser :: RubyTools (54049.0) -
RDoc::RubyLex と RDoc::RubyToken を使って Ruby のソースコー ドのパーサを記述するためのメソッドを定義するモジュールです。
RDoc::RubyLex と RDoc::RubyToken を使って Ruby のソースコー
ドのパーサを記述するためのメソッドを定義するモジュールです。
RDoc::Parser を継承していないため、パーサクラスとしては利用できま
せん。
ライブラリの内部で使用します。 -
irb
/ ruby-lex (54049.0) -
Ruby のソースコードを字句解析するためのサブライブラリです。
Ruby のソースコードを字句解析するためのサブライブラリです。
このライブラリで定義されているメソッドはユーザが直接使用するものではありません。 -
rdoc
/ parser / ruby _ tools (54049.0) -
RDoc::RubyLex と RDoc::RubyToken を使って Ruby のソースコー ドのパーサを記述するためのモジュールを定義するサブライブラリです。
RDoc::RubyLex と RDoc::RubyToken を使って Ruby のソースコー
ドのパーサを記述するためのモジュールを定義するサブライブラリです。 -
rubygems
/ commands / uninstall _ command (54037.0) -
Gem パッケージをアンインストールするためのライブラリです。
Gem パッケージをアンインストールするためのライブラリです。
Usage: gem uninstall GEMNAME [GEMNAME ...] [options]
Options:
-a, --[no-]all Uninstall all matching versions
-I, --[no-]ignore-dependencies Ignore dependency requirements while
uninstalling
-x, --... -
rubygems
/ commands / build _ command (54019.0) -
Gem パッケージをビルドするためのライブラリです。
Gem パッケージをビルドするためのライブラリです。
Usage: gem build GEMSPEC_FILE [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します... -
rubygems
/ commands / cleanup _ command (54019.0) -
ローカルにインストールされている古い Gem を削除するライブラリです。
ローカルにインストールされている古い Gem を削除するライブラリです。
Usage: gem cleanup [GEMNAME ...] [options]
Options:
-d, --dryrun
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--... -
rubygems
/ commands / help _ command (54019.0) -
Gem コマンドに関するヘルプを提供するためのライブラリです。
Gem コマンドに関するヘルプを提供するためのライブラリです。
Usage: gem help ARGUMENT [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
... -
rubygems
/ commands / lock _ command (54019.0) -
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために
必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
Usage: gem lock GEMNAME-VERSION [GEMNAME-VERSION ...] [options]
Options:
-s, --[no-]strict 依存関係を満たせない場合に失敗します
Common Options:
-h, --help このコマンドのヘルプを表示します
... -
RDoc
:: RubyLex (54001.0) -
ライブラリの内部で使用します。
ライブラリの内部で使用します。 -
rubygems
/ builder (54001.0) -
Gem::Specification のインスタンスから Gem パッケージを作成するためのライブラリです。
Gem::Specification のインスタンスから Gem パッケージを作成するためのライブラリです。 -
rubygems
/ commands / stale _ command (54001.0) -
インストールされている Gem パッケージの一覧をアクセス時刻とともに表示するための ライブラリです。
インストールされている Gem パッケージの一覧をアクセス時刻とともに表示するための
ライブラリです。 -
rubygems
/ config _ file (54001.0) -
設定ファイルに書かれている gem コマンドのオプションを オブジェクトに保存するためのライブラリです。
設定ファイルに書かれている gem コマンドのオプションを
オブジェクトに保存するためのライブラリです。 -
rubygems
/ defaults (54001.0) -
RubyGems ライブラリで使用するデフォルト値を返すメソッドを定義したライブラリです。
RubyGems ライブラリで使用するデフォルト値を返すメソッドを定義したライブラリです。 -
rubygems
/ dependency _ installer (54001.0) -
ある Gem が依存している Gem を同時にインストールするためのライブラリです。
ある Gem が依存している Gem を同時にインストールするためのライブラリです。 -
rubygems
/ dependency _ list (54001.0) -
Gem の依存関係を扱うためのライブラリです。
Gem の依存関係を扱うためのライブラリです。 -
rubygems
/ ext / builder (54001.0) -
拡張ライブラリをビルドするためのクラスを扱うライブラリです。
拡張ライブラリをビルドするためのクラスを扱うライブラリです。 -
rubygems
/ ext / configure _ builder (54001.0) -
configure スクリプトを元に拡張ライブラリをビルドするクラスを扱うライブラリです。
configure スクリプトを元に拡張ライブラリをビルドするクラスを扱うライブラリです。 -
rubygems
/ ext / ext _ conf _ builder (54001.0) -
extconf.rb を元にして拡張ライブラリをビルドするためのクラスを扱うライブラリです。
extconf.rb を元にして拡張ライブラリをビルドするためのクラスを扱うライブラリです。 -
rubygems
/ ext / rake _ builder (54001.0) -
Rake を使用して拡張ライブラリをビルドするためのクラスを扱うライブラリです。
Rake を使用して拡張ライブラリをビルドするためのクラスを扱うライブラリです。 -
rubygems
/ gem _ openssl (54001.0) -
OpenSSL がインストールされていないシステムがあるかもしれないので、 OpenSSL が使えるかどうかを確認するためのライブラリです。
OpenSSL がインストールされていないシステムがあるかもしれないので、
OpenSSL が使えるかどうかを確認するためのライブラリです。 -
rubygems
/ install _ update _ options (54001.0) -
Gem::Command で使用するインストールとアップデートに関するオプションを 扱うためのモジュールを定義したライブラリです。
Gem::Command で使用するインストールとアップデートに関するオプションを
扱うためのモジュールを定義したライブラリです。 -
rubygems
/ installer (54001.0) -
RubyGems の Gem をインストールするためのライブラリです。
RubyGems の Gem をインストールするためのライブラリです。 -
rubygems
/ local _ remote _ options (54001.0) -
Gem::Command で使用する --local, --remote オプションのためのモジュールを 定義したライブラリです。
Gem::Command で使用する --local, --remote オプションのためのモジュールを
定義したライブラリです。 -
rubygems
/ old _ format (54001.0) -
RubyGems の Gem ファイルの内部構造を扱うためのライブラリです。
RubyGems の Gem ファイルの内部構造を扱うためのライブラリです。
@see rubygems/format -
rubygems
/ platform (54001.0) -
選択した Gem のインストールを実行できるプラットフォームのリストを扱うライブラリです。
選択した Gem のインストールを実行できるプラットフォームのリストを扱うライブラリです。 -
rubygems
/ require _ paths _ builder (54001.0) -
必要であれば、'.require_paths' というファイルを Gem ごとに作成するための モジュールを提供するためのライブラリです。
必要であれば、'.require_paths' というファイルを Gem ごとに作成するための
モジュールを提供するためのライブラリです。 -
rubygems
/ test _ utilities (54001.0) -
テストで使用するクラスやメソッドを定義しています。
テストで使用するクラスやメソッドを定義しています。 -
rubygems
/ uninstaller (54001.0) -
Gem のアンインストールを行うためのライブラリです。
Gem のアンインストールを行うためのライブラリです。 -
rubygems
/ validator (54001.0) -
様々な Gem ファイルや Gem データベースを検証するためのライブラリです。
様々な Gem ファイルや Gem データベースを検証するためのライブラリです。 -
Rake
:: Application # tty _ output=(tty _ output _ state) (46219.0) -
TTY に対する出力状態を上書きします。
TTY に対する出力状態を上書きします。
大抵の場合、テストのために使用します。
@param tty_output_state 変更後の状態を指定します
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tty_output? # => false
Rake.application.tty_output = "debug output" # => "debug output"
... -
FileUtils
# ruby(*args) {|result , status| . . . } (45988.0) -
与えられた引数で Ruby インタプリタを実行します。
与えられた引数で Ruby インタプリタを実行します。
@param args Ruby インタプリタに与える引数を指定します。
例:
ruby %{-pe '$_.upcase!' <README}
@see Kernel.#sh -
Class
# superclass -> Class | nil (45937.0) -
自身のスーパークラスを返します。
自身のスーパークラスを返します。
//emlist[例][ruby]{
File.superclass #=> IO
IO.superclass #=> Object
class Foo; end
class Bar < Foo; end
Bar.superclass #=> Foo
Object.superclass #=> BasicObject
//}
ただし BasicObject.superclass は nil を返します。
//emlist[例][ruby]{
BasicObject.supercl... -
WIN32OLE
# ole _ query _ interface(iid) -> WIN32OLE (45937.0) -
IID(インターフェイスID)を指定してオブジェクトの別のインターフェイスを 持つオブジェクトを取得します。
IID(インターフェイスID)を指定してオブジェクトの別のインターフェイスを
持つオブジェクトを取得します。
オブジェクトが複数のオートメーション用インターフェイスを持つ場合に、当
メソッドを利用して既定のインターフェイスとは異なるインターフェイスを取
得します。
@param iid 取得するインターフェイスのIIDを文字列で指定します。
@return iidパラメータで指定したインターフェイスを持つWIN32OLEオブジェクト
@raise WIN32OLERuntimeError 指定したIIDをオブジェクトが持たない場合に通知されます。
ie = WIN32OLE.n... -
FileTest
. # executable _ real?(file) -> bool (45919.0) -
ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("empty.txt", "")
File.chmod(0744, "empty.txt")
FileTest.executable_real?("empty.txt") # => true
File.chmod(0644, "empty.txt")
FileTest.ex... -
UnboundMethod
# source _ location -> [String , Integer] | nil (45655.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]
/... -
Fiddle
:: RUBY _ FREE -> Integer (45652.0) -
ruby_xfree の関数ポインタのアドレスの値。
ruby_xfree の関数ポインタのアドレスの値。 -
Enumerable
# chunk _ while {|elt _ before , elt _ after| . . . } -> Enumerator (45619.0) -
要素を前から順にブロックで評価し、その結果によって要素をチャンクに分け た(グループ化した)要素を持つEnumerator を返します。
要素を前から順にブロックで評価し、その結果によって要素をチャンクに分け
た(グループ化した)要素を持つEnumerator を返します。
隣り合う値をブロックパラメータ elt_before、elt_after に渡し、ブロックの
評価値が偽になる所でチャンクを区切ります。
ブロックは self の長さ - 1 回呼び出されます。
@return チャンクごとの配列をブロックパラメータに渡す Enumerator
を返します。eachメソッドは以下のように呼び出します。
//emlist{
enum.chunk_while { |elt_before, elt_af... -
File
:: Stat # executable? -> bool (45619.0) -
実効ユーザ/グループIDで実行できる時に真を返します。
実効ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable?
# 例
#=> true
//} -
File
:: Stat # executable _ real? -> bool (45619.0) -
実ユーザ/グループIDで実行できる時に真を返します。
実ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable_real?
#例
#=> true
//} -
Rake
:: FileList # clear _ exclude -> self (45619.0) -
登録されている除外リストをクリアします。
登録されている除外リストをクリアします。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test.rb", "test.bak")
file_list.exclude("test.rb")
# DEFAULT_IGNORE_PATTERNS と "test.rb" の双方の除外がクリアされる
file_list.clear_exclude
file_list # => ["test.r... -
RubyVM
:: DEFAULT _ PARAMS -> {Symbol => Integer} (45619.0) -
RubyVM のデフォルトのパラメータを返します。
RubyVM のデフォルトのパラメータを返します。
[注意] この値は C Ruby 固有のものです。変更しても RubyVM の動作に
は影響しません。また、仕様は変更される場合があるため、この値に依存すべ
きではありません。 -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (45601.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.... -
OpenSSL
:: ASN1 . # Null(value) -> OpenSSL :: ASN1 :: Null -> OpenSSL :: ASN1 :: Null (37867.0) -
ASN.1 の Null 型の値を表現する Ruby のオブジェクトを 生成します。
ASN.1 の Null 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::Null.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(nilのみ)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか) -
OpenSSL
:: ASN1 . # UniversalString(value) -> OpenSSL :: ASN1 :: UniversalString -> OpenSSL :: ASN1 :: UniversalString (37867.0) -
ASN.1 の UniversalString 型の値を表現する Ruby のオブジェクトを 生成します。
ASN.1 の UniversalString 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::UniversalString.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか) -
VALUE rb
_ define _ class _ under(VALUE outer , const char *name , VALUE super) (37849.0) -
super のサブクラスとして新しい Ruby クラスを、outer の定数として定義し て返します。
super のサブクラスとして新しい Ruby クラスを、outer の定数として定義し
て返します。
@param outer 定義するクラスが定数として所属するクラス
@param name クラス名
@param super 継承元のクラス。NULL を指定した場合は Object クラス
@raise TypeError 引数 name と同じ名前の定数が既に存在し、それが
Class オブジェクトではない場合に発生します。
@raise TypeError 定義済みのクラスと継承元のクラスが一致しない場合に発生
... -
static VALUE yield
_ under(VALUE under , VALUE self) (37849.0) -
モジュール under の元のコンテキストで ruby_block を評価します。
モジュール under の元のコンテキストで
ruby_block を評価します。 -
NODE * rb
_ compile _ file(const char *f , VALUE file , int start) (37441.0) -
Ruby の IO オブジェクト file から文字列を読み込み、 それを Ruby プログラムとして構文木にコンパイルします。 作成した構文木は ruby_eval_tree と ruby_eval_tree_begin に 格納し、同時に ruby_eval_tree を返します。 またコンパイルするときにファイル f の line 行目からをコンパイル していると仮定します。
Ruby の IO オブジェクト file から文字列を読み込み、
それを Ruby プログラムとして構文木にコンパイルします。
作成した構文木は ruby_eval_tree と ruby_eval_tree_begin に
格納し、同時に ruby_eval_tree を返します。
またコンパイルするときにファイル f の line 行目からをコンパイル
していると仮定します。 -
Matrix
# lup -> Matrix :: LUPDecomposition (37399.0) -
行列の LUP 分解を保持したオブジェクトを返します。
行列の LUP 分解を保持したオブジェクトを返します。
Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*self を満たします。
//emlist[例][ruby]{
require 'matrix'
a = Matrix[[1, 2], [3, 4]]
l, u, p = a.lup
l.lower_triangular? # => true
u.upper_triangular? # => true
p.... -
Matrix
# lup _ decomposition -> Matrix :: LUPDecomposition (37399.0) -
行列の LUP 分解を保持したオブジェクトを返します。
行列の LUP 分解を保持したオブジェクトを返します。
Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*self を満たします。
//emlist[例][ruby]{
require 'matrix'
a = Matrix[[1, 2], [3, 4]]
l, u, p = a.lup
l.lower_triangular? # => true
u.upper_triangular? # => true
p.... -
ERB
# def _ module(methodname=& # 39;erb& # 39;) -> Module (37267.0) -
変換した Ruby スクリプトをメソッドとして定義した無名のモジュールを返します。
変換した Ruby スクリプトをメソッドとして定義した無名のモジュールを返します。
@param methodname メソッド名
//emlist[例][ruby]{
require 'erb'
filename = 'example.rhtml'
erb = ERB.new("test1<%= arg1 %>\ntest2<%= arg2 %>\n")
erb.filename = filename
MyModule = erb.def_module('render(arg1, arg2)')
class MyClass
include MyModule
end
print My... -
OpenSSL
:: ASN1 . # Null(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Null (37267.0) -
ASN.1 の Null 型の値を表現する Ruby のオブジェクトを 生成します。
ASN.1 の Null 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::Null.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(nilのみ)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか) -
OpenSSL
:: ASN1 . # UniversalString(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: UniversalString (37267.0) -
ASN.1 の UniversalString 型の値を表現する Ruby のオブジェクトを 生成します。
ASN.1 の UniversalString 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::UniversalString.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか) -
RubyVM
:: InstructionSequence . compile(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence (37267.0) -
引数 source で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
引数 source で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
@param source Ruby のソースコードを文字列で指定します。
@param file ファイル名を文字列で指定します。
@param path 引数 file の絶対パスファイル名を文字列で指定します。
@param line 引数 source の 1 行目の行番号を指定します。
@param options コンパイル時のオプションを true、false、Hash オブ
... -
OpenSSL
:: ASN1 :: ASN1Data # value=(value) (37249.0) -
ASN.1 値に対応するRubyのオブジェクトを変更します。
ASN.1 値に対応するRubyのオブジェクトを変更します。
@param value 設定するオブジェクト
@see OpenSSL::ASN1::ASN1Data#value -
VALUE rb
_ call _ super(int argc , const VALUE *argv) (37249.0) -
Rubyレベルでの super です。 現在評価中のメソッドのスーパークラスのメソッドを呼び出します。
Rubyレベルでの super です。
現在評価中のメソッドのスーパークラスのメソッドを呼び出します。 -
Net
:: HTTPHeader # each _ value {|value| . . . . } -> () (37237.0) -
保持しているヘッダの値をブロックに渡し、呼びだします。
保持しているヘッダの値をブロックに渡し、呼びだします。
渡される文字列は ", " で連結したものです。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.each_value { |value| puts value }
# => gzip;q=1.0,deflate;q=0.6,identity;q=0.3
# => */*
# => Ruby
//} -
Hash
# each _ value {|value| . . . } -> self (37219.0) -
ハッシュの値を引数としてブロックを評価します。
ハッシュの値を引数としてブロックを評価します。
反復の際の評価順序はキーが追加された順です。
ブロック付きの場合selfを、
無しで呼ばれた場合 Enumerator を返します。
//emlist[例][ruby]{
{:a=>1, :b=>2}.each_value {|v| p v}
#=> 1
# 2
p({:a=>1, :b=>2}.each_value) # => #<Enumerator: {:a=>1, :b=>2}:each_value>
//}
@see Hash#each_pair,Hash#each_key -
Hash
# has _ value?(value) -> bool (37219.0) -
ハッシュが value を値として持つ時真を返します。 値の一致判定は == で行われます。
ハッシュが value を値として持つ時真を返します。
値の一致判定は == で行われます。
@param value 探索する値を指定します。
//emlist[][ruby]{
p({1 => "one"}.value?("one")) #=> true
p({1 => "one"}.value?("two")) #=> false
//}
@see Hash#key? -
Hash
# value?(value) -> bool (37219.0) -
ハッシュが value を値として持つ時真を返します。 値の一致判定は == で行われます。
ハッシュが value を値として持つ時真を返します。
値の一致判定は == で行われます。
@param value 探索する値を指定します。
//emlist[][ruby]{
p({1 => "one"}.value?("one")) #=> true
p({1 => "one"}.value?("two")) #=> false
//}
@see Hash#key? -
Matrix
. columns(columns) -> Matrix (37219.0) -
引数 columns を列ベクトルの集合とする行列を生成します。
引数 columns を列ベクトルの集合とする行列を生成します。
@param columns 配列の配列を渡します。
=== 注意
Matrix.rows との違いは引数として渡す配列の配列を列ベクトルの配列とみなして行列を生成します。
//emlist[例][ruby]{
require 'matrix'
a1 = [1, 2, 3]
a2 = [4, 5, 6]
a3 = [-1, -2, -3]
# 配列を行ベクトルとして生成
m = Matrix.rows([a1, a2, a3], true)
p m # => Matrix[[1, 2, 3], [4, 5, 6],... -
Rake
:: TaskArguments # with _ defaults(defaults) -> Hash (37219.0) -
パラメータにデフォルト値をセットします。
パラメータにデフォルト値をセットします。
@param defaults デフォルト値として使用するキーと値を格納したハッシュを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments.to_hash ... -
char * StringValuePtr(VALUE val) (37219.0)
-
val が String でなければ to_str メソッドを使って String に変換し、 その実体のポインタを返します。
val が String でなければ to_str メソッドを使って String に変換し、
その実体のポインタを返します。
このマクロに渡した VALUE は ruby の GC から確実に保護されます。 -
void StringValue(VALUE val) (37219.0)
-
val が String でなければ to_str メソッドを使って String に変換します。
val が String でなければ to_str メソッドを使って String に変換します。
このマクロに渡した VALUE は ruby の GC から確実に保護されます。 -
Encoding
:: Converter # insert _ output(string) -> nil (36973.0) -
変換器内のバッファに文字列を挿入します。 バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
変換器内のバッファに文字列を挿入します。
バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
変換先がステートフルなエンコーディングであった場合、
挿入された文字列は状態に基づいて変換され、状態を更新します。
このメソッドは変換に際してエラーが発生した際にのみ利用されるべきです。
@param string 挿入する文字列
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "iso-8859-1")
src = "HIRAGANA LETTER A is \u{3042}."
dst = ""
p ec.... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) -> Enumerator :: Lazy (36919.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (36919.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) -> Enumerator :: Lazy (36919.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (36919.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Kernel
$ $ CHILD _ STATUS -> Process :: Status | nil (36919.0) -
$? の別名
$? の別名
require "English"
out = `wget https://www.ruby-lang.org/en/about/license.txt -O - 2>/dev/null`
if $CHILD_STATUS.to_i == 0
print "wget success\n"
out.split(/\n/).each { |line|
printf "%s\n", line
}
else
print "wget failed\n"
end -
Kernel
. # require _ relative(relative _ feature) -> bool (36919.0) -
現在のファイルからの相対パスで require します。
現在のファイルからの相対パスで require します。
require File.expand_path(relative_feature, File.dirname(__FILE__))
とほぼ同じです。
Kernel.#eval などで文字列を評価した場合に、そこから
require_relative を呼出すと必ず失敗します。
@param relative_feature ファイル名の文字列です。
@raise LoadError ロードに失敗した場合に発生します。
@see Kernel.#require
=== require と load のスコープ
ローカル変数... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (36919.0) -
name という名前の属性を取得します。
name という名前の属性を取得します。
name という名前を持つ属性がない場合は nil を返します。
@param name 属性名(文字列)
@see REXML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (36919.0) -
namespace と name で特定される属性を返します。
namespace と name で特定される属性を返します。
namespace で名前空間を、 name で prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合でも、このメソッドを
使うことで属性を正しく指定することができます。
@param namespace 名前空間(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.ne... -
REXML
:: Element # delete _ attribute(key) -> REXML :: Attribute | nil (36919.0) -
要素から key という属性名の属性を削除します。
要素から key という属性名の属性を削除します。
削除された属性を返します。
key という属性名の属性が存在しない場合は削除されずに、nil を返します。
@param key 削除する要素(文字列(属性名) or REXML::Attributeオブジェクト)
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("E")
e.add_attribute("x", "foo"); e # => <E x='foo'/>
e.add_attribute("y:x", "bar"); e # => <E x... -
REXML
:: Element # each _ element _ with _ attribute(key , value = nil , max = 0 , name = nil) {|element| . . . } -> () (36919.0) -
特定の属性を持つすべての子要素を引数としてブロックを呼び出します。
特定の属性を持つすべての子要素を引数としてブロックを呼び出します。
key で指定した属性名の属性を持つ要素のみを対象とします。
value を指定すると、keyで指定した属性名を持つ属性の値がvalueである
もののみを対象とします。
maxを指定すると、対象となる子要素の先頭 max 個のみが対象となります。
name を指定すると、それは xpath 文字列と見なされ、
それにマッチするもののみが対象となります。
max に 0 を指定すると、max の指定は無視されます(0個ではありません)。
@param key 属性名(文字列)
@param value 属性値(文字列)
... -
RubyVM
:: InstructionSequence . load _ from _ binary(binary) -> RubyVM :: InstructionSequence (36919.0) -
RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。
RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。
このローダーは検証機構をもっておらず、壊れたり改変されたバイナリを読み込むと深刻な問題を引き起こします。
他者により提供されたバイナリデータはロードすべきではありません。自分が変換したバイナリデータを使うべきです。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary
RubyVM:... -
UnboundMethod
# clone -> UnboundMethod (36919.0) -
自身を複製した UnboundMethod オブジェクトを作成して返します。
自身を複製した UnboundMethod オブジェクトを作成して返します。
//emlist[例][ruby]{
a = String.instance_method(:size)
b = a.clone
a == b # => true
//} -
Rubyの起動 (36748.0)
-
Rubyの起動 * cmd_option * shebang
Rubyの起動
* cmd_option
* shebang
Rubyインタプリタの起動は以下の書式のコマンドラインにより行います。
ruby [ option ...] [ -- ] [ programfile ] [ argument ...]
ここで、option は後述のcmd_option
のいずれかを指定します。-- は、オプション列の終りを明示するため
に使用できます。programfile は、Ruby スクリプトを記述したファイ
ルです。これを省略したり`-' を指定した場合には標準入力を Ruby ス
クリプトとみなします。
programfile が... -
String
# unicode _ normalize(form = :nfc) -> String (36727.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列を返します。
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し
た文字列を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列ではない場合
に発生します。
このメソッドでの "Unicode 文字列" とは、UTF-8、UTF-16BE/LE... -
WIN32OLE
_ TYPE # default _ event _ sources -> [WIN32OLE _ TYPE] (36709.0) -
型が持つソースインターフェイスを取得します。
型が持つソースインターフェイスを取得します。
default_event_sourcesメソッドは、selfがCoClass(コンポーネントクラス)
の場合、そのクラスがサポートするデフォルトのソースインターフェイス(イ
ベントの通知元となるインターフェイス)を返します。
@return デフォルトのソースインターフェイスをWIN32OLE_TYPEの配列と
して返します。返すのは配列ですが、デフォルトのソースインターフェ
イスは最大でも1インターフェイスです。ソースインターフェイスを持
たない場合は空配列を返します。
tobj = ... -
String
# unicode _ normalized?(form = :nfc) -> bool (36691.0) -
self が引数 form で指定された正規化形式で Unicode 正規化された文字列か どうかを返します。
self が引数 form で指定された正規化形式で Unicode 正規化された文字列か
どうかを返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列ではない場合
に発生します。
//emlist[例][ruby]{
"a\u0300".unicode_normalized? ... -
Module
# autoload(const _ name , feature) -> nil (36673.0) -
定数 const_name を最初に参照した時に feature を Kernel.#require するように設定します。
定数 const_name を最初に参照した時に feature を Kernel.#require するように設定します。
const_name が autoload 設定されていて、まだ定義されてない(ロードされていない)ときは、
autoload する対象を置き換えます。
const_name が(autoloadではなく)既に定義されているときは何もしません。
@param const_name String または Symbol で指定します。
なお、const_name には、"::" 演算子を含めることはできません。
つまり、self の直下に定...