15770件ヒット
[1-100件を表示]
(0.301秒)
クラス
-
ARGF
. class (705) - Array (1358)
- BasicObject (154)
- Bignum (99)
- Binding (78)
- Class (22)
- Complex (362)
- Data (10)
- Dir (160)
- Encoding (77)
-
Encoding
:: Converter (187) -
Encoding
:: InvalidByteSequenceError (77) -
Encoding
:: UndefinedConversionError (55) - Enumerator (83)
-
Enumerator
:: ArithmeticSequence (84) -
Enumerator
:: Chain (30) -
Enumerator
:: Lazy (271) -
Enumerator
:: Yielder (27) - Exception (117)
- FalseClass (22)
- Fiber (32)
- File (131)
-
File
:: Stat (462) - Fixnum (105)
- Float (224)
- FrozenError (5)
- Hash (459)
- IO (1097)
- Integer (758)
- KeyError (7)
- LoadError (11)
- LocalJumpError (11)
- MatchData (224)
- Method (108)
- Module (648)
- Mutex (4)
- NameError (29)
- NilClass (149)
- NoMethodError (8)
- Numeric (547)
- Object (501)
-
ObjectSpace
:: WeakMap (11) - Proc (90)
-
Process
:: Status (132) -
Process
:: Tms (88) - Random (66)
- Range (236)
- Rational (315)
- Refinement (3)
- Regexp (176)
-
RubyVM
:: AbstractSyntaxTree :: Node (36) -
RubyVM
:: InstructionSequence (119) - SignalException (22)
- StopIteration (11)
- String (1949)
- Struct (120)
- Symbol (310)
- SyntaxError (2)
- SystemCallError (11)
- SystemExit (22)
- Thread (303)
-
Thread
:: Backtrace :: Location (77) -
Thread
:: ConditionVariable (27) -
Thread
:: Mutex (18) -
Thread
:: Queue (36) -
Thread
:: SizedQueue (102) - ThreadGroup (11)
- Time (616)
- TracePoint (194)
- TrueClass (22)
- UnboundMethod (97)
- UncaughtThrowError (10)
モジュール
- Comparable (19)
- Enumerable (1002)
- GC (11)
- Warning (8)
キーワード
- ! (11)
- != (11)
- % (45)
- & (39)
- * (72)
- ** (39)
- + (67)
- +@ (20)
- - (61)
- -@ (56)
-
/ (38) - < (25)
- << (59)
- <= (25)
- <=> (132)
- == (89)
- === (47)
- =~ (48)
- > (25)
- >= (25)
- >> (28)
- [] (258)
- []= (77)
- ^ (28)
-
_ _ id _ _ (11) -
_ _ send _ _ (22) -
_ dump (11) -
abort
_ on _ exception (11) -
abort
_ on _ exception= (11) - abs (47)
- abs2 (22)
-
absolute
_ path (22) - advise (11)
-
alias
_ method (11) - alive? (14)
- all? (17)
- allbits? (7)
- angle (11)
- any? (21)
- anybits? (7)
- arg (11)
- arity (33)
-
ascii
_ compatible? (11) -
ascii
_ only? (11) - asctime (11)
- assoc (22)
- at (11)
- atime (22)
- attr (24)
-
attr
_ accessor (8) -
attr
_ reader (8) -
attr
_ writer (11) - autoclose= (11)
- autoclose? (11)
- autoload (11)
- autoload? (11)
- b (11)
- backtrace (22)
-
backtrace
_ locations (33) -
base
_ label (22) - begin (28)
- between? (22)
- bind (11)
-
bind
_ call (10) - binding (22)
- binmode (22)
- binmode? (22)
- birthtime (21)
-
bit
_ length (17) - blksize (11)
- blockdev? (11)
- blocks (11)
- broadcast (9)
- bsearch (44)
-
bsearch
_ index (18) - byteindex (2)
- byteoffset (4)
- byterindex (2)
- bytes (47)
- bytesize (11)
- byteslice (33)
- bytesplice (4)
-
callee
_ id (11) - capitalize (22)
- capitalize! (11)
- captures (11)
- casecmp (22)
- casecmp? (16)
- cause (11)
- ceil (49)
- ceildiv (2)
- center (11)
- chain (6)
- chardev? (11)
- chars (36)
- children (12)
- chmod (11)
- chomp (11)
- chomp! (11)
- chop (11)
- chop! (11)
- chown (11)
- chr (33)
- chunk (11)
-
chunk
_ while (19) - clamp (8)
-
class
_ eval (11) -
class
_ variable _ defined? (11) -
class
_ variable _ get (11) -
class
_ variable _ set (11) -
class
_ variables (11) - clear (11)
- clone (11)
- close (31)
-
close
_ on _ exec= (11) -
close
_ on _ exec? (11) -
close
_ read (11) -
close
_ write (11) - closed? (11)
- codepoints (50)
- coerce (33)
- collect (33)
- collect! (22)
-
collect
_ concat (33) - combination (22)
- compact! (19)
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) - concat (19)
- conj (22)
- conjugate (22)
-
const
_ defined? (11) -
const
_ get (11) -
const
_ missing (11) -
const
_ source _ location (5) - constants (11)
- convert (22)
- convpath (11)
- count (77)
- crypt (11)
- cstime (11)
- cstime= (11)
- ctime (33)
- curry (21)
- cutime (11)
- cutime= (11)
- cycle (44)
- day (11)
-
deconstruct
_ keys (2) - dedup (2)
- default (22)
-
default
_ proc (11) -
define
_ method (22) -
define
_ singleton _ method (22) -
defined
_ class (11) - delete (33)
- delete! (11)
-
delete
_ at (11) -
delete
_ if (44) -
delete
_ prefix (7) -
delete
_ prefix! (7) -
delete
_ suffix (7) -
delete
_ suffix! (7) - denominator (55)
- deq (9)
-
destination
_ encoding (33) -
destination
_ encoding _ name (22) - detect (22)
- dev (11)
-
dev
_ major (11) -
dev
_ minor (11) - difference (6)
- dig (27)
- digits (22)
- directory? (11)
- disable (22)
- disasm (11)
- disassemble (11)
- display (11)
- div (28)
- divmod (39)
- downcase (19)
- downcase! (11)
- downto (22)
-
drop
_ while (55) - dst? (11)
- dummy? (11)
- dump (11)
- dup (11)
- each (178)
-
each
_ byte (44) -
each
_ char (66) -
each
_ child (12) -
each
_ codepoint (66) -
each
_ cons (11) -
each
_ grapheme _ cluster (14) -
each
_ index (22) -
each
_ line (132) -
each
_ pair (44) -
each
_ slice (22) -
each
_ with _ index (22) -
each
_ with _ object (22) - empty? (18)
- enable (22)
- enabled? (11)
- encode (33)
- encode! (22)
- encoding (33)
- end (17)
-
end
_ with? (16) - enq (9)
- entries (17)
-
enum
_ for (22) - eof (11)
- eof? (11)
- eql? (47)
- equal? (11)
- errno (11)
-
error
_ bytes (11) -
error
_ char (11) - eval (22)
-
eval
_ script (6) - even? (17)
- event (11)
- exception (22)
-
exclude
_ end? (6) - executable? (11)
-
executable
_ real? (11) - exit (11)
-
exit
_ value (11) - exited? (11)
- exitstatus (11)
-
external
_ encoding (22) - fcntl (11)
- fdatasync (11)
- fdiv (50)
- feed (11)
- fetch (18)
- file (11)
- file? (11)
- filename (11)
- fileno (32)
- fill (66)
- filter (54)
- filter! (24)
-
filter
_ map (15) - find (22)
-
find
_ all (33) -
find
_ index (66) - finish (11)
- finite? (27)
- first (78)
-
first
_ column (6) -
first
_ lineno (17) -
fixed
_ encoding? (11) -
flat
_ map (33) - flatten (11)
- flatten! (11)
- flock (11)
- floor (49)
- flush (11)
-
force
_ encoding (11) - friday? (11)
- fsync (11)
- ftype (11)
-
garbage
_ collect (11) - gcd (11)
- gcdlcm (11)
- getbyte (33)
- getc (22)
- getgm (11)
- getlocal (22)
- gets (66)
- getutc (11)
- gid (11)
- gmt? (11)
-
gmt
_ offset (11) - gmtime (11)
- gmtoff (11)
-
grapheme
_ clusters (14) - grep (22)
-
grep
_ v (20) -
group
_ by (22) - grpowned? (11)
- gsub (44)
- gsub! (44)
- hash (165)
- hex (11)
- hour (11)
- id2name (11)
-
ignore
_ deadlock (3) -
ignore
_ deadlock= (3) - imag (22)
- imaginary (22)
-
import
_ methods (3) - include (11)
- include? (66)
- included (11)
-
included
_ modules (11) -
incomplete
_ input? (11) - index (51)
- infinite? (27)
- inherited (11)
- initialize (11)
-
initialize
_ copy (11) - inject (33)
- ino (11)
-
inplace
_ mode (11) -
inplace
_ mode= (11) - insert (22)
-
insert
_ output (11) - inspect (350)
-
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) -
instruction
_ sequence (6) - integer? (22)
- intern (22)
-
internal
_ encoding (22) - intersect? (3)
- intersection (5)
- invert (11)
- ioctl (11)
- irb (8)
-
is
_ a? (11) - isatty (11)
- isdst (11)
- itself (11)
- join (33)
-
keep
_ if (44) - key (7)
- kill (11)
-
kind
_ of? (11) - label (22)
- last (23)
-
last
_ column (6) -
last
_ error (11) -
last
_ lineno (6) - lcm (11)
- left (11)
- length (82)
- lineno (44)
- lineno= (22)
- lines (106)
- list (11)
- ljust (11)
-
local
_ variable _ defined? (11) -
local
_ variable _ get (11) -
local
_ variable _ set (11) -
local
_ variables (19) - localtime (22)
- lstat (11)
- lstrip (11)
- lstrip! (11)
- magnitude (58)
- map (33)
- map! (22)
-
marshal
_ dump (11) - match (55)
- match? (8)
- max (69)
- max= (9)
-
max
_ by (44) - mday (11)
- member? (17)
-
method
_ defined? (11) -
method
_ id (11) -
method
_ missing (11) -
method
_ undefined (11) - methods (11)
- min (129)
-
min
_ by (44) - minmax (42)
-
minmax
_ by (22) - mode (11)
-
module
_ eval (11) -
module
_ function (19) - modulo (28)
- mon (11)
- monday? (11)
- month (11)
- mtime (22)
- name (35)
- name= (9)
-
named
_ captures (11) - names (33)
- negative? (26)
- next (22)
- next! (11)
- nil? (22)
- nlink (11)
- nobits? (7)
- nonzero? (11)
- nsec (11)
-
num
_ waiting (9) - numerator (55)
-
object
_ id (11) - oct (11)
- odd? (17)
- offset (22)
- ord (22)
-
original
_ name (22) - owned? (11)
- pack (19)
- parameters (8)
- partition (33)
- path (81)
-
pending
_ interrupt? (11) - permutation (22)
- phase (11)
- pid (22)
- pipe? (11)
- polar (22)
- pop (20)
- pos (33)
- pos= (22)
- positive? (26)
-
post
_ match (11) - pow (22)
-
pre
_ match (11) - pread (7)
- pred (11)
- prepend (19)
-
primitive
_ convert (44) -
primitive
_ errinfo (11) - print (22)
- printf (22)
- priority (11)
- priority= (11)
- private (23)
-
private
_ call? (8) -
private
_ class _ method (15) -
private
_ constant (11) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) - product (22)
- protected (8)
-
protected
_ instance _ methods (11) -
protected
_ method _ defined? (11) -
protected
_ methods (11) - public (23)
-
public
_ class _ method (15) -
public
_ constant (11) -
public
_ instance _ method (11) -
public
_ instance _ methods (11) -
public
_ method (11) -
public
_ method _ defined? (11) -
public
_ methods (11) -
public
_ send (22) - push (9)
- putback (22)
- putc (11)
- puts (22)
- pwrite (7)
- quo (33)
- raise (26)
-
raised
_ exception (11) - rand (22)
- rassoc (22)
- rationalize (99)
- rdev (11)
-
rdev
_ major (11) -
rdev
_ minor (11) - read (33)
-
read
_ nonblock (22) - readable? (11)
-
readable
_ real? (11) -
readagain
_ bytes (11) - readbyte (22)
- readchar (22)
- readline (66)
- readlines (66)
- readpartial (22)
- real (22)
- real? (22)
- receiver (42)
- rect (22)
- rectangular (22)
- reduce (33)
- refine (11)
- reject (77)
- reject! (44)
- remainder (25)
-
remove
_ class _ variable (11) -
remove
_ instance _ variable (11) - reopen (33)
-
repeated
_ combination (22) -
repeated
_ permutation (22) - replace (11)
- replacement (11)
- replacement= (11)
- replicate (11)
-
report
_ on _ exception (8) -
report
_ on _ exception= (8) -
respond
_ to? (11) -
respond
_ to _ missing? (11) - result (11)
- resume (11)
-
return
_ value (11) - reverse (11)
- reverse! (11)
-
reverse
_ each (11) - rewind (50)
- rindex (44)
- rjust (11)
- round (63)
- rpartition (11)
- rstrip (11)
- rstrip! (11)
-
ruby2
_ keywords (5) -
safe
_ level (7) - sample (22)
- saturday? (11)
- scan (22)
- scrub (33)
- scrub! (33)
- sec (11)
- seed (11)
- seek (33)
- select (84)
- select! (39)
- self (11)
-
set
_ backtrace (11) -
set
_ encoding (66) -
set
_ encoding _ by _ bom (5) -
set
_ trace _ func (11) - setbyte (11)
- setgid? (11)
- setuid? (11)
- shift (51)
- signal (9)
- signaled? (11)
- signm (11)
- signo (11)
-
singleton
_ class (11) -
singleton
_ class? (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) - size (155)
- size? (11)
- skip (11)
- sleep (11)
- slice (161)
- slice! (99)
-
slice
_ after (42) -
slice
_ before (55) -
slice
_ when (21) - socket? (11)
- sort (22)
- sort! (22)
-
sort
_ by (22) -
sort
_ by! (11) - source (11)
-
source
_ encoding (33) -
source
_ encoding _ name (22) -
source
_ location (39) - split (17)
- squeeze (11)
- squeeze! (11)
-
start
_ with? (16) - stat (11)
- state (11)
- status (22)
- step (107)
- sticky? (11)
- stime (11)
- stime= (11)
- stopsig (11)
- strftime (11)
- string (11)
- strip (11)
- strip! (11)
- sub (33)
- sub! (33)
- subsec (11)
- succ (32)
- succ! (11)
- success? (11)
- sum (49)
- sunday? (11)
-
super
_ method (20) - superclass (11)
- swapcase (19)
- swapcase! (11)
- symlink? (11)
- sync (11)
- sync= (11)
- synchronize (11)
- sysread (11)
- sysseek (11)
- syswrite (11)
- taint (9)
- tainted? (9)
-
take
_ while (66) - tell (33)
- terminate (11)
- termsig (11)
-
thread
_ variable? (11) -
thread
_ variable _ get (11) -
thread
_ variable _ set (11) - thursday? (11)
- times (22)
-
to
_ a (94) -
to
_ binary (9) -
to
_ c (44) -
to
_ enum (22) -
to
_ f (61) -
to
_ h (28) -
to
_ i (110) -
to
_ int (33) -
to
_ io (33) -
to
_ path (24) -
to
_ proc (16) -
to
_ r (77) -
to
_ s (322) -
to
_ str (22) -
to
_ sym (22) -
to
_ write _ io (11) - tr (11)
- tr! (11)
-
tr
_ s (11) -
tr
_ s! (11) - transfer (3)
-
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) - truncate (55)
- tty? (11)
- tuesday? (11)
-
tv
_ nsec (11) -
tv
_ sec (11) -
tv
_ usec (11) - uid (11)
- unbind (11)
- undump (7)
- ungetbyte (11)
- ungetc (11)
-
unicode
_ normalize (10) -
unicode
_ normalize! (10) -
unicode
_ normalized? (10) - union (6)
- uniq (60)
- uniq! (22)
- unpack (11)
- unpack1 (8)
- unshift (11)
- untaint (9)
- upcase (19)
- upcase! (11)
- upto (33)
- usec (11)
- using (11)
- utc (11)
- utc? (11)
-
utc
_ offset (11) - utime (11)
- utime= (11)
-
valid
_ encoding? (11) -
values
_ at (11) - wait (9)
- warn (8)
- wday (11)
- wednesday? (11)
- with (2)
-
with
_ index (32) -
with
_ object (22) -
world
_ readable? (11) -
world
_ writable? (11) - writable? (11)
-
writable
_ real? (11) - write (22)
-
write
_ nonblock (11) - yday (11)
- year (11)
- yield (22)
-
yield
_ self (14) - zero? (25)
- zip (66)
- zone (11)
- | (28)
- ~ (28)
検索結果
先頭5件
- Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding - Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String - Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding - Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String - Encoding
:: InvalidByteSequenceError # incomplete _ input? -> bool
-
Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding (26303.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#source_encoding,
Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String (26303.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#destination_encoding... -
Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding (26303.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::UndefinedConversionError#source_encoding... -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (26303.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: InvalidByteSequenceError # incomplete _ input? -> bool (26203.0) -
エラー発生時に入力文字列が不足している場合に真を返します。
...す。
//emlist[例][ruby]{
ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
begin
ec.convert("abc\xA1z")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "z" on EUC-JP>
p $!.incomplete_input? #=> false
end
begin
ec.conve......rt("abc\xA1")
ec.finish
rescue Encoding::InvalidByteSequenceError
p $! #=> #<Encoding::InvalidByteSequenceError: incomplete "\xA1" on EUC-JP>
p $!.incomplete_input? #=> true
end
//}... -
Numeric
# i -> Complex (26152.0) -
Complex(0, self) を返します。
...Complex(0, self) を返します。
ただし、Complex オブジェクトでは利用できません。
//emlist[例][ruby]{
10.i # => (0+10i)
-10.i # => (0-10i)
(0.1).i # => (0+0.1i)
Rational(1, 2).i # => (0+(1/2)*i)
//}... -
TracePoint
# binding -> Binding (23403.0) -
発生したイベントによって生成された Binding オブジェクトを返します。
...発生したイベントによって生成された Binding オブジェクトを返します。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call) do |tp|
p tp.binding.local_variables # => [:ret]
end
trace.enable
foo 1
//}... -
TracePoint
# binding -> Binding | nil (23403.0) -
発生したイベントによって生成された Binding オブジェクトを返します。
...れた Binding オブジェクトを返します。
C で記述されたメソッドは binding を生成しないため、
:c_call および :c_return イベントに対しては nil を返すことに注意してください。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:......call) do |tp|
p tp.binding.local_variables # => [:ret]
end
trace.enable
foo 1
//}... -
Encoding
:: Converter # destination _ encoding -> Encoding (23303.0) -
変換先のエンコーディングを返します。
...変換先のエンコーディングを返します。
@return 変換先のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.destination_encoding #=> #<Encoding:EUC-JP>
//}... -
Proc
# binding -> Binding (20403.0) -
Proc オブジェクトが保持するコンテキストを Binding オブジェクトで返します。
...Proc オブジェクトが保持するコンテキストを
Binding オブジェクトで返します。
//emlist[例][ruby]{
def fred(param)
proc {}
end
sample_proc = fred(99)
eval("param", sample_proc.binding) # => 99
//}... -
Enumerable
# find _ index {|obj| . . . } -> Integer | nil (20339.0) -
条件に一致する最初の要素の位置を返します。
...等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index(11) #=> nil
(1..10).find_index(2) #=> 1
//}
ブロックが与えられた場合には、各要素を引数として先頭から......素の位置を返します。
一つも真にならなかった場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index {|i| i % 5 == 0 and i % 7 == 0 } #=> nil
(1..100).find_index {|i| i % 5 == 0 and i % 7 == 0 } #=> 34
//}
引数、ブロックのどちらも与えられな...