13694件ヒット
[1-100件を表示]
(0.218秒)
クラス
-
ARGF
. class (630) - Array (1369)
- BasicObject (168)
- Bignum (75)
- Binding (57)
- Class (16)
- Complex (324)
- Data (9)
- Dir (130)
-
Encoding
:: Converter (192) -
Encoding
:: InvalidByteSequenceError (72) -
Encoding
:: UndefinedConversionError (48) - Enumerator (67)
-
Enumerator
:: ArithmeticSequence (70) -
Enumerator
:: Lazy (281) - Exception (80)
- Fiber (34)
- File (135)
-
File
:: Stat (84) - Fixnum (78)
- Float (173)
- FrozenError (6)
- Hash (447)
- IO (1108)
- Integer (710)
- KeyError (8)
- MatchData (169)
- Method (70)
- Module (784)
- Mutex (4)
- NilClass (67)
- Numeric (539)
- Object (556)
-
ObjectSpace
:: WeakMap (12) - Proc (39)
-
Process
:: Status (36) - Random (36)
- Range (226)
- Rational (315)
- Regexp (108)
-
RubyVM
:: AbstractSyntaxTree :: Node (14) -
RubyVM
:: InstructionSequence (94) - Set (42)
- String (1885)
- Struct (48)
- Symbol (329)
- Thread (294)
-
Thread
:: Backtrace :: Location (72) -
Thread
:: ConditionVariable (30) -
Thread
:: Mutex (20) -
Thread
:: Queue (10) -
Thread
:: SizedQueue (80) - Time (158)
- TracePoint (189)
- UnboundMethod (83)
モジュール
- Comparable (21)
- Enumerable (972)
- GC (12)
- Warning (9)
キーワード
- ! (12)
- != (12)
- % (49)
- & (42)
- * (78)
- ** (42)
- + (73)
- +@ (22)
- - (66)
- -@ (61)
-
/ (53) - < (27)
- << (52)
- <= (27)
- <=> (132)
- == (97)
- === (51)
- =~ (52)
- > (27)
- >= (27)
- >> (30)
- [] (282)
- []= (84)
- ^ (30)
-
_ _ id _ _ (12) -
_ _ send _ _ (24) -
_ dump (12) -
abort
_ on _ exception (12) -
abort
_ on _ exception= (12) - abs (12)
- abs2 (12)
-
absolute
_ path (24) - add? (3)
- advise (12)
-
alias
_ method (12) - alive? (12)
- all? (15)
- allbits? (8)
- angle (12)
- any? (23)
- anybits? (8)
-
append
_ as _ bytes (1) - arg (12)
- assoc (24)
- at (12)
- atime (24)
- attr (24)
-
attr
_ accessor (8) -
attr
_ reader (8) -
attr
_ writer (12) - autoclose= (12)
- autoclose? (12)
- autoload (12)
- autoload? (12)
- backtrace (12)
-
backtrace
_ locations (36) -
base
_ label (24) - begin (31)
- between? (24)
- bind (12)
-
bind
_ call (12) - binmode (24)
- binmode? (24)
- birthtime (23)
-
bit
_ length (18) - broadcast (10)
- bsearch (48)
-
bsearch
_ index (20) - bytebegin (2)
- byteend (2)
- byteindex (3)
- byteoffset (6)
- byterindex (3)
- bytes (50)
- bytesize (12)
- byteslice (36)
- bytesplice (10)
-
callee
_ id (12) - capitalize (24)
- capitalize! (12)
- captures (12)
- casecmp (24)
- casecmp? (18)
- ceil (54)
- ceildiv (3)
- center (12)
- chain (7)
- chars (38)
- children (14)
- chmod (12)
- chomp (12)
- chomp! (12)
- chop (12)
- chop! (12)
- chown (12)
- chr (36)
- chunk (12)
-
chunk
_ while (21) - clamp (9)
-
class
_ eval (12) -
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) -
class
_ variables (12) - clone (24)
- close (24)
-
close
_ on _ exec= (12) -
close
_ on _ exec? (12) -
close
_ read (12) -
close
_ write (12) - closed? (12)
- codepoints (38)
- coerce (36)
- collect (36)
- collect! (24)
-
collect
_ concat (12) - combination (24)
- compact! (9)
-
compare
_ by _ identity (12) -
compare
_ by _ identity? (12) - concat (21)
- conj (12)
- conjugate (12)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ missing (12) -
const
_ source _ location (12) - constants (12)
- convert (24)
- convpath (12)
- count (84)
- crypt (12)
- ctime (24)
- curry (23)
- cycle (48)
- deconstruct (2)
-
deconstruct
_ keys (5) - dedup (3)
- default (24)
-
default
_ proc (12) -
define
_ method (24) -
define
_ singleton _ method (24) -
defined
_ class (12) - delete (36)
- delete! (12)
- delete? (3)
-
delete
_ at (12) -
delete
_ if (51) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) - denominator (60)
- deq (10)
-
destination
_ encoding (36) -
destination
_ encoding _ name (24) - detect (24)
- difference (10)
- dig (30)
- digits (24)
- directory? (12)
- disable (24)
- disasm (12)
- disassemble (12)
- disjoint? (3)
- display (12)
- div (30)
- divmod (42)
- downcase (21)
- downcase! (12)
- downto (24)
-
drop
_ while (36) - dump (8)
- dup (12)
- each (182)
-
each
_ byte (48) -
each
_ char (72) -
each
_ child (14) -
each
_ codepoint (24) -
each
_ cons (12) -
each
_ grapheme _ cluster (16) -
each
_ index (24) -
each
_ line (144) -
each
_ pair (24) -
each
_ slice (24) -
each
_ with _ index (24) -
each
_ with _ object (24) - enable (24)
- enabled? (12)
- encode (36)
- encode! (24)
- encoding (36)
- end (19)
-
end
_ with? (18) - enq (10)
- entries (19)
-
enum
_ for (24) - eof (12)
- eof? (12)
- eql? (51)
- equal? (12)
-
error
_ bytes (12) - eval (12)
-
eval
_ script (7) - event (12)
- exception (24)
- exit (12)
-
external
_ encoding (12) - fcntl (12)
- fdatasync (12)
- fdiv (54)
- feed (12)
- fetch (20)
-
fetch
_ values (2) - fileno (35)
- fill (72)
- filter (63)
- filter! (31)
-
filter
_ map (18) - find (24)
-
find
_ all (36) -
find
_ index (72) - finish (12)
- finite? (18)
- first (86)
-
flat
_ map (12) - flatten (12)
- flatten! (15)
- flock (12)
- floor (54)
- flush (12)
-
force
_ encoding (12) - fsync (12)
-
garbage
_ collect (12) - gcd (12)
- gcdlcm (12)
- getbyte (24)
- getc (24)
- getlocal (24)
- gets (72)
-
grapheme
_ clusters (16) - grep (24)
-
grep
_ v (22) - gsub (48)
- gsub! (48)
- hash (51)
- hex (12)
- id2name (12)
-
ignore
_ deadlock (4) -
ignore
_ deadlock= (4) - imag (24)
- imaginary (24)
- include (12)
- include? (75)
- included (12)
-
included
_ modules (12) - index (55)
- infinite? (18)
- inherited (12)
- initialize (12)
-
initialize
_ clone (12) -
initialize
_ copy (12) -
initialize
_ dup (12) - inject (36)
-
inplace
_ mode (12) -
inplace
_ mode= (12) - insert (24)
-
insert
_ output (12) - inspect (169)
-
instance
_ eval (24) -
instance
_ exec (12) -
instance
_ method (12) -
instance
_ methods (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variable _ set (12) -
instance
_ variables (12) -
instruction
_ sequence (7) - integer? (12)
- intern (12)
-
internal
_ encoding (12) - intersect? (3)
- intersection (9)
- invert (12)
- ioctl (12)
- irb (9)
-
is
_ a? (12) - isatty (12)
- join (36)
-
keep
_ if (51) - key (7)
- kill (12)
-
kind
_ of? (12) - label (24)
- last (26)
- lcm (12)
- length (24)
- lineno (36)
- lineno= (24)
- lines (108)
- ljust (12)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) - localtime (24)
- lstat (12)
- lstrip (12)
- magnitude (12)
- map (36)
- map! (24)
- match (60)
- match? (9)
- max (66)
- max= (10)
-
max
_ by (48) - member? (19)
-
method
_ defined? (12) -
method
_ id (12) -
method
_ missing (12) -
method
_ undefined (12) - methods (12)
- min (130)
-
min
_ by (48) - minmax (36)
-
minmax
_ by (24) -
module
_ eval (12) -
module
_ function (36) - modulo (30)
- mtime (24)
- name (27)
- name= (10)
-
named
_ captures (1) - negative? (29)
- next (12)
- next! (12)
- nil? (12)
- nobits? (8)
- nonzero? (12)
- numerator (60)
-
object
_ id (12) - oct (12)
- offset (24)
- ord (24)
-
original
_ name (24) - pack (21)
- parameters (10)
- partition (12)
- path (44)
-
pending
_ interrupt? (12) - permutation (24)
- phase (12)
- pid (12)
- polar (24)
- pop (22)
- pos (36)
- pos= (24)
- positive? (29)
-
post
_ match (12) - pow (24)
-
pre
_ match (12) - pread (8)
- pred (12)
- prepend (21)
-
primitive
_ convert (48) -
primitive
_ errinfo (12) - print (24)
- printf (24)
- priority (12)
- priority= (12)
- private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) - product (24)
- protected (24)
-
protected
_ instance _ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (12) - public (48)
-
public
_ class _ method (24) -
public
_ constant (12) -
public
_ instance _ method (12) -
public
_ instance _ methods (12) -
public
_ method (12) -
public
_ method _ defined? (12) -
public
_ methods (12) -
public
_ send (24) - push (10)
- putback (24)
- putc (12)
- puts (24)
- pwrite (8)
- quo (36)
- raise (30)
-
raised
_ exception (12) - rand (24)
- rassoc (24)
- rationalize (108)
- read (36)
-
read
_ nonblock (24) -
readagain
_ bytes (12) - readbyte (24)
- readchar (24)
- readline (72)
- readlines (72)
- readpartial (24)
- real (12)
- real? (24)
- receiver (14)
- rect (24)
- rectangular (24)
- reduce (36)
- refine (12)
- reject (84)
- reject! (51)
- remainder (27)
-
remove
_ class _ variable (12) -
remove
_ instance _ variable (12) - reopen (36)
-
repeated
_ combination (24) -
repeated
_ permutation (24) - replacement (12)
- replacement= (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
respond
_ to? (12) -
respond
_ to _ missing? (12) - resume (12)
-
return
_ value (12) -
reverse
_ each (12) - rewind (36)
- rindex (48)
- rjust (12)
- round (69)
- rpartition (12)
- rstrip (12)
- rstrip! (12)
- sample (24)
- scan (24)
- scrub (36)
- scrub! (36)
- seek (36)
- select (93)
- select! (46)
- self (12)
-
set
_ backtrace (12) -
set
_ encoding (72) -
set
_ trace _ func (12) - setbyte (12)
- shift (56)
- signal (10)
-
singleton
_ class (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - size (68)
- sleep (12)
- slice (176)
- slice! (36)
-
slice
_ after (46) -
slice
_ before (60) -
slice
_ when (23) - sort (24)
- sort! (24)
-
sort
_ by (24) -
sort
_ by! (12) -
source
_ encoding (36) -
source
_ encoding _ name (24) -
source
_ location (36) - split (19)
- squeeze (12)
- squeeze! (12)
-
start
_ with? (18) - stat (12)
- status (12)
- step (112)
- strftime (12)
- strip (12)
- strip! (12)
- sub (36)
- sub! (36)
- succ (12)
- succ! (12)
- sum (54)
-
super
_ method (22) - superclass (4)
- swapcase (21)
- swapcase! (12)
- symlink? (12)
- sync (12)
- sync= (12)
- synchronize (12)
- sysread (12)
- sysseek (12)
- syswrite (12)
- taint (9)
- tainted? (9)
-
take
_ while (72) - tell (36)
- terminate (12)
-
thread
_ variable? (12) -
thread
_ variable _ get (12) -
thread
_ variable _ set (12) - times (24)
-
to
_ a (67) -
to
_ binary (10) -
to
_ c (12) -
to
_ enum (24) -
to
_ f (24) -
to
_ h (19) -
to
_ i (72) -
to
_ int (12) -
to
_ io (12) -
to
_ path (8) -
to
_ proc (12) -
to
_ r (36) -
to
_ s (138) -
to
_ str (12) -
to
_ sym (12) - tr (12)
- tr! (12)
-
tr
_ s (12) -
tr
_ s! (12) - transfer (4)
-
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) - truncate (60)
- tty? (12)
- undump (8)
- ungetbyte (12)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - union (10)
- uniq (24)
- unpack (12)
- unpack1 (9)
- unshift (12)
- untaint (9)
- upcase (21)
- upcase! (12)
- upto (36)
- using (12)
-
values
_ at (12) - wait (10)
- warn (9)
- with (3)
-
with
_ index (12) -
with
_ object (24) - write (24)
-
write
_ nonblock (12) - yield (12)
-
yield
_ self (16) - zero? (12)
- zip (72)
- | (30)
検索結果
先頭5件
- Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding - Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String - Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding - Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String - Encoding
:: Converter # destination _ encoding -> Encoding
-
Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding (18309.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#source_encoding,
Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String (18309.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#destination_encoding... -
Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding (18309.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::UndefinedConversionError#source_encoding... -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (18309.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: Converter # destination _ encoding -> Encoding (15309.0) -
変換先のエンコーディングを返します。
...変換先のエンコーディングを返します。
@return 変換先のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.destination_encoding #=> #<Encoding:EUC-JP>
//}... -
Enumerable
# find _ index {|obj| . . . } -> Integer | nil (12345.0) -
条件に一致する最初の要素の位置を返します。
...
@param val 位置を知りたいオブジェクトを指定します。
指定された val と == で等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index(11) #=> nil
(1..10).find_i......素の位置を返します。
一つも真にならなかった場合は 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
//}
引数、ブロックのどちらも与えられな... -
Enumerable
# find _ index(val) -> Integer | nil (12345.0) -
条件に一致する最初の要素の位置を返します。
...
@param val 位置を知りたいオブジェクトを指定します。
指定された val と == で等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
(1..10).find_index(11) #=> nil
(1..10).find_i......素の位置を返します。
一つも真にならなかった場合は 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
//}
引数、ブロックのどちらも与えられな... -
Array
# find _ index {|item| . . . } -> Integer | nil (12315.0) -
条件に一致する最初の要素の位置を返します。
...します。
@param val 位置を知りたいオブジェクトを指定します。
指定された val と == で等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
p [1, 0, 0, 1, 0].index(1) #=> 0......0, 0, 0].index(1) #=> 0
p [0, 0, 0, 0, 0].index(1) #=> nil
//}
ブロックが与えられた場合には、各要素を引数として順にブロックを実行し、
ブロックが真を返した最初の要素の位置を返します。
一つも真にならなかった場合は nil を返......します。
//emlist[例][ruby]{
p [0, 1, 0, 1, 0].index {|v| v > 0} #=> 1
//}
引数、ブロックのどちらも与えられなかった場合は、
Enumerator のインスタンスを返します。
@see Array#rindex... -
Array
# find _ index(val) -> Integer | nil (12315.0) -
条件に一致する最初の要素の位置を返します。
...します。
@param val 位置を知りたいオブジェクトを指定します。
指定された val と == で等しい最初の要素の位置を返します。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
p [1, 0, 0, 1, 0].index(1) #=> 0......0, 0, 0].index(1) #=> 0
p [0, 0, 0, 0, 0].index(1) #=> nil
//}
ブロックが与えられた場合には、各要素を引数として順にブロックを実行し、
ブロックが真を返した最初の要素の位置を返します。
一つも真にならなかった場合は nil を返......します。
//emlist[例][ruby]{
p [0, 1, 0, 1, 0].index {|v| v > 0} #=> 1
//}
引数、ブロックのどちらも与えられなかった場合は、
Enumerator のインスタンスを返します。
@see Array#rindex...