17488件ヒット
[1-100件を表示]
(0.257秒)
クラス
-
ARGF
. class (764) - Array (1493)
- BasicObject (168)
- Bignum (99)
- Binding (86)
- Class (24)
- Complex (396)
- Data (15)
- Dir (176)
- Encoding (84)
-
Encoding
:: Converter (204) -
Encoding
:: InvalidByteSequenceError (84) -
Encoding
:: UndefinedConversionError (60) - Enumerator (91)
-
Enumerator
:: ArithmeticSequence (98) -
Enumerator
:: Chain (35) -
Enumerator
:: Lazy (299) -
Enumerator
:: Yielder (30) - Exception (128)
- FalseClass (24)
- Fiber (38)
- File (143)
-
File
:: Stat (504) - Fixnum (105)
- Float (245)
- FrozenError (6)
- Hash (507)
- IO (1192)
- Integer (830)
- KeyError (8)
- LoadError (12)
- LocalJumpError (12)
- MatchData (253)
- Method (118)
- Module (808)
- Mutex (4)
- NameError (32)
- NilClass (163)
- NoMethodError (9)
- Numeric (611)
- Object (580)
-
ObjectSpace
:: WeakMap (12) - Proc (99)
-
Process
:: Status (144) -
Process
:: Tms (96) - Random (72)
- Range (261)
- Rational (345)
- Refinement (4)
- Regexp (192)
-
RubyVM
:: AbstractSyntaxTree :: Node (42) -
RubyVM
:: InstructionSequence (130) - Set (63)
- SignalException (24)
- StopIteration (12)
- String (2141)
- Struct (132)
- Symbol (341)
- SyntaxError (3)
- SystemCallError (12)
- SystemExit (24)
- Thread (333)
-
Thread
:: Backtrace :: Location (84) -
Thread
:: ConditionVariable (30) -
Thread
:: Mutex (20) -
Thread
:: Queue (40) -
Thread
:: SizedQueue (114) - ThreadGroup (12)
- Time (675)
- TracePoint (213)
- TrueClass (24)
- UnboundMethod (107)
- UncaughtThrowError (11)
モジュール
- Comparable (21)
- Enumerable (1096)
- GC (12)
- Warning (9)
キーワード
- ! (12)
- != (12)
- % (49)
- & (42)
- * (78)
- ** (42)
- + (73)
- +@ (22)
- - (66)
- -@ (61)
-
/ (53) - < (27)
- << (64)
- <= (27)
- <=> (144)
- == (97)
- === (51)
- =~ (52)
- > (27)
- >= (27)
- >> (30)
- [] (282)
- []= (84)
- ^ (30)
-
_ _ id _ _ (12) -
_ _ send _ _ (24) -
_ dump (12) -
abort
_ on _ exception (12) -
abort
_ on _ exception= (12) - abs (51)
- abs2 (24)
-
absolute
_ path (24) - add? (3)
- advise (12)
-
alias
_ method (12) - alive? (16)
- all? (19)
- allbits? (8)
- angle (12)
- any? (23)
- anybits? (8)
-
append
_ as _ bytes (1) - arg (12)
- arity (36)
-
ascii
_ compatible? (12) -
ascii
_ only? (12) - asctime (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)
- b (12)
- backtrace (24)
-
backtrace
_ locations (36) -
base
_ label (24) - begin (31)
- between? (24)
- bind (12)
-
bind
_ call (12) - binding (24)
- binmode (24)
- binmode? (24)
- birthtime (23)
-
bit
_ length (18) - blksize (12)
- blockdev? (12)
- blocks (12)
- 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)
- cause (12)
- ceil (54)
- ceildiv (3)
- center (12)
- chain (7)
- chardev? (12)
- 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) - classify (3)
- clear (12)
- clone (24)
- close (34)
-
close
_ on _ exec= (12) -
close
_ on _ exec? (12) -
close
_ read (12) -
close
_ write (12) - closed? (12)
- codepoints (52)
- coerce (36)
- collect (36)
- collect! (24)
-
collect
_ concat (36) - combination (24)
- compact! (21)
-
compare
_ by _ identity (12) -
compare
_ by _ identity? (12) - concat (21)
- conj (24)
- conjugate (24)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ missing (12) -
const
_ source _ location (12) - constants (12)
- convert (24)
- convpath (12)
- count (84)
- crypt (12)
- cstime (12)
- cstime= (12)
- ctime (36)
- curry (23)
- cutime (12)
- cutime= (12)
- cycle (48)
- day (12)
- 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)
- dev (12)
-
dev
_ major (12) -
dev
_ minor (12) - difference (10)
- dig (30)
- digits (24)
- directory? (12)
- disable (24)
- disasm (12)
- disassemble (12)
- disjoint? (3)
- display (12)
- div (30)
- divide (6)
- divmod (42)
- downcase (21)
- downcase! (12)
- downto (24)
-
drop
_ while (60) - dst? (12)
- dummy? (12)
- dump (12)
- dup (12)
- each (196)
-
each
_ byte (48) -
each
_ char (72) -
each
_ child (14) -
each
_ codepoint (72) -
each
_ cons (12) -
each
_ grapheme _ cluster (16) -
each
_ index (24) -
each
_ line (144) -
each
_ pair (48) -
each
_ slice (24) -
each
_ with _ index (24) -
each
_ with _ object (24) - empty? (20)
- 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)
- errno (12)
-
error
_ bytes (12) -
error
_ char (12) - eval (24)
-
eval
_ script (7) - even? (18)
- event (12)
- exception (24)
-
exclude
_ end? (7) - executable? (12)
-
executable
_ real? (12) - exit (12)
-
exit
_ value (12) - exited? (12)
- exitstatus (12)
-
external
_ encoding (24) - fcntl (12)
- fdatasync (12)
- fdiv (54)
- feed (12)
- fetch (20)
-
fetch
_ values (2) - file (12)
- file? (12)
- filename (12)
- fileno (35)
- fill (72)
- filter (63)
- filter! (31)
-
filter
_ map (18) - find (24)
-
find
_ all (36) -
find
_ index (72) - finish (12)
- finite? (30)
- first (86)
-
first
_ column (7) -
first
_ lineno (19) -
fixed
_ encoding? (12) -
flat
_ map (36) - flatten (12)
- flatten! (15)
- flock (12)
- floor (54)
- flush (12)
-
force
_ encoding (12) - friday? (12)
- fsync (12)
- ftype (12)
-
garbage
_ collect (12) - gcd (12)
- gcdlcm (12)
- getbyte (36)
- getc (24)
- getgm (12)
- getlocal (24)
- gets (72)
- getutc (12)
- gid (12)
- gmt? (12)
-
gmt
_ offset (12) - gmtime (12)
- gmtoff (12)
-
grapheme
_ clusters (16) - grep (24)
-
grep
_ v (22) -
group
_ by (24) - grpowned? (12)
- gsub (48)
- gsub! (48)
- hash (181)
- hex (12)
- hour (12)
- id2name (12)
-
ignore
_ deadlock (4) -
ignore
_ deadlock= (4) - imag (24)
- imaginary (24)
-
import
_ methods (4) - include (12)
- include? (75)
- included (12)
-
included
_ modules (12) -
incomplete
_ input? (12) - index (55)
- infinite? (30)
- inherited (12)
- initialize (12)
-
initialize
_ clone (12) -
initialize
_ copy (12) -
initialize
_ dup (12) - inject (36)
- ino (12)
-
inplace
_ mode (12) -
inplace
_ mode= (12) - insert (24)
-
insert
_ output (12) - inspect (387)
-
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? (24)
- intern (24)
-
internal
_ encoding (24) - intersect? (7)
- intersection (9)
- invert (12)
- ioctl (12)
- irb (9)
-
is
_ a? (12) - isatty (12)
- isdst (12)
- itself (12)
- join (36)
-
keep
_ if (51) - key (7)
- kill (12)
-
kind
_ of? (12) - label (24)
- last (26)
-
last
_ column (7) -
last
_ error (12) -
last
_ lineno (7) - lcm (12)
- left (12)
- length (93)
- lineno (48)
- lineno= (24)
- lines (108)
- list (12)
- ljust (12)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) -
local
_ variables (21) - localtime (24)
- lstat (12)
- lstrip (12)
- lstrip! (12)
- magnitude (63)
- map (36)
- map! (24)
-
marshal
_ dump (12) - match (60)
- match? (9)
- max (76)
- max= (10)
-
max
_ by (48) - mday (12)
- member? (19)
-
method
_ defined? (12) -
method
_ id (12) -
method
_ missing (12) -
method
_ undefined (12) - methods (12)
- min (142)
-
min
_ by (48) - minmax (48)
-
minmax
_ by (24) - mode (12)
-
module
_ eval (12) -
module
_ function (36) - modulo (30)
- mon (12)
- monday? (12)
- month (12)
- mtime (24)
- name (39)
- name= (10)
-
named
_ captures (13) - names (36)
- negative? (29)
- next (24)
- next! (12)
- nil? (24)
- nlink (12)
- nobits? (8)
- nonzero? (12)
- nsec (12)
-
num
_ waiting (10) - numerator (60)
-
object
_ id (12) - oct (12)
- odd? (18)
- offset (24)
- ord (24)
-
original
_ name (24) - owned? (12)
- pack (21)
- parameters (10)
- partition (36)
- path (90)
-
pending
_ interrupt? (12) - permutation (24)
- phase (12)
- pid (24)
- pipe? (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
_ call? (9) -
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)
- rdev (12)
-
rdev
_ major (12) -
rdev
_ minor (12) - read (36)
-
read
_ nonblock (24) - readable? (12)
-
readable
_ real? (12) -
readagain
_ bytes (12) - readbyte (24)
- readchar (24)
- readline (72)
- readlines (72)
- readpartial (24)
- real (24)
- real? (24)
- receiver (47)
- 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) - replace (12)
- replacement (12)
- replacement= (12)
- replicate (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
respond
_ to? (12) -
respond
_ to _ missing? (12) - result (12)
- resume (12)
-
return
_ value (12) - reverse (12)
- reverse! (12)
-
reverse
_ each (12) - rewind (55)
- rindex (48)
- rjust (12)
- round (69)
- rpartition (12)
- rstrip (12)
- rstrip! (12)
-
ruby2
_ keywords (12) -
safe
_ level (7) - sample (24)
- saturday? (12)
- scan (24)
- scrub (36)
- scrub! (36)
- sec (12)
- seed (12)
- seek (36)
- select (93)
- select! (46)
- self (12)
-
set
_ backtrace (12) -
set
_ encoding (72) -
set
_ encoding _ by _ bom (6) -
set
_ trace _ func (12) - setbyte (12)
- setgid? (12)
- setuid? (12)
- shift (56)
- signal (10)
- signaled? (12)
- signm (12)
- signo (12)
-
singleton
_ class (12) -
singleton
_ class? (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - size (173)
- size? (12)
- skip (12)
- sleep (12)
- slice (176)
- slice! (108)
-
slice
_ after (46) -
slice
_ before (60) -
slice
_ when (23) - socket? (12)
- sort (24)
- sort! (24)
-
sort
_ by (24) -
sort
_ by! (12) - source (12)
-
source
_ encoding (36) -
source
_ encoding _ name (24) -
source
_ location (43) - split (19)
- squeeze (12)
- squeeze! (12)
-
start
_ with? (18) - stat (12)
- state (12)
- status (24)
- step (119)
- sticky? (12)
- stime (12)
- stime= (12)
- stopsig (12)
- strftime (12)
- string (12)
- strip (12)
- strip! (12)
- sub (36)
- sub! (36)
- subsec (12)
- succ (34)
- succ! (12)
- success? (12)
- sum (54)
- sunday? (12)
-
super
_ method (22) - superclass (12)
- 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)
- termsig (12)
-
thread
_ variable? (12) -
thread
_ variable _ get (12) -
thread
_ variable _ set (12) - thursday? (12)
- times (24)
-
to
_ a (103) -
to
_ binary (10) -
to
_ c (48) -
to
_ enum (24) -
to
_ f (66) -
to
_ h (31) -
to
_ i (120) -
to
_ int (36) -
to
_ io (36) -
to
_ path (27) -
to
_ proc (18) -
to
_ r (84) -
to
_ s (355) -
to
_ str (24) -
to
_ sym (24) -
to
_ write _ io (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)
- tuesday? (12)
-
tv
_ nsec (12) -
tv
_ sec (12) -
tv
_ usec (12) - uid (12)
- unbind (12)
- undump (8)
- ungetbyte (12)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - union (10)
- uniq (66)
- uniq! (24)
- unpack (12)
- unpack1 (9)
- unshift (12)
- untaint (9)
- upcase (21)
- upcase! (12)
- upto (36)
- usec (12)
- using (12)
- utc (12)
- utc? (12)
-
utc
_ offset (12) - utime (12)
- utime= (12)
-
valid
_ encoding? (12) -
values
_ at (12) - wait (10)
- warn (9)
- wday (12)
- wednesday? (12)
- with (3)
-
with
_ index (36) -
with
_ object (24) -
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (24)
-
write
_ nonblock (12) - yday (12)
- year (12)
- yield (24)
-
yield
_ self (16) - zero? (27)
- zip (72)
- zone (12)
- | (30)
- ~ (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
:: 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
//}...