別のキーワード
種類
ライブラリ
- ビルトイン (401)
- benchmark (7)
- bigdecimal (3)
-
bigdecimal
/ jacobian (3) -
cgi
/ session (1) - continuation (1)
- csv (6)
- date (5)
- dbm (2)
- debug (1)
- delegate (11)
- digest (2)
- drb (13)
-
drb
/ extserv (1) -
drb
/ gw (1) -
drb
/ timeridconv (2) - e2mmap (1)
- erb (1)
- etc (3)
- fiber (1)
- fiddle (4)
- gdbm (6)
-
io
/ console (3) -
io
/ nonblock (1) - irb (1)
-
irb
/ cmd / chws (2) -
irb
/ cmd / pushws (3) -
irb
/ cmd / subirb (5) -
irb
/ context (6) -
irb
/ ext / save-history (1) -
irb
/ extend-command (6) -
irb
/ frame (1) -
irb
/ inspector (1) -
irb
/ magic-file (1) -
irb
/ output-method (6) - json (37)
-
json
/ add / bigdecimal (2) -
json
/ add / exception (1) -
json
/ add / symbol (1) - kconv (1)
- matrix (5)
- mkmf (4)
- monitor (2)
-
mutex
_ m (3) -
net
/ ftp (1) -
net
/ http (5) -
net
/ imap (5) -
net
/ pop (5) -
net
/ smtp (3) - nkf (1)
- objspace (11)
- observer (1)
- open-uri (2)
- openssl (50)
- optparse (1)
- ostruct (4)
- pathname (1)
- pp (8)
- prettyprint (6)
- prime (6)
- profiler (1)
- pstore (5)
- psych (16)
- pty (1)
- rake (4)
-
rdoc
/ code _ object (20) -
rdoc
/ markup (1) - resolv (1)
-
rexml
/ document (13) -
rexml
/ parsers / pullparser (2) -
rinda
/ rinda (3) -
rinda
/ tuplespace (1) -
ripper
/ filter (3) -
ripper
/ sexp (2) - rss (3)
-
rubygems
/ config _ file (2) -
rubygems
/ requirement (1) -
rubygems
/ spec _ fetcher (2) -
rubygems
/ specification (1) -
rubygems
/ timer (1) - sdbm (4)
- securerandom (1)
- set (1)
- shell (8)
-
shell
/ builtin-command (2) -
shell
/ command-processor (3) -
shell
/ filter (4) -
shell
/ process-controller (13) - singleton (1)
- socket (17)
- stringio (6)
- strscan (2)
- sync (2)
- tempfile (2)
- timeout (4)
- tmpdir (2)
- tracer (2)
- uri (3)
- weakref (2)
-
webrick
/ cgi (1) -
webrick
/ httpauth / authenticator (1) -
webrick
/ httpauth / basicauth (1) -
webrick
/ httpversion (2) -
webrick
/ log (1) -
webrick
/ server (1) - win32ole (18)
-
yaml
/ dbm (13) - zlib (7)
クラス
-
ARGF
. class (1) - Addrinfo (5)
- Array (40)
- BasicObject (14)
-
Benchmark
:: Job (5) - BigDecimal (5)
- Binding (5)
-
CGI
:: Session (1) - CSV (2)
-
CSV
:: Row (3) -
CSV
:: Table (1) - Class (5)
- Complex (1)
- DBM (2)
-
DRb
:: DRbIdConv (2) -
DRb
:: DRbObject (5) -
DRb
:: DRbServer (1) -
DRb
:: DRbUnknown (1) -
DRb
:: ExtServ (1) -
DRb
:: GW (1) -
DRb
:: TimerIdConv (2) - Date (5)
- Delegator (7)
-
Digest
:: Base (1) - Dir (6)
- ERB (1)
- Encoding (3)
- Enumerator (9)
-
Enumerator
:: Lazy (3) -
Enumerator
:: Yielder (2) - Exception (1)
- Fiber (4)
-
Fiddle
:: Closure :: BlockCaller (1) -
Fiddle
:: Pointer (1) - File (2)
- GDBM (6)
-
Gem
:: ConfigFile (2) -
Gem
:: Requirement (1) -
Gem
:: SpecFetcher (2) -
Gem
:: Specification (1) - Hash (19)
- IO (19)
-
IRB
:: Context (6) -
IRB
:: ExtendCommand :: ChangeWorkspace (1) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (1) -
IRB
:: ExtendCommand :: Foreground (1) -
IRB
:: ExtendCommand :: IrbCommand (1) -
IRB
:: ExtendCommand :: Jobs (1) -
IRB
:: ExtendCommand :: Kill (1) -
IRB
:: ExtendCommand :: PopWorkspace (1) -
IRB
:: ExtendCommand :: PushWorkspace (1) -
IRB
:: ExtendCommand :: Workspaces (1) -
IRB
:: Frame (1) -
IRB
:: Inspector (1) -
IRB
:: OutputMethod (5) -
IRB
:: StdioOutputMethod (1) - Integer (1)
-
JSON
:: Parser (1) -
JSON
:: State (14) - KeyError (2)
- LocalJumpError (2)
- Matrix (2)
- Method (6)
- Module (15)
- NameError (1)
-
Net
:: FTP (1) -
Net
:: HTTP (2) -
Net
:: HTTPGenericRequest (1) -
Net
:: HTTPResponse (2) -
Net
:: IMAP (1) -
Net
:: IMAP :: Envelope (1) -
Net
:: IMAP :: FetchData (1) -
Net
:: IMAP :: ResponseCode (1) -
Net
:: IMAP :: UntaggedResponse (1) -
Net
:: POP3 (2) -
Net
:: POPMail (3) -
Net
:: SMTP (3) - NoMethodError (1)
- Object (101)
-
ObjectSpace
:: WeakMap (2) -
OpenSSL
:: ASN1 :: ASN1Data (1) -
OpenSSL
:: ASN1 :: ObjectId (8) -
OpenSSL
:: OCSP :: CertificateId (1) -
OpenSSL
:: PKCS12 (1) -
OpenSSL
:: PKCS7 (2) -
OpenSSL
:: PKey :: DH (1) -
OpenSSL
:: PKey :: DSA (2) -
OpenSSL
:: PKey :: EC (1) -
OpenSSL
:: PKey :: EC :: Group (1) -
OpenSSL
:: PKey :: RSA (2) -
OpenSSL
:: SSL :: SSLContext (1) -
OpenSSL
:: SSL :: Session (1) -
OpenSSL
:: X509 :: CRL (1) -
OpenSSL
:: X509 :: Certificate (3) -
OpenSSL
:: X509 :: ExtensionFactory (6) -
OpenSSL
:: X509 :: Name (7) -
OpenSSL
:: X509 :: Request (3) - OpenStruct (4)
- PP (3)
- PStore (4)
-
PStore
:: DummyMutex (1) - Pathname (1)
- PrettyPrint (6)
- Prime (2)
-
Prime
:: PseudoPrimeGenerator (3) - Proc (1)
-
Psych
:: Nodes :: Node (2) -
Psych
:: ScalarScanner (1) -
Psych
:: Visitors :: YAMLTree (2) -
RDoc
:: CodeObject (19) -
RDoc
:: Markup (1) -
RDoc
:: Options (1) -
REXML
:: Attribute (1) -
REXML
:: DocType (1) -
REXML
:: Element (1) -
REXML
:: Elements (2) -
REXML
:: Parent (8) -
REXML
:: Parsers :: PullEvent (2) -
Rake
:: TaskArguments (2) - Random (1)
- Range (19)
- Regexp (2)
-
Resolv
:: DNS (1) -
Rinda
:: DRbObjectTemplate (2) -
Rinda
:: TupleEntry (1) - Ripper (2)
-
Ripper
:: Filter (3) -
RubyVM
:: InstructionSequence (1) - SDBM (4)
- Set (1)
- Shell (8)
-
Shell
:: CommandProcessor (3) -
Shell
:: Concat (2) -
Shell
:: Filter (4) -
Shell
:: ProcessController (13) - SimpleDelegator (3)
- Socket (7)
- StopIteration (1)
- String (7)
- StringIO (6)
- StringScanner (2)
- Struct (6)
- Symbol (1)
- Tempfile (2)
- Thread (6)
-
Thread
:: Mutex (1) -
Thread
:: Queue (3) -
Thread
:: SizedQueue (6) - Time (1)
- TracePoint (7)
- Tracer (3)
- UNIXServer (2)
- UNIXSocket (3)
- UnboundMethod (2)
- UncaughtThrowError (2)
- Vector (3)
-
WEBrick
:: BasicLog (1) -
WEBrick
:: CGI (1) -
WEBrick
:: GenericServer (1) -
WEBrick
:: HTTPAuth :: BasicAuth (1) -
WEBrick
:: HTTPVersion (2) - WIN32OLE (9)
-
WIN32OLE
_ EVENT (2) -
WIN32OLE
_ PARAM (1) -
WIN32OLE
_ TYPELIB (2) -
WIN32OLE
_ VARIABLE (1) -
WIN32OLE
_ VARIANT (3) - WeakRef (2)
-
YAML
:: DBM (13) -
Zlib
:: Deflate (1) -
Zlib
:: GzipReader (2) -
Zlib
:: GzipWriter (4)
モジュール
- Benchmark (1)
- Comparable (1)
- DRb (2)
- DublinCoreModel (3)
- Enumerable (52)
- Etc (3)
- Exception2MessageMapper (1)
- Fiddle (2)
- GC (1)
- IRB (1)
-
IRB
:: ContextExtender (2) -
IRB
:: ExtendCommandBundle (4) -
IRB
:: HistorySavingAbility (1) - JSON (14)
-
JSON
:: Generator :: GeneratorMethods :: Object (1) -
JSON
:: Generator :: GeneratorMethods :: String (1) - Jacobian (3)
- Kconv (1)
- Kernel (32)
- Marshal (2)
- MonitorMixin (2)
-
Mutex
_ m (3) - ObjectSpace (21)
- Observable (1)
-
OpenSSL
:: ASN1 (4) -
OpenSSL
:: Buffering (1) -
OpenSSL
:: X509 (2) -
OptionParser
:: Arguable (1) - PTY (1)
-
Process
:: GID (1) -
Process
:: UID (1) -
Profiler
_ _ (1) - Psych (6)
-
Rake
:: Cloneable (2) - Singleton (1)
-
Sync
_ m (2) - Timeout (2)
- URI (3)
-
WEBrick
:: HTTPAuth :: Authenticator (1)
オブジェクト
- ENV (1)
-
IRB
:: MagicFile (1)
キーワード
- ! (1)
- != (2)
- !~ (1)
-
$ > (1) -
$ stderr (1) -
$ stdin (1) -
$ stdout (1) - << (8)
- <=> (1)
- == (4)
- === (5)
- =~ (1)
- ARGF (1)
- ARGV (2)
-
BUILTIN
_ TYPE (1) - BasicObject (1)
-
CLASS
_ OF (1) - CLONESETUP (1)
-
CODE
_ CLASS _ TO _ OBJ (1) -
CODE
_ TO _ OBJ (1) - CodeObject (1)
- Complex (2)
- DATA (1)
-
DEFAULT
_ OBJECT _ TYPE (1) -
DEFAULT
_ PARAMS (1) - DRbObject (2)
- DRbObjectTemplate (1)
- DUPSETUP (1)
-
Data
_ Get _ Struct (1) - DelegateClass (1)
- Digest (1)
- ENV (1)
- FALSE (1)
-
FIXNUM
_ P (1) -
IMMEDIATE
_ P (1) - JSON (1)
-
JSON
_ LOADED (1) - Job (1)
- Jobs (1)
- NEWOBJ (1)
-
NEWS for Ruby 2
. 3 . 0 (1) - NIL (1)
-
NIL
_ P (1) - NKF (1)
- OBJECT (1)
-
OBJECT
_ DESCRIPTOR (1) -
OBJECT
_ TYPE _ TEMPLATE (1) - OBJSETUP (1)
-
OBJ
_ FREEZE (1) -
OBJ
_ FROZEN (1) -
OBJ
_ INFECT (1) -
OBJ
_ TAINT (1) -
OBJ
_ TAINTED (1) - Object (3)
- ObjectId (3)
- ObjectSpace (1)
- RARRAY (1)
- RBASIC (1)
- RBIGNUM (1)
- RCLASS (1)
- RDATA (1)
- RFILE (1)
- RFLOAT (1)
- RHASH (1)
- RMODULE (1)
- ROBJECT (1)
- RREGEXP (1)
- RSTRING (1)
- RSTRUCT (1)
- RTEST (1)
-
RUBY
_ COPYRIGHT (1) -
RUBY
_ DESCRIPTION (1) -
RUBY
_ ENGINE (1) -
RUBY
_ ENGINE _ VERSION (1) -
RUBY
_ PATCHLEVEL (1) -
RUBY
_ PLATFORM (1) -
RUBY
_ RELEASE _ DATE (1) -
RUBY
_ REVISION (1) -
RUBY
_ VERSION (1) - Rubyの起動 (1)
- Ruby用語集 (1)
-
SCRIPT
_ LINES _ _ (1) -
SC
_ JOB _ CONTROL (1) -
SC
_ SHARED _ MEMORY _ OBJECTS (1) -
SC
_ TYPED _ MEMORY _ OBJECTS (1) -
SJIS
_ SOFTBANK (1) -
SJIS
_ SoftBank (1) -
SPECIAL
_ CONST _ P (1) - STDERR (1)
- STDIN (1)
- STDOUT (1)
-
SYMBOL
_ P (1) - SecureRandom (1)
-
TOPLEVEL
_ BINDING (1) - TRUE (1)
-
TRUST
_ OBJECT _ SIGN (1) - TYPE (1)
- URI (1)
-
V
_ ERR _ SUBJECT _ ISSUER _ MISMATCH (1) - WeakMap (1)
- [] (23)
- []= (3)
-
_ _ drbref (1) -
_ _ drburi (1) -
_ _ getobj _ _ (3) -
_ _ id _ _ (1) -
_ _ send _ _ (2) -
_ _ setobj _ _ (3) -
_ dump (1) -
_ getproperty (1) -
_ id2ref (1) -
_ invoke (1) -
_ strptime (1) -
active
_ job? (1) -
active
_ jobs (1) -
active
_ jobs _ exist? (1) - add (1)
- all (1)
- allocate (1)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) -
allow
_ nan? (1) - append (1)
-
arg
_ config (1) - args (1)
-
ascii
_ only? (1) - at (1)
- attr (1)
- begin (1)
- bigdecimal (1)
-
bigdecimal
/ jacobian (1) - bind (2)
- bmbm (1)
-
body
_ stream (1) - bsearch (3)
-
buffer
_ initial _ length (1) -
buffer
_ initial _ length= (1) - bytes (1)
- call (3)
-
call
_ final (1) - callcc (1)
- catch (2)
- chdir (2)
-
check
_ circular? (1) -
chunk
_ while (1) - clamp (2)
- class (1)
-
class
_ eval (2) -
class
_ exec (1) -
class
_ variable _ get (1) -
class
_ variable _ set (1) - clone (3)
-
cofactor
_ expansion (1) - collect (3)
-
collect
_ concat (2) - comment (1)
- comment= (1)
- compatible? (1)
- component (1)
- concat (3)
- config (1)
- connect (1)
-
connect
_ from (1) -
connect
_ to (1) -
const
_ get (1) -
const
_ set (1) - context (2)
- convert (1)
- cooked (1)
- count (2)
-
count
_ nodes (1) -
count
_ objects (1) -
count
_ objects _ size (1) -
count
_ tdata _ objects (1) - cover? (1)
- create (1)
-
create
_ extension (1) -
create
_ id (1) - cycle (2)
- data (2)
-
dc
_ subject (1) -
dc
_ subject= (1) -
dc
_ subjects (1) -
def
_ class (1) -
def
_ extend _ command (2) -
def
_ inspector (1) - default (3)
-
default
_ value (1) -
define
_ finalizer (2) -
define
_ singleton _ method (2) - delete (11)
-
delete
_ at (1) -
delete
_ field (1) -
delete
_ if (1) -
delete
_ observer (1) - deq (2)
- detect (1)
- dfdxi (1)
- dig (4)
- disable (1)
- disjoint? (1)
- display (1)
- dlunwrap (1)
- dlwrap (1)
-
document
_ children (1) -
document
_ children= (1) -
document
_ self (1) -
document
_ self= (1) - documented? (1)
- dump (1)
-
dump
_ stream (1) - dup (2)
- each (7)
-
each
_ active _ object (1) -
each
_ child (1) -
each
_ entry (1) -
each
_ object (4) -
each
_ prime (1) -
each
_ with _ object (2) - element (1)
- enable (1)
- encode (3)
- end (1)
- enq (1)
- entries (1)
-
enum
_ for (2) - eql? (2)
- equal? (2)
- eval (4)
- evaluate (1)
- exclusive (1)
- execute (9)
- exit (1)
-
exit
_ value (1) - extend (1)
-
extend
_ object (4) - extended (2)
-
fast
_ generate (1) -
fast
_ unparse (1) - feed (1)
- fetch (12)
-
fetch
_ spec (1) -
fetch
_ values (2) - field (1)
- file (1)
- find (1)
-
find
_ all (1) -
find
_ index (1) -
finish
_ all _ jobs (3) - first (4)
-
flat
_ map (2) - flush (1)
- force (1)
- format (1)
- freeze (1)
- front (3)
- frozen? (1)
-
garbage
_ collect (1) - generate (2)
-
generic
_ ivar _ defined (1) -
generic
_ ivar _ get (1) -
generic
_ ivar _ remove (1) -
generic
_ ivar _ set (1) -
givar
_ i (1) - grep (2)
-
grep
_ v (2) - group (1)
-
group
_ by (1) -
handle
_ interrupt (1) - handler (1)
- handler= (1)
- hash (1)
- id2ref (1)
- include? (1)
- index (1)
- initialize (1)
-
initialize
_ copy (1) - inject (4)
- inspect (1)
-
inspect
_ mode (1) -
inspect
_ obj (1) -
install
_ extend _ commands (2) - instance (2)
-
instance
_ eval (2) -
instance
_ exec (1) -
instance
_ of? (1) -
instance
_ variable _ defined? (1) -
instance
_ variable _ get (1) -
instance
_ variable _ set (1) -
instance
_ variables (1) - invert (1)
- invoke (1)
- irb (1)
-
irb
_ exit (2) - isEqual (1)
-
is
_ a? (1) - isjis (1)
- item (1)
- itself (1)
- jacobian (1)
- jj (1)
- jobs (2)
-
jobs
_ exist? (1) - join (2)
-
json
/ add / bigdecimal (1) -
json
_ creatable? (1) -
json
_ create (2) - julian? (1)
-
julian
_ leap? (1) -
jump
_ tag _ but _ local _ jump (1) - key (2)
- keys (1)
- kill (1)
-
kill
_ job (1) -
kind
_ of? (1) -
laplace
_ expansion (1) - last (3)
-
last
_ value (1) -
latest
_ gc _ info (1) - list (1)
- listen (1)
- ln (1)
- load (3)
-
load
_ file (2) -
load
_ specs (1) -
load
_ stream (2) -
local
_ variable _ get (1) -
local
_ variable _ set (1) - logger (2)
-
long
_ name (1) - lookup (1)
- loop (1)
- mail (1)
- main (1)
- major (1)
- major= (1)
-
major
_ version (1) - map (2)
-
marshal
_ dump (2) -
marshal
_ load (2) - match (2)
- max (8)
-
max
_ by (1) - member? (1)
-
memsize
_ of (1) -
memsize
_ of _ all (1) - method (1)
-
method
_ missing (3) -
method
_ unbind (1) - methods (1)
- min (8)
-
min
_ by (1) - minmax (2)
-
minmax
_ by (1) - mktmpdir (2)
- mnew (1)
-
module
_ eval (2) -
module
_ exec (1) -
mon
_ synchronize (1) -
mu
_ synchronize (1) - new (35)
-
new
_ with _ uri (1) - next (1)
- nil? (1)
- noecho (1)
- nonblock (1)
- none? (1)
-
obj
_ free (1) -
object
_ group (1) -
object
_ id (1) -
object
_ nl (1) -
object
_ nl= (1) - objspace (1)
- oid (1)
-
ole
_ obj _ help (1) -
ole
_ show _ help (1) -
ole
_ type (1) -
on
_ XXX (1) -
on
_ default (1) - one? (1)
- open (20)
-
os
_ each _ obj (1) -
os
_ live _ obj (1) -
os
_ obj _ of (1) - output (1)
- p (1)
- pack (2)
- pack テンプレート文字列 (1)
- parameters (3)
- params (1)
- parent (1)
- parent= (1)
-
parent
_ file _ name (1) -
parent
_ name (1) - parse (6)
- parse! (1)
-
parse
_ openssl (1) -
parse
_ rfc2253 (1) - partition (1)
- peek (1)
- pipe (4)
- pop (4)
- popen (7)
- pp (3)
- ppx (1)
- prepend (1)
-
pretty
_ generate (1) -
pretty
_ inspect (1) -
pretty
_ print (1) -
pretty
_ print _ cycle (1) -
pretty
_ print _ inspect (1) -
pretty
_ print _ instance _ variables (1) -
pretty
_ unparse (1) - print (2)
- printn (1)
-
private
_ methods (1) -
protected
_ methods (1) -
psych
_ to _ yaml (1) -
psych
_ y (1) -
public
_ method (1) -
public
_ methods (1) -
public
_ send (2) - push (4)
- pushd (1)
- pushdir (1)
- putc (5)
- puts (2)
-
quirks
_ mode (1) -
quirks
_ mode= (1) -
quirks
_ mode? (1) - raw (1)
-
rb
_ Array (1) -
rb
_ Integer (1) -
rb
_ any _ to _ s (1) -
rb
_ copy _ generic _ ivar (1) -
rb
_ data _ object _ alloc (1) -
rb
_ define _ singleton _ method (1) -
rb
_ eql (1) -
rb
_ equal (1) -
rb
_ extend _ object (1) -
rb
_ f _ array (1) -
rb
_ f _ autoload (1) -
rb
_ f _ exit (1) -
rb
_ f _ float (1) -
rb
_ f _ hash (1) -
rb
_ f _ integer (1) -
rb
_ f _ missing (1) -
rb
_ f _ require (1) -
rb
_ f _ string (1) -
rb
_ false (1) -
rb
_ free _ generic _ ivar (1) -
rb
_ generic _ ivar _ table (1) -
rb
_ inspect (1) -
rb
_ iv _ get (1) -
rb
_ iv _ set (1) -
rb
_ ivar _ defined (1) -
rb
_ ivar _ get (1) -
rb
_ ivar _ set (1) -
rb
_ longjmp (1) -
rb
_ mark _ generic _ ivar (1) -
rb
_ mod _ class _ variables (1) -
rb
_ mod _ extend _ object (1) -
rb
_ mod _ private _ method (1) -
rb
_ mod _ public _ method (1) -
rb
_ newobj (1) -
rb
_ obj _ alloc (1) -
rb
_ obj _ call _ init (1) -
rb
_ obj _ class (1) -
rb
_ obj _ clone (1) -
rb
_ obj _ dummy (1) -
rb
_ obj _ dup (1) -
rb
_ obj _ equal (1) -
rb
_ obj _ extend (1) -
rb
_ obj _ freeze (1) -
rb
_ obj _ frozen _ p (1) -
rb
_ obj _ id (1) -
rb
_ obj _ inspect (1) -
rb
_ obj _ instance _ eval (1) -
rb
_ obj _ instance _ variables (1) -
rb
_ obj _ is _ block (1) -
rb
_ obj _ is _ instance _ of (1) -
rb
_ obj _ is _ kind _ of (1) -
rb
_ obj _ is _ proc (1) -
rb
_ obj _ method (1) -
rb
_ obj _ methods (1) -
rb
_ obj _ private _ methods (1) -
rb
_ obj _ protected _ methods (1) -
rb
_ obj _ remove _ instance _ variable (1) -
rb
_ obj _ respond _ to (1) -
rb
_ obj _ singleton _ methods (1) -
rb
_ obj _ taint (1) -
rb
_ obj _ tainted (1) -
rb
_ obj _ untaint (1) -
rb
_ p (1) -
rb
_ respond _ to (1) -
rb
_ singleton _ class (1) -
rb
_ singleton _ class _ attached (1) -
rb
_ thread _ critical _ set (1) -
rb
_ thread _ join (1) -
rb
_ thread _ join _ m (1) -
rb
_ thread _ s _ kill (1) -
rb
_ true (1) -
rb
_ undefined (1) -
rcptto
_ list (1) -
rdoc
/ code _ object (1) -
rdoc
/ code _ objects (1) -
rdoc
/ generator / json _ index (1) -
reachable
_ objects _ from (1) -
read
_ smime (1) - reason (1)
- receiver (4)
-
recv
_ io (1) - reduce (3)
- register (1)
- reject (7)
- reject! (3)
- reload (1)
-
remove
_ class _ variable (1) -
remove
_ classes _ and _ modules (1) -
remove
_ const (1) -
remove
_ instance _ variable (1) -
remove
_ methods _ etc (1) - report (1)
-
respond
_ to? (1) -
respond
_ to _ missing? (1) - responses (1)
- restore (2)
- result (1)
- resume (1)
-
return
_ value (1) -
ruby 1
. 6 feature (1) -
run
_ final (1) -
safe
_ load (1) - sample (2)
-
save
_ exception _ mode (1) -
save
_ limit (1) -
save
_ rounding _ mode (1) -
scan
_ full (1) -
search
_ full (1) - section (1)
- section= (1)
- select (5)
- self (1)
- send (2)
- sender (1)
-
set
_ last _ value (1) -
set
_ trace _ func (1) - sexp (1)
-
sexp
_ raw (1) - shift (5)
-
short
_ name (1) -
singleline
_ format (1) -
singleline
_ pp (1) -
singleton
_ class (1) -
singleton
_ method (1) -
singleton
_ method _ added (1) -
singleton
_ method _ removed (1) -
singleton
_ method _ undefined (1) -
singleton
_ methods (1) - slice (1)
- slice! (1)
-
slice
_ when (2) - sn (1)
- sort (2)
-
sort
_ by (1) -
space
_ before (1) -
space
_ before= (1) - start (6)
-
start
_ doc (1) -
start
_ job (1) -
start
_ profile (1) - stat (1)
- stdout (1)
-
stop
_ doc (1) - store (2)
- strftime (2)
- subject (3)
- subject= (2)
-
subject
_ certificate (1) -
subject
_ certificate= (1) -
subject
_ request (1) -
subject
_ request= (1) - sum (4)
- switch (2)
-
sync
_ synchronize (1) - synchronize (5)
- syswrite (1)
- tag (1)
- taint (1)
- tainted? (1)
- tap (1)
- tcp (1)
-
tcp
_ server _ sockets (2) -
terminate
_ job (1) - text (2)
-
thread
_ variable _ get (1) - time (1)
- timeout (4)
-
to
_ a (4) -
to
_ ary (1) -
to
_ enum (2) -
to
_ h (1) -
to
_ hash (1) -
to
_ id (2) -
to
_ int (1) -
to
_ io (1) -
to
_ json (3) -
to
_ json _ raw _ object (1) -
to
_ obj (2) -
to
_ proc (1) -
to
_ regexp (1) -
to
_ ruby (1) -
to
_ s (1) -
to
_ str (1) -
to
_ value (1) -
to
_ yaml (1) - tokenize (1)
- trace (1)
-
trace
_ func (2) -
trace
_ object _ allocations (1) -
trace
_ object _ allocations _ start (1) -
trace
_ object _ allocations _ stop (1) - transact (3)
- transaction (1)
- transfer (1)
- transform (1)
- trust (1)
-
try
_ convert (5) -
udp
_ server _ sockets (2) - umask (1)
-
umethod
_ unbind (1) -
unconverted
_ fields? (1) -
undefine
_ final (1) -
undefine
_ finalizer (1) - unix (1)
-
unix
_ server _ socket (1) - unpack (1)
- unpack1 (1)
- unparse (1)
- unshift (2)
- untaint (1)
- untrust (1)
- untrusted? (1)
-
valid
_ jd? (1) - value (5)
- values (3)
-
values
_ at (3) -
wait
_ all _ jobs _ execution (1) -
waiting
_ job? (1) -
waiting
_ jobs (1) -
waiting
_ jobs _ exist? (1) - width (1)
-
with
_ index (1) -
with
_ object (4) -
with
_ werror (2) - wrap (2)
- write (2)
-
write
_ nonblock (1) - xpopen (1)
- y (1)
-
yaml
_ tag (1) - yield (2)
-
yield
_ self (2) - zip (2)
- | (1)
- オブジェクト (1)
- 制御構造 (1)
- 正規表現 (1)
検索結果
先頭5件
-
bigdecimal
/ jacobian (132019.0) -
ヤコビ行列を計算する機能を提供します。
ヤコビ行列を計算する機能を提供します。
実行例:
require "bigdecimal"
require "bigdecimal/jacobian"
...
dfdx = Jacobian.jacobian(f,fx,x)
引数 f には関数を表すオブジェクトを指定します。以下のメソッドに応答でき
る必要があります。
: f.values(x)
点 x における関数の値を数値の配列で返します。
: f.zero
0.0 を示す値を返します。
: f.one
1.0 を示す値を返します。
: f.two
2.0 を示す値を返します。
... -
bigdecimal (96451.0)
-
bigdecimal は浮動小数点数演算ライブラリです。 任意の精度で 10 進表現された浮動小数点数を扱えます。
bigdecimal は浮動小数点数演算ライブラリです。
任意の精度で 10 進表現された浮動小数点数を扱えます。
//emlist[][ruby]{
require 'bigdecimal'
a = BigDecimal("0.123456789123456789")
b = BigDecimal("123456.78912345678", 40)
print a + b # => 0.123456912580245903456789e6
//}
一般的な 10 進数の計算でも有用です。2 進数の浮動小数点演算には微小な誤
差があるのに対し、BigDecimal では正確な値を得る事がで... -
ObjectSpace
. # each _ object {|object| . . . } -> Integer (82501.0) -
指定された klass と Object#kind_of? の関係にある全ての オブジェクトに対して繰り返します。引数が省略された時には全てのオブ ジェクトに対して繰り返します。 繰り返した数を返します。
指定された klass と Object#kind_of? の関係にある全ての
オブジェクトに対して繰り返します。引数が省略された時には全てのオブ
ジェクトに対して繰り返します。
繰り返した数を返します。
ブロックが与えられなかった場合は、
Enumerator オブジェクトを返します。
次のクラスのオブジェクトについては繰り返しません
* Fixnum
* Symbol
* TrueClass
* FalseClass
* NilClass
とくに、klass に Fixnum や Symbol などのクラスを指定した場合は、
何も繰り返さないことになります。
なお、Sy... -
ObjectSpace
. # each _ object(klass) {|object| . . . } -> Integer (82501.0) -
指定された klass と Object#kind_of? の関係にある全ての オブジェクトに対して繰り返します。引数が省略された時には全てのオブ ジェクトに対して繰り返します。 繰り返した数を返します。
指定された klass と Object#kind_of? の関係にある全ての
オブジェクトに対して繰り返します。引数が省略された時には全てのオブ
ジェクトに対して繰り返します。
繰り返した数を返します。
ブロックが与えられなかった場合は、
Enumerator オブジェクトを返します。
次のクラスのオブジェクトについては繰り返しません
* Fixnum
* Symbol
* TrueClass
* FalseClass
* NilClass
とくに、klass に Fixnum や Symbol などのクラスを指定した場合は、
何も繰り返さないことになります。
なお、Sy... -
ObjectSpace
. # reachable _ objects _ from(obj) -> Array | nil (81955.0) -
obj から到達可能なすべてのオブジェクトを返します。マーク不能なオブジェ クトを指定した場合は nil を返します。本メソッドを使う事でメモリリークの 調査が行えます。
obj から到達可能なすべてのオブジェクトを返します。マーク不能なオブジェ
クトを指定した場合は nil を返します。本メソッドを使う事でメモリリークの
調査が行えます。
//emlist[例][ruby]{
# 配列クラス(Array)と 'a'、'b'、'c' に到達可能。
ObjectSpace.reachable_objects_from(['a', 'b', 'c'])
# => [Array, 'a', 'b', 'c']
//}
obj が 2 つ以上の同じオブジェクト x への参照を持つ場合、戻り値に含まれ
るオブジェクト x は 1 つだけです。
//emlist[例... -
Object
# object _ id -> Integer (81901.0) -
各オブジェクトに対して一意な整数を返します。あるオブジェクトに対し てどのような整数が割り当てられるかは不定です。
各オブジェクトに対して一意な整数を返します。あるオブジェクトに対し
てどのような整数が割り当てられるかは不定です。
Rubyでは、(Garbage Collectされていない)アクティブなオブジェクト間で
重複しない整数(object_id)が各オブジェクトにひとつずつ割り当てられています。この
メソッドはその値を返します。
TrueClass, FalseClass, NilClass, Symbol, Integer クラス
のインスタンスなど Immutable(変更不可)なオブジェクトの一部は同じ内容ならば必ず同じ object_id になります。
これは、Immutable ... -
ObjectSpace
. # count _ objects(result _ hash = {}) -> Hash (81901.0) -
オブジェクトを種類ごとにカウントした結果を Hash として返します。
オブジェクトを種類ごとにカウントした結果を Hash として返します。
このメソッドは C Ruby 以外の Ruby では動かないでしょう。
@param result_hash ハッシュを指定します。与えられたハッシュは上書きして返されます。
これを利用すると測定による影響を避けることができます。
@raise TypeError 引数に Hash 以外を与えた場合、発生します。
//emlist[例][ruby]{
ObjectSpace.count_objects # => {:TOTAL=>10000, :FREE=>3011, :T_... -
ObjectSpace
. # count _ objects _ size(result _ hash = nil) -> Hash (81901.0) -
型ごとのオブジェクトサイズをバイト単位で格納したハッシュを返します。
型ごとのオブジェクトサイズをバイト単位で格納したハッシュを返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。プローブ効果を避けるために使用します。
戻り値の内容は完全ではない事に注意してください。この内容はあくまでもヒ
ントとして扱う必要があります。特に T_DATA の合計値は正しくないでしょう。
//emlist[例][ruby]{
ObjectSpace.count_objec... -
ObjectSpace
. # count _ tdata _ objects(result _ hash = nil) -> Hash (81901.0) -
T_DATA の種類ごとにオブジェクトの数を格納したハッシュを返します。
T_DATA の種類ごとにオブジェクトの数を格納したハッシュを返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。プローブ効果を避けるために使用します。
@raise TypeError result_hash にハッシュ以外を指定した時に発生します。
本メソッドは普通の Ruby プログラマ向けのメソッドではありません。パフォー
マンスに興味のある C Ruby の開発者向けのもので... -
ObjectSpace
. # each _ object -> Enumerator (81901.0) -
指定された klass と Object#kind_of? の関係にある全ての オブジェクトに対して繰り返します。引数が省略された時には全てのオブ ジェクトに対して繰り返します。 繰り返した数を返します。
指定された klass と Object#kind_of? の関係にある全ての
オブジェクトに対して繰り返します。引数が省略された時には全てのオブ
ジェクトに対して繰り返します。
繰り返した数を返します。
ブロックが与えられなかった場合は、
Enumerator オブジェクトを返します。
次のクラスのオブジェクトについては繰り返しません
* Fixnum
* Symbol
* TrueClass
* FalseClass
* NilClass
とくに、klass に Fixnum や Symbol などのクラスを指定した場合は、
何も繰り返さないことになります。
なお、Sy... -
ObjectSpace
. # each _ object(klass) -> Enumerator (81901.0) -
指定された klass と Object#kind_of? の関係にある全ての オブジェクトに対して繰り返します。引数が省略された時には全てのオブ ジェクトに対して繰り返します。 繰り返した数を返します。
指定された klass と Object#kind_of? の関係にある全ての
オブジェクトに対して繰り返します。引数が省略された時には全てのオブ
ジェクトに対して繰り返します。
繰り返した数を返します。
ブロックが与えられなかった場合は、
Enumerator オブジェクトを返します。
次のクラスのオブジェクトについては繰り返しません
* Fixnum
* Symbol
* TrueClass
* FalseClass
* NilClass
とくに、klass に Fixnum や Symbol などのクラスを指定した場合は、
何も繰り返さないことになります。
なお、Sy... -
ObjectSpace
. # trace _ object _ allocations { . . . } (81901.0) -
与えられたブロック内でオブジェクトのトレースを行います。
与えられたブロック内でオブジェクトのトレースを行います。
//emlist[例][ruby]{
require 'objspace'
class C
include ObjectSpace
def foo
trace_object_allocations do
obj = Object.new
p "#{allocation_sourcefile(obj)}:#{allocation_sourceline(obj)}"
end
end
end
C.new.foo #=> "objtrace.rb:8"
//} -
ObjectSpace
. # trace _ object _ allocations _ start -> nil (81901.0) -
オブジェクト割り当てのトレースを開始します。
オブジェクト割り当てのトレースを開始します。
@see ObjectSpace.#trace_object_allocations_stop -
ObjectSpace
. # trace _ object _ allocations _ stop -> nil (81901.0) -
オブジェクト割り当てのトレースを終了します。
オブジェクト割り当てのトレースを終了します。
トレースを終了する為には、ObjectSpace.#trace_object_allocations_startを呼んだ回数分だけこのメソッドを呼ぶ必要があります。
@see ObjectSpace.#trace_object_allocations_start -
VALUE rb
_ obj _ singleton _ methods(int argc , VALUE *argv , VALUE obj) (73501.0) -
Object#singleton_methods の実体。 オブジェクト obj に定義されている特異メソッド名のリストを 文字列の配列で返す。
Object#singleton_methods の実体。
オブジェクト obj に定義されている特異メソッド名のリストを
文字列の配列で返す。 -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (72901.0) -
生の文字列を格納したハッシュを生成します。
生の文字列を格納したハッシュを生成します。
このメソッドは UTF-8 の文字列ではなく生の文字列を JSON に変換する場合に使用してください。
require 'json'
"にほんご".encode("euc-jp").to_json_raw_object
# => {"json_class"=>"String", "raw"=>[164, 203, 164, 219, 164, 243, 164, 180]}
"にほんご".encode("euc-jp").to_json # source sequence is illegal/malformed (JSON::... -
IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle (64501.0) -
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを obj に定義します。
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを
obj に定義します。
@param obj IRB::ExtendCommandBundle を extend したオブジェクト -
OpenSSL
:: X509 :: V _ ERR _ SUBJECT _ ISSUER _ MISMATCH -> Integer (64501.0) -
証明書の issuer(発行者)名と上位の証明書のsubject(所有者)名が 異なっていることを意味します。
証明書の issuer(発行者)名と上位の証明書のsubject(所有者)名が
異なっていることを意味します。 -
Observable
# delete _ observer(observer) -> object | nil (64201.0) -
オブザーバを削除します。
オブザーバを削除します。
指定されたオブジェクトがオブザーバとして登録されていた場合は、
リストからオブジェクトを削除し、取り除かれたオブジェクトを返します。
登録されていなかった場合は、nil を返します。
@param observer 削除するオブザーバ -
Kernel
# j(*objects) -> nil (63922.0) -
与えられたオブジェクトを JSON 形式の文字列で標準出力に一行で出力します。
与えられたオブジェクトを JSON 形式の文字列で標準出力に一行で出力します。
@param objects JSON 形式で出力したいオブジェクトを指定します。
//emlist[例][ruby]{
require "json"
j([1,2,{"name" => "tanaka","age" => 19}])
# => [1,2,{"name":"tanaka","age":19}]
//}
@see Kernel.#p -
Exception2MessageMapper
. extend _ object(cl) -> () (63901.0) -
@todo
@todo
@param cl -
Mutex
_ m . extend _ object(module) -> Module (63901.0) -
ユーザが直接、使うことはありません。
ユーザが直接、使うことはありません。
@see Module#extend_object -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate -> OpenSSL :: X509 :: Certificate | nil (63901.0) -
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate=(name) (63901.0) -
自身に所有者(subject)の証明書オブジェクトを設定します。
自身に所有者(subject)の証明書オブジェクトを設定します。
@param cert 設定する証明書(OpenSSL::X509::Certificate)オブジェクト
@see OpenSSL::X509::ExtensionFactory.new -
OpenSSL
:: X509 :: ExtensionFactory # subject _ request -> OpenSSL :: X509 :: Request | nil (63901.0) -
自身に設定されている証明書署名要求オブジェクトを返します。
自身に設定されている証明書署名要求オブジェクトを返します。
設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # subject _ request=(req) (63901.0) -
自身に証明書署名要求オブジェクトを設定します。
自身に証明書署名要求オブジェクトを設定します。
@param req 設定する証明書署名要求(OpenSSL::X509::Request)オブジェクト
@see OpenSSL::X509::ExtensionFactory.new -
JSON
:: Generator :: GeneratorMethods :: Object (63001.0) -
Object に JSON で使用するインスタンスメソッドを追加するためのモジュールです。
Object に JSON で使用するインスタンスメソッドを追加するためのモジュールです。 -
OpenSSL
:: ASN1 . # ObjectId(value) -> OpenSSL :: ASN1 :: ObjectId -> OpenSSL :: ASN1 :: ObjectId (56701.0) -
ASN.1 の ObjectId 型の値を表現する Ruby のオブジェクトを 生成します。
ASN.1 の ObjectId 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::ObjectId.new と同じです。
@param value ASN.1 オブジェクト識別子を表す文字列
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか) -
Enumerator
# with _ object(obj) {|(*args) , memo _ obj| . . . } -> object (56401.0) -
繰り返しの各要素に obj を添えてブロックを繰り返し、obj を返り値として返します。
繰り返しの各要素に obj を添えてブロックを繰り返し、obj を返り値として返します。
obj には任意のオブジェクトを渡すことができます。
ブロックが渡されなかった場合は、上で説明した繰り返しを実行し、
最後に obj を返す Enumerator を返します。
//emlist[例][ruby]{
# 0,1,2 と呼びだす enumeratorを作る
to_three = Enumerator.new do |y|
3.times do |x|
y << x
end
end
to_three_with_string = to_three.with_object... -
Prime
:: PseudoPrimeGenerator # with _ object(obj) {|prime , obj| . . . } -> object (56401.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
@param obj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object -
Enumerable
# each _ with _ object(obj) {|(*args) , memo _ obj| . . . } -> object (56101.0) -
与えられた任意のオブジェクトと要素をブロックに渡し繰り返し、最初に与えられたオブジェクトを返します。
与えられた任意のオブジェクトと要素をブロックに渡し繰り返し、最初に与えられたオブジェクトを返します。
ブロックを省略した場合は Enumerator を返します。
@param obj 任意のオブジェクトを指定します。
//emlist[例][ruby]{
evens = (1..10).each_with_object([]) {|i, a| a << i*2 }
# => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
//}
@see Enumerator#with_object -
struct RObject * ROBJECT(VALUE obj) (56101.0)
-
-
Module
# extend _ object(obj) -> object (55801.0) -
Object#extend の実体です。オブジェクトにモジュールの機能を追加します。
Object#extend の実体です。オブジェクトにモジュールの機能を追加します。
Object#extend は、Ruby で書くと以下のように定義できます。
//emlist[例][ruby]{
def extend(*modules)
modules.reverse_each do |mod|
# extend_object や extended はプライベートメソッドなので
# 直接 mod.extend_object(self) などとは書けない
mod.__send__(:extend_object, self)
mod.__send__... -
OpenSSL
:: ASN1 . # ObjectId(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: ObjectId (55801.0) -
ASN.1 の ObjectId 型の値を表現する Ruby のオブジェクトを 生成します。
ASN.1 の ObjectId 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::ObjectId.new と同じです。
@param value ASN.1 オブジェクト識別子を表す文字列
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか) -
OpenSSL
:: X509 :: Request # subject=(subject) (55801.0) -
証明書署名要求の申請者名を設定します。
証明書署名要求の申請者名を設定します。
@param subject 設定する名前を OpenSSL::X509::Name で渡します
@raise OpenSSL::X509::RequestError 名前の設定に失敗した場合に発生します
@see OpenSSL::X509::Request#subject -
static VALUE inspect
_ obj(VALUE obj , VALUE str) (55801.0) -
-
Delegator
# _ _ setobj _ _ (obj) -> object (55501.0) -
委譲先のオブジェクトをセットします。
委譲先のオブジェクトをセットします。
@param obj 委譲先のオブジェクトを指定します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。 -
SimpleDelegator
# _ _ setobj _ _ (obj) -> object (55501.0) -
委譲先のオブジェクトを obj に変更します。
委譲先のオブジェクトを obj に変更します。
メソッド委譲を行うためのクラスメソッドの再定義は行われないことに注意してください。
メソッド委譲を行うためのクラスメソッドの定義は生成時にのみ行われます。
そのため、以前の委譲先オブジェクトと
obj の間で呼び出せるメソッドに違いがあった場合は、
何かしらの例外が発生する可能性があります。
@param obj 委譲先のオブジェクト
@return 変更後の委譲先オブジェクト -
VALUE rb
_ obj _ instance _ eval(int argc , VALUE *argv , VALUE self) (55501.0) -
-
VALUE rb
_ obj _ is _ instance _ of(VALUE obj , VALUE klass) (55501.0) -
obj がクラス klass のインスタンスならば真。
obj がクラス klass のインスタンスならば真。 -
VALUE rb
_ obj _ remove _ instance _ variable(VALUE obj , VALUE name) (55501.0) -
-
static VALUE rb
_ mod _ extend _ object(VALUE mod , VALUE obj) (55501.0) -
-
static VALUE rb
_ obj _ equal(VALUE obj1 , VALUE obj2) (55501.0) -
obj1 と obj2 が同一のオブジェクトなら真。
obj1 と obj2 が同一のオブジェクトなら真。 -
static VALUE rb
_ obj _ extend(int argc , VALUE *argv , VALUE obj) (55501.0) -
-
static VALUE rb
_ obj _ method(VALUE obj , VALUE vid) (55501.0) -
-
static VALUE rb
_ obj _ respond _ to(int argc , VALUE *argv , VALUE obj) (55501.0) -
-
static VALUE rb
_ thread _ join _ m(int argc , VALUE *argv , VALUE thread) (55501.0) -
-
static int rb
_ thread _ join(rb _ thread _ t th , double limit) (55501.0) -
-
Delegator
# _ _ getobj _ _ -> object (55201.0) -
委譲先のオブジェクトを返します。
委譲先のオブジェクトを返します。
本メソッドは、サブクラスで再定義する必要があり、
デフォルトでは NotImplementedError が発生します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。 -
Enumerable
# each _ with _ object(obj) -> Enumerator (55201.0) -
与えられた任意のオブジェクトと要素をブロックに渡し繰り返し、最初に与えられたオブジェクトを返します。
与えられた任意のオブジェクトと要素をブロックに渡し繰り返し、最初に与えられたオブジェクトを返します。
ブロックを省略した場合は Enumerator を返します。
@param obj 任意のオブジェクトを指定します。
//emlist[例][ruby]{
evens = (1..10).each_with_object([]) {|i, a| a << i*2 }
# => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
//}
@see Enumerator#with_object -
Enumerator
# with _ object(obj) -> Enumerator (55201.0) -
繰り返しの各要素に obj を添えてブロックを繰り返し、obj を返り値として返します。
繰り返しの各要素に obj を添えてブロックを繰り返し、obj を返り値として返します。
obj には任意のオブジェクトを渡すことができます。
ブロックが渡されなかった場合は、上で説明した繰り返しを実行し、
最後に obj を返す Enumerator を返します。
//emlist[例][ruby]{
# 0,1,2 と呼びだす enumeratorを作る
to_three = Enumerator.new do |y|
3.times do |x|
y << x
end
end
to_three_with_string = to_three.with_object... -
Object
# instance _ variable _ get(var) -> object | nil (55201.0) -
オブジェクトのインスタンス変数の値を取得して返します。
オブジェクトのインスタンス変数の値を取得して返します。
インスタンス変数が定義されていなければ nil を返します。
@param var インスタンス変数名を文字列か Symbol で指定します。
//emlist[][ruby]{
class Foo
def initialize
@foo = 1
end
end
obj = Foo.new
p obj.instance_variable_get("@foo") #=> 1
p obj.instance_variable_get(:@foo) #=> 1
p obj.instance_variab... -
Object
# instance _ variable _ set(var , value) -> object (55201.0) -
オブジェクトのインスタンス変数 var に値 value を設定します。
オブジェクトのインスタンス変数 var に値 value を設定します。
インスタンス変数が定義されていなければ新たに定義されます。
@param var インスタンス変数名を文字列か Symbol で指定します。
@param value 設定する値です。
@return value を返します。
//emlist[][ruby]{
obj = Object.new
p obj.instance_variable_set("@foo", 1) #=> 1
p obj.instance_variable_set(:@foo, 2) #=> 2
p obj.instance_var... -
PP
# object _ group(obj) { . . . } -> () (55201.0) -
以下と等価な働きをするもので簡便のために用意されています。 group(1, '#<' + obj.class.name, '>') { ... }
以下と等価な働きをするもので簡便のために用意されています。
group(1, '#<' + obj.class.name, '>') { ... }
@param obj 表示したいオブジェクトを指定します。
@see PrettyPrint#group -
Prime
:: PseudoPrimeGenerator # with _ object(obj) -> Enumerator (55201.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
@param obj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object -
Shell
:: ProcessController # active _ job?(job) -> bool (55201.0) -
指定されたジョブが実行中である場合は真を返します。 そうでない場合は偽を返します。
指定されたジョブが実行中である場合は真を返します。
そうでない場合は偽を返します。
@param job ジョブを指定します。 -
SimpleDelegator
# _ _ getobj _ _ -> object (55201.0) -
委譲先のオブジェクトを返します。
委譲先のオブジェクトを返します。
@see Delegator#__getobj__ -
VALUE rb
_ data _ object _ alloc(VALUE klass , void *datap , RUBY _ DATA _ FUNC dmark , RUBY _ DATA _ FUNC dfree) (55201.0) -
datap をラップするオブジェクトを生成し、返します。 そのクラスは klass となり、datap をマークするときは dmark、解放するときは dfree を使うようになります。
datap をラップするオブジェクトを生成し、返します。
そのクラスは klass となり、datap をマークするときは
dmark、解放するときは dfree を使うようになります。 -
VALUE rb
_ obj _ clone(VALUE obj) (55201.0) -
Object#clone の実体です。
Object#clone の実体です。 -
VALUE rb
_ obj _ freeze(VALUE obj) (55201.0) -
Object#freeze
Object#freeze -
VALUE rb
_ obj _ frozen _ p(VALUE obj) (55201.0) -
Object#frozen?
Object#frozen? -
VALUE rb
_ obj _ instance _ variables(VALUE obj) (55201.0) -
-
VALUE rb
_ obj _ tainted(VALUE obj) (55201.0) -
Object#tainted?
Object#tainted? -
WIN32OLE
# ole _ obj _ help -> WIN32OLE _ TYPE | nil (55201.0) -
WIN32OLE_TYPEオブジェクトを返します。
WIN32OLE_TYPEオブジェクトを返します。
WIN32OLE_TYPEオブジェクトは、WIN32OLEオブジェクトの文書情報と型情
報を保持するオブジェクトです。
@return オブジェクトに関連するWIN32OLE_TYPEオブジェクトを返します。
オブジェクトがドキュメント情報を持たない場合はnilを返します。
excel = WIN32OLE.new('Excel.Application')
tobj = excel.ole_obj_help
@see WIN32OLE_TYPE -
WeakRef
# _ _ getobj _ _ -> object (55201.0) -
自身の参照先のオブジェクトを返します。
自身の参照先のオブジェクトを返します。
@raise WeakRef::RefError GC 済みのオブジェクトを参照した場合に発生します。
@see delegate -
WeakRef
# _ _ setobj _ _ (obj) -> () (55201.0) -
与えられたオブジェクトを自身の参照先としてセットします。 内部用のメソッドなので使わないでください。
与えられたオブジェクトを自身の参照先としてセットします。
内部用のメソッドなので使わないでください。
@param obj 任意のオブジェクトを指定します。 -
static VALUE os
_ each _ obj(int argc , VALUE *argv) (55201.0) -
-
static VALUE rb
_ obj _ inspect(VALUE obj) (55201.0) -
Object#inspect の実体です。
Object#inspect の実体です。 -
static VALUE rb
_ obj _ methods(VALUE obj) (55201.0) -
Object#methods の実体です。
Object#methods の実体です。 -
static VALUE rb
_ obj _ private _ methods(VALUE obj) (55201.0) -
Object#private_methods の実体です。
Object#private_methods の実体です。 -
static VALUE rb
_ obj _ protected _ methods(VALUE obj) (55201.0) -
Object#protected_methods の実体です。
Object#protected_methods の実体です。 -
static void jump
_ tag _ but _ local _ jump(int state) (55201.0) -
-
static void obj
_ free(VALUE obj) (55201.0) -
-
void NEWOBJ(obj
, int typeflag) (55201.0) -
-
void OBJSETUP(obj
, VALUE klass , int typeflag) (55201.0) -
obj をクラス klass とフラグ typeflag で初期化する。
obj をクラス klass とフラグ typeflag で初期化する。 -
Object
# instance _ variable _ defined?(var) -> bool (54937.0) -
インスタンス変数 var が定義されていたら真を返します。
インスタンス変数 var が定義されていたら真を返します。
@param var インスタンス変数名を文字列か Symbol で指定します。
//emlist[][ruby]{
class Fred
def initialize(p1, p2)
@a, @b = p1, p2
end
end
fred = Fred.new('cat', 99)
p fred.instance_variable_defined?(:@a) #=> true
p fred.instance_variable_defined?("@b") #=> true
p fred.instan... -
Class
# json _ creatable? -> bool (54901.0) -
シリアライズされた JSON 形式の文字列から、インスタンスを作成するのにこのクラスを使用できる場合は 真を返します。そうでない場合は、偽を返します。
シリアライズされた JSON 形式の文字列から、インスタンスを作成するのにこのクラスを使用できる場合は
真を返します。そうでない場合は、偽を返します。
このメソッドが真を返すクラスは json_create というメソッドを実装していなければなりません。
また json_create の第一引数は必要なデータを含むハッシュを期待しています。
//emlist[例][ruby]{
require "json"
String.json_creatable? # => true
Dir.json_creatable? # => false
//} -
DublinCoreModel
# dc _ subject (54901.0) -
@todo
@todo -
DublinCoreModel
# dc _ subject= (54901.0) -
@todo
@todo -
DublinCoreModel
# dc _ subjects (54901.0) -
@todo
@todo -
JSON
:: State # object _ nl -> String (54901.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 # object _ nl=(string) (54901.0) -
JSON 形式の文字列中に現れる JavaScript のオブジェクトの行末に挿入する文字列をセットします。
JSON 形式の文字列中に現れる JavaScript のオブジェクトの行末に挿入する文字列をセットします。
@param string 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 }]... -
Jacobian
. # jacobian(f , fx , x) -> [Numeric] (54901.0) -
ヤコビ行列を計算します。
ヤコビ行列を計算します。
@param f ヤコビ行列を求めたい関数を表すオブジェクトを指定します。詳細は
bigdecimal/jacobian をご覧ください。
@param fx f.values(x) の結果を表すベクトルを数値の配列で指定します。
@param x ヤコビ行列を求める点 x にあたるベクトルを数値の配列で指定します。
@return ヤコビ行列を返します。(各要素を Row-major order で 1 次元の配列
にしたオブジェクトを指定します)
@raise RuntimeError 計算結果が特異ヤコビ行列になった... -
Net
:: HTTPResponse :: CODE _ CLASS _ TO _ OBJ -> Hash (54901.0) -
HTTP レスポンスステータスコードの最初の数字からレスポンスのクラス(分類)を あらわすクラスへのハッシュです。
HTTP レスポンスステータスコードの最初の数字からレスポンスのクラス(分類)を
あらわすクラスへのハッシュです。
//emlist[][ruby]{
require 'net/http'
Net::HTTPResponse::CODE_CLASS_TO_OBJ['3'] # => Net::HTTPRedirection
//} -
Net
:: HTTPResponse :: CODE _ TO _ OBJ -> Hash (54901.0) -
HTTP レスポンスステータスコードから対応するクラスへのハッシュです。
HTTP レスポンスステータスコードから対応するクラスへのハッシュです。
//emlist[][ruby]{
require 'net/http'
Net::HTTPResponse::CODE_TO_OBJ['404'] # => Net::HTTPNotFound
//} -
Net
:: IMAP :: Envelope # subject -> String | nil (54901.0) -
メッセージのサブジェクトを返します。
メッセージのサブジェクトを返します。
エンベロープに存在しないときは nil を返します。 -
ObjectSpace
. # garbage _ collect(full _ mark: true , immediate _ sweep: true) -> nil (54901.0) -
どこからも参照されなくなったオブジェクトを回収します。 GC.start と同じです。
どこからも参照されなくなったオブジェクトを回収します。
GC.start と同じです。
@param full_mark マイナー GC を動作させる場合は false を、そうでない場
合は true を指定します。
@param immediate_sweep sweep を遅らせる(Lazy Sweep を行う)場合は false
を、そうでない場合は true を指定します。
注意: これらのキーワード引数は Ruby の実装やバージョンによって異なりま
す。将来のバージョンとの互換性も保証されませ... -
OpenSSL
:: ASN1 :: OBJECT -> Integer (54901.0) -
ASN.1 UNIVERSAL タグの、 OBJECT のタグ番号 6 を表す定数です。
ASN.1 UNIVERSAL タグの、
OBJECT のタグ番号 6 を表す定数です。 -
OpenSSL
:: ASN1 :: OBJECT _ DESCRIPTOR -> Integer (54901.0) -
ASN.1 UNIVERSAL タグの、 OBJECT_DESCRIPTOR のタグ番号 7 を表す定数です。
ASN.1 UNIVERSAL タグの、
OBJECT_DESCRIPTOR のタグ番号 7 を表す定数です。 -
OpenSSL
:: X509 :: Certificate # subject -> OpenSSL :: X509 :: Name (54901.0) -
証明書の所有者の名前を返します。
証明書の所有者の名前を返します。 -
OpenSSL
:: X509 :: Certificate # subject=(name) (54901.0) -
証明書の所有者の名前を設定します。
証明書の所有者の名前を設定します。
@param name 所有者の名前の OpenSSL::X509::Name オブジェクト
@raise OpenSSL::X509::CertificateError 設定に失敗した場合に発生します -
OpenSSL
:: X509 :: Name :: DEFAULT _ OBJECT _ TYPE -> Integer (54901.0) -
属性値のデフォルトの ASN.1 の型です。
属性値のデフォルトの ASN.1 の型です。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new で
template に指定されなかった属性はこの型であると仮定して処理されます。
OpenSSL::ASN1::UTF8STRING を返します。 -
OpenSSL
:: X509 :: Name :: OBJECT _ TYPE _ TEMPLATE -> { String => Integer } (54901.0) -
属性型に対応する ASN.1の型を格納したハッシュです。
属性型に対応する ASN.1の型を格納したハッシュです。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new
などでデフォルト値として使われます。
キーは属性型文字列で、ASN.1の型を表わす整数が対応します。
以下の文字列がキーです。
'C', 'countryName', 'serialNumber', 'dnQualifier',
'DC', 'domainComponent', 'emailAddress' -
OpenSSL
:: X509 :: Request # subject -> OpenSSL :: X509 :: Name (54901.0) -
証明書署名要求の申請者名を返します。
証明書署名要求の申請者名を返します。
@raise OpenSSL::X509::RequestError 名前の取得に失敗した場合に発生します
@see OpenSSL::X509::Request#subject= -
OpenSSL
:: X509 :: TRUST _ OBJECT _ SIGN -> Integer (54901.0) -
@todo
@todo -
Shell
:: ProcessController # active _ jobs -> Array (54901.0) -
実行中のジョブの配列を返します。
実行中のジョブの配列を返します。 -
Shell
:: ProcessController # active _ jobs _ exist? -> bool (54901.0) -
実行中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。
実行中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。 -
Shell
:: ProcessController # jobs _ exist? -> bool (54901.0) -
実行中か待機中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。
実行中か待機中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。 -
Shell
:: ProcessController # terminate _ job(command) (54901.0) -
指定されたコマンドを終了します。
指定されたコマンドを終了します。
@param command コマンドを指定します。 -
Shell
:: ProcessController # wait _ all _ jobs _ execution -> () (54901.0) -
全てのジョブの実行が終わるまで待ちます。
全てのジョブの実行が終わるまで待ちます。