10526件ヒット
[1-100件を表示]
(0.077秒)
別のキーワード
種類
ライブラリ
- ビルトイン (5041)
- bigdecimal (33)
-
cgi
/ session (11) - continuation (11)
- csv (55)
- debug (11)
- delegate (143)
- digest (22)
- drb (143)
-
drb
/ extserv (22) -
drb
/ gw (11) -
drb
/ timeridconv (11) - e2mmap (6)
- erb (11)
- etc (22)
- fiber (8)
- fiddle (44)
- fileutils (12)
- forwardable (11)
- gdbm (55)
-
io
/ console (33) -
io
/ nonblock (11) - ipaddr (11)
- irb (11)
-
irb
/ cmd / subirb (11) -
irb
/ context (77) -
irb
/ ext / save-history (11) -
irb
/ extend-command (66) -
irb
/ frame (11) -
irb
/ inspector (11) -
irb
/ magic-file (22) -
irb
/ output-method (33) -
irb
/ xmp (22) - json (275)
- matrix (55)
-
minitest
/ spec (16) -
minitest
/ unit (7) - mkmf (66)
- monitor (32)
-
mutex
_ m (33) -
net
/ ftp (11) -
net
/ http (44) -
net
/ imap (44) -
net
/ pop (55) -
net
/ smtp (39) - objspace (121)
- observer (11)
- open-uri (15)
- openssl (297)
- optparse (165)
- ostruct (59)
- pathname (11)
- pp (125)
- prettyprint (33)
- prime (99)
- profiler (6)
- pstore (55)
- psych (215)
- pty (11)
- rake (44)
-
rdoc
/ code _ object (220) -
rdoc
/ markup (11) - resolv (11)
-
rexml
/ document (143) -
rexml
/ parsers / pullparser (22) -
rinda
/ rinda (33) -
rinda
/ tuplespace (11) -
ripper
/ filter (33) -
ripper
/ sexp (22) - rubygems (11)
-
rubygems
/ config _ file (22) -
rubygems
/ spec _ fetcher (22) -
rubygems
/ specification (22) -
rubygems
/ timer (11) - sdbm (33)
- set (11)
- shell (24)
-
shell
/ command-processor (6) -
shell
/ filter (12) -
shell
/ process-controller (6) - singleton (22)
- socket (220)
- stringio (22)
- strscan (22)
- sync (12)
- tempfile (55)
- thread (12)
- timeout (35)
- tmpdir (22)
- tracer (22)
- uri (33)
- weakref (11)
-
webrick
/ cgi (11) -
webrick
/ httpauth / authenticator (11) -
webrick
/ httpauth / basicauth (11) -
webrick
/ server (11) - win32ole (484)
-
yaml
/ dbm (143) - zlib (99)
クラス
-
ARGF
. class (55) - Addrinfo (77)
- Array (446)
- BasicObject (154)
- BigDecimal (33)
- Binding (40)
-
CGI
:: Session (11) - CSV (11)
-
CSV
:: Row (33) -
CSV
:: Table (11) - Class (44)
- Complex (11)
-
DRb
:: DRbIdConv (11) -
DRb
:: DRbObject (55) -
DRb
:: DRbServer (11) -
DRb
:: DRbUnknown (11) -
DRb
:: ExtServ (22) -
DRb
:: GW (11) -
DRb
:: TimerIdConv (11) - Data (4)
- Delegator (99)
-
Digest
:: Base (11) - Dir (66)
- ERB (11)
- Enumerator (121)
-
Enumerator
:: Chain (12) -
Enumerator
:: Lazy (33) -
Enumerator
:: Yielder (22) - Fiber (48)
-
Fiddle
:: Closure :: BlockCaller (11) -
Fiddle
:: Pointer (11) - File (11)
- FrozenError (5)
- GDBM (55)
-
Gem
:: ConfigFile (22) -
Gem
:: SpecFetcher (22) -
Gem
:: Specification (22) - Hash (221)
- IO (297)
- IPAddr (11)
-
IRB
:: Context (66) -
IRB
:: ExtendCommand :: Kill (11) -
IRB
:: Frame (11) -
IRB
:: Inspector (11) -
IRB
:: OutputMethod (33) - Integer (25)
-
JSON
:: Parser (11) -
JSON
:: State (44) - KeyError (14)
- LocalJumpError (11)
- Matrix (22)
- Method (72)
- Module (364)
- Monitor (10)
- Mutex (2)
- NameError (20)
-
Net
:: FTP (11) -
Net
:: HTTP (22) -
Net
:: HTTPGenericRequest (22) -
Net
:: IMAP (11) -
Net
:: IMAP :: FetchData (11) -
Net
:: IMAP :: ResponseCode (11) -
Net
:: IMAP :: UntaggedResponse (11) -
Net
:: POP3 (22) -
Net
:: POPMail (33) -
Net
:: SMTP (39) - NoMethodError (11)
- Numeric (11)
- Object (1106)
-
ObjectSpace
:: WeakMap (22) -
OpenSSL
:: ASN1 :: ASN1Data (11) -
OpenSSL
:: ASN1 :: ObjectId (88) -
OpenSSL
:: SSL :: SSLContext (11) -
OpenSSL
:: X509 :: Attribute (44) -
OpenSSL
:: X509 :: Name (77) - OpenStruct (59)
- OptionParser (132)
- PP (66)
- PStore (44)
-
PStore
:: DummyMutex (11) - Pathname (11)
- PrettyPrint (33)
- Prime (44)
-
Prime
:: PseudoPrimeGenerator (33) - Proc (11)
-
Psych
:: Nodes :: Node (22) -
Psych
:: ScalarScanner (11) -
Psych
:: Visitors :: YAMLTree (22) -
RDoc
:: CodeObject (209) -
RDoc
:: Markup (11) -
RDoc
:: Options (11) -
REXML
:: Attribute (11) -
REXML
:: DocType (11) -
REXML
:: Element (11) -
REXML
:: Elements (22) -
REXML
:: Parent (88) -
REXML
:: Parsers :: PullEvent (22) -
Rake
:: TaskArguments (22) - Range (182)
- Regexp (33)
-
Resolv
:: DNS (11) -
Rinda
:: DRbObjectTemplate (22) -
Rinda
:: TupleEntry (11) - Ripper (22)
-
Ripper
:: Filter (33) -
RubyVM
:: InstructionSequence (11) - SDBM (33)
- Set (11)
- Shell (24)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (12) -
Shell
:: ProcessController (6) - SimpleDelegator (33)
- Socket (88)
- StopIteration (11)
- String (74)
- StringIO (22)
- StringScanner (22)
- Struct (98)
- Symbol (3)
- Tempfile (55)
- Thread (73)
-
Thread
:: Mutex (9) -
Thread
:: Queue (33) -
Thread
:: SizedQueue (33) - TracePoint (82)
- Tracer (33)
- UNIXServer (22)
- UNIXSocket (33)
- UnboundMethod (21)
- UncaughtThrowError (20)
- Vector (33)
-
WEBrick
:: CGI (11) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPAuth :: BasicAuth (11) - WIN32OLE (77)
-
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ METHOD (33) -
WIN32OLE
_ PARAM (33) -
WIN32OLE
_ TYPE (66) -
WIN32OLE
_ TYPELIB (132) -
WIN32OLE
_ VARIABLE (77) -
WIN32OLE
_ VARIANT (33) - WeakRef (11)
- XMP (11)
-
YAML
:: DBM (143) -
Zlib
:: GzipReader (44) -
Zlib
:: GzipWriter (55)
モジュール
- Comparable (13)
- DRb (22)
- Enumerable (712)
- Etc (22)
- Exception2MessageMapper (6)
- Fiddle (22)
- FileUtils (12)
- GC (12)
- Gem (11)
- IRB (11)
-
IRB
:: ContextExtender (22) -
IRB
:: ExtendCommandBundle (44) -
IRB
:: HistorySavingAbility (11) - JSON (143)
-
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (11) - Kernel (503)
- Marshal (44)
-
MiniTest
:: Assertions (7) - MonitorMixin (22)
-
Mutex
_ m (33) - ObjectSpace (231)
- Observable (11)
-
OpenSSL
:: ASN1 (44) -
OpenSSL
:: X509 (11) -
OptionParser
:: Arguable (22) - PTY (11)
-
Process
:: GID (11) -
Process
:: UID (11) -
Profiler
_ _ (6) - Psych (105)
-
Rake
:: Cloneable (22) - Singleton (11)
-
Sync
_ m (12) - Timeout (19)
- URI (29)
-
WEBrick
:: HTTPAuth :: Authenticator (11)
オブジェクト
- ENV (11)
-
IRB
:: MagicFile (22) - main (22)
キーワード
- ! (11)
- != (11)
- !~ (11)
-
$ -K (4) -
$ > (11) -
$ KCODE (4) -
$ SAFE (4) -
$ stderr (11) -
$ stdin (11) -
$ stdout (11) - % (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - < (11)
- << (44)
- <= (11)
- <=> (11)
- == (68)
- === (62)
- =~ (9)
- > (11)
- >= (11)
- ARGF (11)
- ARGV (22)
- Arguable (11)
-
BUILD
_ RUBY _ PLATFORM (11) - BasicObject (11)
- Binding (11)
- CodeObject (11)
- Context (11)
- DATA (11)
-
DEFAULT
_ OBJECT _ TYPE (11) -
DEFAULT
_ PARAMS (11) - DRbObject (22)
- DRbObjectTemplate (11)
- DRbProtocol (11)
- DelegateClass (11)
- Digest (11)
- ENV (11)
- FALSE (8)
- Forwardable (11)
- Hash (11)
- Integer (11)
- JSON (11)
- Method (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - NIL (8)
- OBJECT (11)
-
OBJECT
_ DESCRIPTOR (11) -
OBJECT
_ TYPE _ TEMPLATE (11) - ObjectId (33)
- ObjectSpace (11)
- ROBJECT (11)
-
RUBY
_ COPYRIGHT (11) -
RUBY
_ DESCRIPTION (11) -
RUBY
_ ENGINE (11) -
RUBY
_ ENGINE _ VERSION (9) -
RUBY
_ PATCHLEVEL (11) -
RUBY
_ PLATFORM (11) -
RUBY
_ RELEASE _ DATE (11) -
RUBY
_ REVISION (11) -
RUBY
_ VERSION (11) - Ruby プログラムの実行 (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Rubyの起動 (11)
- Ruby用語集 (11)
-
SCRIPT
_ LINES _ _ (11) -
SC
_ SHARED _ MEMORY _ OBJECTS (11) -
SC
_ TYPED _ MEMORY _ OBJECTS (11) - STDERR (11)
- STDIN (11)
- STDOUT (11)
- Singleton (11)
-
TOPLEVEL
_ BINDING (11) - TRUE (8)
-
TRUST
_ OBJECT _ SIGN (11) - URI (11)
-
WIN32OLE
_ TYPELIB (11) -
WIN32OLE
_ VARIABLE (11) - WeakMap (11)
- [] (275)
- []= (33)
-
_ _ drbref (11) -
_ _ drburi (11) -
_ _ getobj _ _ (33) -
_ _ id _ _ (11) -
_ _ send _ _ (22) -
_ _ setobj _ _ (22) -
_ dump (11) -
_ getproperty (11) -
_ id2ref (11) -
_ invoke (11) - add (11)
- all (11)
- allocate (11)
-
allocation
_ sourcefile (11) -
allocation
_ sourceline (11) -
arg
_ config (11) - args (11)
-
array
_ attributes (11) -
assert
_ empty (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ nil (1) -
assert
_ respond _ to (1) - at (11)
- attr (11)
- begin (11)
- bind (22)
-
bind
_ call (10) - binding (11)
-
body
_ stream (11) -
body
_ stream= (11) -
boot
_ defclass (11) - bsearch (44)
- call (33)
- callcc (11)
- catch (22)
- cd (6)
- chdir (28)
- clamp (24)
- class (11)
-
class
_ eval (22) -
class
_ exec (11) -
class
_ variable _ get (11) -
class
_ variable _ set (11) -
class
_ variables (11) - clone (33)
-
cofactor
_ expansion (11) - collect (44)
- comment (11)
- comment= (11)
-
compare
_ by _ identity (11) - component (11)
- config (11)
- connect (11)
-
connect
_ from (11) -
connect
_ nonblock (11) -
connect
_ to (11) -
const
_ defined? (11) -
const
_ get (11) -
const
_ set (11) -
const
_ source _ location (5) - constants (22)
- context (22)
- convert (11)
-
convertible
_ int (22) - cooked (11)
-
count
_ nodes (11) -
count
_ objects (11) -
count
_ objects _ size (11) -
count
_ tdata _ objects (11) - create (22)
-
create
_ id (11) - cycle (22)
- data (22)
- debug (11)
-
def
_ class (11) -
def
_ extend _ command (22) -
def
_ inspector (11) - default (33)
-
default
_ event _ sources (11) -
default
_ value (11) -
define
_ finalizer (22) -
define
_ method (22) -
define
_ singleton _ method (22) - delete (121)
-
delete
_ at (11) -
delete
_ field (11) -
delete
_ if (11) -
delete
_ observer (11) - deq (22)
- detect (22)
- dig (36)
- disable (22)
- display (11)
- dlunwrap (11)
-
document
_ children (11) -
document
_ children= (11) -
document
_ self (11) -
document
_ self= (11) - documented? (11)
- drb (11)
-
drb
/ extservm (11) - dump (55)
-
dump
_ stream (11) - dup (22)
- each (116)
-
each
_ active _ object (6) -
each
_ byte (22) -
each
_ child (11) -
each
_ object (44) -
each
_ prime (22) -
each
_ with _ object (22) - element (11)
- enable (22)
- end (11)
- entries (11)
-
enum
_ for (33) - eql? (68)
- equal? (33)
- eval (44)
- evaluate (11)
- event? (11)
- exclusive (11)
- execute (11)
- exit (11)
-
exit
_ value (11) - extend (11)
-
extend
_ object (39) - extended (22)
-
fast
_ generate (11) -
fast
_ unparse (11) - feed (11)
- fetch (128)
-
fetch
_ spec (11) -
fetch
_ values (18) - field (11)
- file (11)
- filter (30)
-
filter
_ map (10) - find (22)
-
find
_ all (22) - first (55)
-
for
_ fd (11) - force (11)
- format (22)
- freeze (11)
- front (33)
- frozen? (11)
-
garbage
_ collect (11) - generate (22)
- getbyte (11)
- getc (11)
- gets (11)
-
global
_ variables (11) - grep (22)
-
grep
_ v (22) - guid (11)
-
handle
_ interrupt (11) - handler (11)
- hash (11)
- index (7)
- initialize (11)
-
initialize
_ copy (11) - inject (44)
- input? (11)
- inspect (16)
-
inspect
_ mode (11) -
install
_ extend _ commands (22) - instance (22)
-
instance
_ eval (22) -
instance
_ exec (11) -
instance
_ method (11) -
instance
_ methods (11) -
instance
_ of? (11) -
instance
_ variable _ defined? (11) -
instance
_ variable _ get (11) -
instance
_ variable _ set (11) -
instance
_ variables (11) - intersection (5)
- invert (11)
- invoke (11)
- irb (19)
-
irb
/ completion (11) -
irb
/ ext / math-mode (4) -
irb
_ exit (22) -
is
_ a? (11) - itself (11)
- j (11)
- jj (11)
- join (11)
- key (18)
- keys (11)
-
kind
_ of? (11) - lambda (13)
-
laplace
_ expansion (11) - last (33)
-
last
_ value (11) -
latest
_ gc _ info (11) -
library
_ name (11) - listen (22)
- ln (11)
- load (36)
-
load
_ documents (8) -
load
_ file (22) -
load
_ specs (11) -
load
_ stream (22) -
local
_ variable _ get (11) -
local
_ variables (11) - logger (22)
-
long
_ name (11) - lookup (11)
- loop (11)
- mail (11)
- main (11)
-
major
_ version (11) - map (33)
-
marshal
_ dump (22) -
marshal
_ load (22) - match (33)
- max (118)
-
max
_ by (44) -
memsize
_ of (11) -
memsize
_ of _ all (11) - method (11)
-
method
_ missing (33) - methods (22)
- min (118)
-
min
_ by (44) - minmax (42)
-
minmax
_ by (22) -
minor
_ version (11) - mktmpdir (22)
- modifiable (11)
-
module
_ eval (22) -
module
_ exec (11) -
mon
_ synchronize (16) -
mu
_ pp (1) -
mu
_ synchronize (11) -
must
_ be (1) -
must
_ be _ close _ to (1) -
must
_ be _ empty (1) -
must
_ be _ instance _ of (1) -
must
_ be _ kind _ of (1) -
must
_ be _ nil (1) -
must
_ be _ same _ as (1) -
must
_ be _ within _ delta (1) -
must
_ be _ within _ epsilon (1) -
must
_ equal (1) -
must
_ include (1) -
must
_ match (1) -
must
_ raise (1) -
must
_ respond _ to (1) -
must
_ send (1) -
must
_ throw (1) - name (33)
- new (231)
-
new
_ with _ uri (11) - next (11)
- nil? (11)
- noecho (11)
- nonblock (11)
-
object
_ group (11) -
object
_ id (11) -
object
_ nl (11) -
object
_ nl= (11) -
offset
_ vtbl (11) - oid (22)
- oid= (11)
-
ole
_ classes (22) -
ole
_ type (11) -
ole
_ typelib (22) -
ole
_ types (11) - on (132)
-
on
_ XXX (11) -
on
_ default (11) - open (301)
- optional? (11)
- output (11)
- p (11)
- parameters (39)
- parent (11)
- parent= (11)
-
parent
_ file _ name (11) -
parent
_ name (11) - parse (55)
- parse! (11)
-
parse
_ openssl (11) -
parse
_ rfc2253 (11) - partition (22)
- path (11)
- peek (11)
-
pending
_ interrupt? (11) - pipe (88)
- pop (44)
- popen (77)
- pp (44)
- ppx (11)
-
pretty
_ generate (11) -
pretty
_ inspect (11) -
pretty
_ print (11) -
pretty
_ print _ cycle (11) -
pretty
_ print _ inspect (11) -
pretty
_ print _ instance _ variables (11) -
pretty
_ unparse (11) -
private
_ instance _ methods (11) -
private
_ methods (11) - proc (14)
-
protected
_ instance _ methods (11) -
protected
_ methods (22) -
psych
_ to _ yaml (11) -
psych
_ y (11) - public (23)
-
public
_ constant (9) -
public
_ instance _ method (11) -
public
_ instance _ methods (11) -
public
_ method (11) -
public
_ methods (22) -
public
_ send (22) - push (22)
- pushd (6)
- pushdir (6)
- putc (55)
- puts (11)
- raise (15)
- raw (11)
-
rb
_ any _ to _ s (11) -
rb
_ class _ real (11) -
rb
_ data _ object _ alloc (11) -
rb
_ define _ class _ under (11) -
rb
_ define _ global _ const (11) -
rb
_ extend _ object (11) -
rb
_ false (11) -
rb
_ mod _ extend _ object (11) -
rb
_ obj _ class (11) -
rb
_ obj _ clone (11) -
rb
_ obj _ dup (11) -
rb
_ obj _ freeze (11) -
rb
_ obj _ frozen _ p (11) -
rb
_ obj _ id (11) -
rb
_ obj _ inspect (11) -
rb
_ obj _ methods (11) -
rb
_ obj _ private _ methods (11) -
rb
_ obj _ protected _ methods (11) -
rb
_ obj _ singleton _ methods (11) -
rb
_ obj _ taint (11) -
rb
_ obj _ tainted (11) -
rb
_ obj _ untaint (11) -
rcptto
_ list (11) - rdoc (11)
-
rdoc
/ code _ object (11) -
rdoc
/ code _ objects (11) -
reachable
_ objects _ from (11) -
read
_ nonblock (11) - readline (11)
- receiver (42)
-
recv
_ io (11) - reduce (33)
- register (11)
- rehash (11)
- reject (44)
- reload (11)
-
remove
_ class _ variable (11) -
remove
_ classes _ and _ modules (11) -
remove
_ const (11) -
remove
_ instance _ variable (11) -
remove
_ methods _ etc (11) - replace (11)
-
require
_ relative (11) -
respond
_ to? (22) -
respond
_ to _ missing? (11) - responses (11)
- restore (22)
- result (11)
- resume (11)
-
return
_ value (11) - rewind (6)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
safe
_ load (17) - sample (22)
-
save
_ exception _ mode (11) -
save
_ limit (11) -
save
_ rounding _ mode (11) -
scan
_ full (11) -
search
_ full (11) - section (11)
- section= (11)
- select (77)
- self (11)
- send (22)
- sender (11)
-
set
_ last _ value (11) - sexp (11)
-
sexp
_ raw (11) -
sharing
_ detection (11) -
sharing
_ detection= (11) - shift (55)
-
short
_ name (11) -
singleline
_ format (11) -
singleline
_ pp (11) -
singleton
_ class (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) - slice (11)
- slice! (33)
- sn (11)
- sort (22)
-
sort
_ by (22) - sprintf (11)
- sprintf フォーマット (11)
- start (72)
-
start
_ doc (11) -
start
_ profile (6) - stat (11)
- stdout (11)
-
stop
_ doc (11) - store (22)
- sum (38)
- switch (22)
-
sync
_ synchronize (6) - synchronize (55)
- tag (10)
- taint (9)
- tainted? (9)
- tally (8)
- tap (11)
- tcp (11)
-
tcp
_ server _ sockets (22) - then (12)
-
thread
_ variable _ get (11) - time (11)
- timeout (35)
-
to
_ a (44) -
to
_ ary (11) -
to
_ enum (33) -
to
_ h (17) -
to
_ hash (11) -
to
_ int (11) -
to
_ io (11) -
to
_ json (11) -
to
_ json _ raw _ object (11) -
to
_ obj (22) -
to
_ proc (14) -
to
_ regexp (11) -
to
_ ruby (11) -
to
_ s (38) -
to
_ str (11) -
to
_ value (11) -
to
_ yaml (11) - tokenize (11)
-
trace
_ func (22) -
trace
_ object _ allocations (11) -
trace
_ object _ allocations _ start (11) -
trace
_ object _ allocations _ stop (11) - transact (18)
- transaction (11)
- transfer (11)
- transform (11)
- trust (9)
-
try
_ convert (14) -
udp
_ server _ sockets (22) - umask (6)
-
undefine
_ finalizer (11) - union (6)
- unix (11)
-
unix
_ server _ socket (11) - unpack1 (8)
- unparse (11)
- unshift (11)
- untaint (9)
- untrust (9)
- untrusted? (9)
-
used
_ modules (8) - value (54)
- values (33)
-
values
_ at (33) -
variable
_ kind (11) - variables (11)
- varkind (11)
- version (11)
- visible? (44)
-
win
_ platform? (11) -
with
_ index (22) -
with
_ object (44) -
with
_ werror (22) - wrap (44)
- write (11)
-
write
_ nonblock (11) - xmp (11)
- xpopen (11)
- y (11)
- yaml (11)
-
yaml
_ tag (11) - yield (22)
-
yield
_ self (14) - zip (44)
- | (6)
- オブジェクト (11)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (11)
- クラス/メソッドの定義 (11)
- メソッド呼び出し(super・ブロック付き・yield) (11)
- 変数と定数 (11)
検索結果
先頭5件
-
Object (44000.0)
-
全てのクラスのスーパークラス。 オブジェクトの一般的な振舞いを定義します。
全てのクラスのスーパークラス。
オブジェクトの一般的な振舞いを定義します。
このクラスのメソッドは上書きしたり未定義にしない限り、すべてのオブジェクトで使用することができます。 -
Object
# object _ id -> Integer (36279.0) -
各オブジェクトに対して一意な整数を返します。あるオブジェクトに対し てどのような整数が割り当てられるかは不定です。
...。
Rubyでは、(Garbage Collectされていない)アクティブなオブジェクト間で
重複しない整数(object_id)が各オブジェクトにひとつずつ割り当てられています。この
メソッドはその値を返します。
TrueClass, FalseClass, NilClass, Symbol, Integ......er クラス
のインスタンスなど Immutable(変更不可)なオブジェクトの一部は同じ内容ならば必ず同じ object_id になります。
これは、Immutable ならば複数の場所から参照されても`破壊的操作'による問題が発生しないので、
同......emlist[][ruby]{
p "ruby".object_id #=> 60
p "ruby".object_id #=> 80
p [].object_id #=> 100
p [].object_id #=> 120
p :ruby.object_id #=> 710428
p :ruby.object_id #=> 710428
p 11.object_id #=> 23
p 11.object_id #=> 23
p true.object_id #=> 20
p true.object_id #=> 20
//}
@see Object#equal?,Symbol... -
Object
# instance _ variable _ set(var , value) -> object (27225.0) -
オブジェクトのインスタンス変数 var に値 value を設定します。
...か 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_variable_get(:@foo) #=> 2
//}
@see Object#insta......nce_variable_get,Object#instance_variables,Object#instance_variable_defined?... -
Object
# instance _ variable _ get(var) -> object | nil (27219.0) -
オブジェクトのインスタンス変数の値を取得して返します。
...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_variable_get(:@bar) #=> nil
//}
@see Object#instance_variable_set,Object#i......nstance_variables,Object#instance_variable_defined?... -
Object
# public _ send(name , *args) -> object (27208.0) -
オブジェクトの public メソッド name を args を引数にして呼び出し、メソッ ドの実行結果を返します。
...の public メソッド name を args を引数にして呼び出し、メソッ
ドの実行結果を返します。
ブロック付きで呼ばれたときはブロックもそのまま引き渡します。
//emlist[][ruby]{
1.public_send(:+, 2) # => 3
//}
@param name 文字列かSymbol で指......しなかった場合に発生します。
@raise NoMethodError protected メソッドや private メソッドに対して実行
した場合に発生します。
//emlist[][ruby]{
1.public_send(:puts, "hello") # => NoMethodError
//}
@see BasicObject#__send__, Object#send... -
Object
# public _ send(name , *args) { . . . . } -> object (27208.0) -
オブジェクトの public メソッド name を args を引数にして呼び出し、メソッ ドの実行結果を返します。
...の public メソッド name を args を引数にして呼び出し、メソッ
ドの実行結果を返します。
ブロック付きで呼ばれたときはブロックもそのまま引き渡します。
//emlist[][ruby]{
1.public_send(:+, 2) # => 3
//}
@param name 文字列かSymbol で指......しなかった場合に発生します。
@raise NoMethodError protected メソッドや private メソッドに対して実行
した場合に発生します。
//emlist[][ruby]{
1.public_send(:puts, "hello") # => NoMethodError
//}
@see BasicObject#__send__, Object#send... -
Object
# remove _ instance _ variable(name) -> object (27201.0) -
オブジェクトからインスタンス変数 name を取り除き、そのインス タンス変数に設定されていた値を返します。
...ない場合に発生します。
//emlist[][ruby]{
class Foo
def foo
@foo = 1
p remove_instance_variable(:@foo) #=> 1
p remove_instance_variable(:@foo) # instance variable @foo not defined (NameError)
end
end
Foo.new.foo
//}
@see Module#remove_class_variable,Module#remove_const... -
Object
:: TOPLEVEL _ BINDING -> Binding (27200.0) -
トップレベルでの Binding オブジェクト。
...トップレベルでの Binding オブジェクト。
詳細は Binding を参照してください。... -
Object
# must _ be _ same _ as(actual) -> true (27132.0) -
自身と与えられたオブジェクトの Object#object_id が同じ場合、検査にパスしたことになります。
...自身と与えられたオブジェクトの Object#object_id が同じ場合、検査にパスしたことになります。
@param actual 任意のオブジェクトを指定します。
@raise MiniTest::Assertion 自身と与えられたオブジェクトが異なる場合に発生します。... -
Object
# instance _ variable _ defined?(var) -> bool (27130.0) -
インスタンス変数 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.instance_variable_defined?("@c")......#=> false
//}
@see Object#instance_variable_get,Object#instance_variable_set,Object#instance_variables...