19022件ヒット
[1-100件を表示]
(0.122秒)
クラス
-
ARGF
. class (876) - Array (2120)
- BasicObject (120)
- Bignum (69)
- Binding (74)
- Class (48)
- Complex (414)
- Data (30)
- Dir (176)
- Encoding (60)
-
Encoding
:: Converter (204) -
Encoding
:: InvalidByteSequenceError (84) -
Encoding
:: UndefinedConversionError (60) - Enumerator (187)
-
Enumerator
:: ArithmeticSequence (98) -
Enumerator
:: Chain (35) -
Enumerator
:: Lazy (417) -
Enumerator
:: Yielder (30) - Exception (104)
- FalseClass (60)
- Fiber (38)
- File (83)
-
File
:: Stat (348) - Fixnum (72)
- Float (380)
- FrozenError (6)
- Hash (667)
- IO (799)
- Integer (830)
- KeyError (16)
- LoadError (12)
- LocalJumpError (24)
- MatchData (302)
- Method (235)
- Module (804)
- Mutex (6)
- NameError (44)
- NilClass (115)
- NoMethodError (21)
- Numeric (611)
- Object (567)
- Proc (200)
-
Process
:: Status (180) -
Process
:: Tms (48) - Random (120)
- Range (428)
- Rational (345)
- Refinement (4)
- Regexp (213)
-
RubyVM
:: AbstractSyntaxTree :: Node (49) -
RubyVM
:: InstructionSequence (130) - Set (63)
- SignalException (24)
- StopIteration (12)
- String (2057)
- Struct (283)
- Symbol (305)
- SyntaxError (3)
- SystemCallError (12)
- SystemExit (12)
- Thread (401)
-
Thread
:: Backtrace :: Location (84) -
Thread
:: ConditionVariable (30) -
Thread
:: Mutex (70) -
Thread
:: Queue (130) -
Thread
:: SizedQueue (104) - ThreadGroup (48)
- Time (440)
- TracePoint (213)
- TrueClass (60)
- UnboundMethod (143)
- UncaughtThrowError (33)
モジュール
- Comparable (87)
- Enumerable (1424)
- GC (12)
- Warning (9)
キーワード
- != (12)
- !~ (12)
- % (68)
- & (78)
- * (90)
- ** (54)
- + (97)
- +@ (22)
- - (66)
- -@ (49)
-
/ (65) - < (73)
- << (82)
- <= (73)
- <=> (144)
- == (256)
- === (95)
- =~ (52)
- >= (73)
- >> (38)
- [] (288)
- ^ (54)
-
_ _ id _ _ (12) -
_ _ send _ _ (24) -
_ dump (12) -
_ load (12) -
abort
_ on _ exception (12) - abs (45)
- abs2 (24)
-
absolute
_ path (24) - add (12)
-
add
_ trace _ func (12) -
alias
_ method (12) - alive? (16)
- all? (53)
- allbits? (8)
- ancestors (12)
- angle (12)
- any? (62)
- anybits? (8)
- append (8)
-
append
_ as _ bytes (1) -
append
_ features (12) - arg (36)
- args (12)
- argv (12)
- arity (36)
-
ascii
_ only? (12) - asctime (12)
- assoc (24)
- at (12)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - autoload (12)
- autoload? (12)
- b (12)
- backtrace (24)
-
backtrace
_ locations (36) -
base
_ label (24) - begin (31)
- between? (12)
-
bind
_ call (12) - binding (24)
- binmode (12)
- binmode? (12)
- birthtime (23)
-
bit
_ length (18) - blksize (12)
- blocks (12)
- broadcast (10)
- bsearch (48)
-
bsearch
_ index (20) - bytebegin (2)
- byteend (2)
- byteindex (3)
- byteoffset (6)
- byterindex (3)
- bytes (57)
- bytesize (12)
- byteslice (36)
- bytesplice (10)
- call (36)
-
callee
_ id (12) - capitalize (12)
- capitalize! (12)
- captures (12)
- casecmp (24)
- casecmp? (18)
- casefold? (12)
- ceil (54)
- ceildiv (3)
- center (12)
- chain (7)
- chardev? (12)
- chars (52)
- children (14)
- chomp (12)
- chomp! (12)
- chop (12)
- chop! (12)
- chown (12)
- chr (36)
- chunk (36)
-
chunk
_ while (21) - clamp (27)
-
class
_ eval (12) -
class
_ exec (12) -
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) -
class
_ variables (12) - clear (49)
- clone (24)
- close (44)
-
close
_ read (12) -
close
_ write (12) - closed? (34)
- codepoints (45)
- coerce (36)
- collect (60)
- collect! (24)
-
collect
_ concat (36) - combination (24)
- compact (20)
- compact! (12)
-
compare
_ by _ identity (12) -
compare
_ by _ identity? (12) - concat (42)
- conj (12)
- conjugate (12)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ source _ location (12) - constants (12)
- convert (24)
- convpath (12)
- coredump? (12)
- count (84)
- cover? (19)
- crypt (12)
- cstime (12)
- ctime (12)
- curry (46)
- cutime (12)
- cycle (48)
- day (12)
- deconstruct (11)
-
deconstruct
_ keys (13) - dedup (3)
-
default
_ proc (12) -
defined
_ class (12) - delete (36)
- delete! (12)
-
delete
_ at (12) -
delete
_ if (36) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) - denominator (60)
-
deprecate
_ constant (12) - deq (20)
-
destination
_ encoding (36) -
destination
_ encoding _ name (24) - detect (24)
- dev (12)
-
dev
_ major (12) -
dev
_ minor (12) - difference (10)
- dig (20)
- digits (24)
- directory? (12)
- disable (24)
- disasm (12)
- disassemble (12)
- div (30)
- divmod (42)
- downcase (12)
- downcase! (12)
- downto (24)
- drop (36)
-
drop
_ while (60) - dump (12)
- dup (12)
- each (301)
-
each
_ byte (60) -
each
_ char (72) -
each
_ child (14) -
each
_ codepoint (60) -
each
_ cons (24) -
each
_ entry (24) -
each
_ grapheme _ cluster (16) -
each
_ index (24) -
each
_ key (12) -
each
_ line (141) -
each
_ pair (48) -
each
_ slice (24) -
each
_ value (12) -
each
_ with _ index (24) -
each
_ with _ object (24) - eager (6)
- empty? (42)
- enable (24)
- enabled? (12)
- enclose (12)
- enclosed? (12)
- encode (36)
- encode! (24)
- encoding (24)
- end (31)
-
end
_ with? (12) - enq (20)
- entries (19)
-
enum
_ for (48) - eof (24)
- eof? (24)
- eql? (162)
- equal? (48)
- errno (12)
-
error
_ bytes (12) -
error
_ char (12) - eval (24)
-
eval
_ script (7) - even? (12)
- event (12)
- exception (12)
-
exclude
_ end? (19) -
executable
_ real? (12) - exit (12)
-
exit
_ value (12) - exited? (12)
- exitstatus (12)
-
external
_ encoding (24) - fcntl (12)
- fdiv (54)
- feed (12)
- fetch (44)
-
fetch
_ values (2) - 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? (9)
- first (86)
-
first
_ column (7) -
first
_ lineno (19) -
fixed
_ encoding? (12) -
flat
_ map (36) - flatten (24)
- flatten! (12)
- flock (12)
- floor (54)
- force (12)
-
force
_ encoding (12) - freeze (24)
- friday? (12)
- frozen? (12)
- ftype (12)
-
garbage
_ collect (12) - gcd (12)
- gcdlcm (12)
- getbyte (36)
- getc (24)
- gets (72)
- gid (12)
-
gmt
_ offset (12) - gmtoff (12)
-
grapheme
_ clusters (16) - grep (36)
-
grep
_ v (34) - group (12)
-
group
_ by (24) - grpowned? (12)
- gsub (48)
- gsub! (48)
- hash (181)
- hex (12)
- hour (12)
- i (12)
- id2name (12)
-
ignore
_ deadlock (4) - imag (24)
- imaginary (24)
-
import
_ methods (4) - include? (48)
- included (12)
-
incomplete
_ input? (12) - index (48)
- infinite? (9)
- inherited (12)
- initialize (12)
- inject (36)
- ino (12)
-
inplace
_ mode (12) - insert (24)
-
insert
_ output (12) - inspect (387)
-
instance
_ eval (12) -
instance
_ exec (12) -
instance
_ methods (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)
- join (36)
-
keep
_ if (43) - key (8)
- key? (12)
- keys (12)
- kill (12)
- label (24)
- lambda? (12)
- last (62)
-
last
_ column (7) -
last
_ error (12) -
last
_ lineno (7) - lazy (24)
- lcm (12)
- left (12)
- length (93)
- lineno (48)
- lines (101)
- list (12)
- ljust (12)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variables (21) - lock (10)
- locked? (10)
- lstrip (12)
- lstrip! (12)
- magnitude (45)
- map (60)
- map! (24)
-
marshal
_ dump (48) -
marshal
_ load (24) - match (60)
- match? (27)
- max (140)
-
max
_ by (48) - mday (12)
- member? (39)
- members (15)
- merge (27)
- merge! (24)
-
method
_ defined? (12) -
method
_ id (12) -
method
_ missing (12) -
method
_ removed (12) - methods (12)
- min (142)
-
min
_ by (48) - minmax (48)
-
minmax
_ by (24) - mode (12)
-
module
_ eval (12) -
module
_ exec (12) -
module
_ function (24) - modulo (42)
- mon (12)
- month (12)
- name (51)
- name= (10)
-
named
_ captures (24) - names (36)
- negative? (19)
- new (12)
- next (36)
- next! (12)
-
next
_ values (12) - nlink (12)
- nobits? (8)
- none? (53)
- nonzero? (12)
- nsec (12)
-
num
_ waiting (10) - numerator (60)
-
object
_ id (12) - oct (12)
- odd? (12)
- offset (24)
- one? (53)
- ord (24)
-
original
_ name (24) - overlap? (2)
- owned? (10)
- owner (24)
- pack (21)
- parameters (43)
- partition (36)
- path (90)
- peek (12)
-
peek
_ values (12) -
pending
_ interrupt? (12) - permutation (24)
- phase (12)
- pid (24)
- polar (24)
- pop (44)
- pos (36)
- pos= (12)
- positive? (19)
-
post
_ match (12) - pow (24)
-
pre
_ match (12) - pread (8)
- pred (12)
- prepend (41)
-
prepend
_ features (12) - prepended (12)
-
prev
_ float (11) -
primitive
_ convert (48) -
primitive
_ errinfo (12) - print (24)
- printf (24)
- 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)
-
proper
_ subset? (3) -
proper
_ superset? (3) - protected (48)
-
protected
_ instance _ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (12) - public (36)
-
public
_ instance _ methods (12) -
public
_ method _ defined? (12) -
public
_ methods (12) -
public
_ send (24) - push (32)
- putback (24)
- putc (12)
- puts (12)
- pwrite (8)
- quo (36)
- raise (30)
-
raised
_ exception (12) - rand (36)
- 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)
- reason (12)
- receiver (47)
- rect (24)
- rectangular (24)
- reduce (36)
- refine (12)
- regexp (12)
- rehash (12)
- reject (84)
- reject! (51)
- remainder (27)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) -
remove
_ method (12) - reopen (36)
-
repeated
_ combination (24) -
repeated
_ permutation (24) - replace (39)
- replacement (12)
- replacement= (12)
- replicate (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) - reset (3)
-
respond
_ to? (12) -
respond
_ to _ missing? (12) - result (12)
- resume (12)
-
return
_ value (12) - reverse (24)
- reverse! (24)
-
reverse
_ each (52) - rewind (55)
- rindex (48)
- rjust (12)
- rotate (12)
- rotate! (12)
- round (69)
- rpartition (12)
- rstrip (12)
- rstrip! (12)
-
ruby2
_ keywords (18) - run (12)
-
safe
_ level (7) - sample (48)
- saturday? (12)
- scan (24)
- scrub (36)
- scrub! (36)
- sec (12)
- seed (12)
- seek (24)
- select (103)
- select! (46)
- self (12)
- send (24)
-
set
_ backtrace (12) -
set
_ encoding (48) -
set
_ trace _ func (12) - setbyte (12)
- shift (44)
- shuffle (24)
- shuffle! (24)
- signal (10)
- signaled? (12)
- signm (12)
- signo (12)
-
singleton
_ method _ removed (12) -
singleton
_ methods (12) - size (167)
- size? (12)
- skip (12)
- sleep (12)
- slice (168)
- slice! (108)
-
slice
_ after (46) -
slice
_ before (60) -
slice
_ when (23) - sort (48)
- sort! (24)
-
sort
_ by (24) -
sort
_ by! (24) - source (12)
-
source
_ encoding (36) -
source
_ encoding _ name (24) -
source
_ location (43) - split (19)
- squeeze (12)
- squeeze! (12)
-
start
_ with? (18) - state (12)
- status (24)
- step (131)
- stime (12)
- stop? (12)
- stopped? (12)
- stopsig (12)
- store (12)
- strftime (12)
- string (12)
- strip (12)
- strip! (12)
- sub (36)
- sub! (36)
- subsec (12)
- subset? (3)
- subtract (3)
- succ (24)
- succ! (12)
- success? (12)
- sum (54)
-
super
_ method (22) - superclass (12)
- superset? (3)
- swapcase (12)
- swapcase! (12)
- synchronize (12)
- sysread (12)
- sysseek (12)
- syswrite (12)
- tag (11)
- take (36)
-
take
_ while (72) - tally (10)
- tell (36)
- terminate (12)
- termsig (12)
- then (7)
-
thread
_ variable? (12) -
thread
_ variable _ get (12) -
thread
_ variable _ set (12) - thursday? (12)
- times (24)
-
to
_ a (154) -
to
_ ary (24) -
to
_ binary (10) -
to
_ c (24) -
to
_ enum (48) -
to
_ f (36) -
to
_ h (60) -
to
_ i (120) -
to
_ int (36) -
to
_ io (12) -
to
_ path (27) -
to
_ proc (64) -
to
_ r (84) -
to
_ regexp (12) -
to
_ s (355) -
to
_ set (6) -
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) - transpose (12)
- truncate (60)
- trust (9)
-
try
_ lock (12) -
tv
_ nsec (12) -
tv
_ sec (12) -
tv
_ usec (12) - type (7)
- uid (12)
- undump (8)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - union (7)
- uniq (66)
- uniq! (24)
- unlock (10)
- unpack (12)
- unpack1 (9)
- unshift (12)
- untrust (9)
- untrusted? (9)
- upcase (12)
- upcase! (12)
- update (24)
- upto (36)
- usec (12)
-
utc
_ offset (12) - utime (12)
-
valid
_ encoding? (12) - value (23)
- values (12)
-
values
_ at (36) - wait (10)
- wakeup (12)
- warn (9)
- wday (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 (8) - zero? (39)
- zip (72)
- zone (12)
- | (66)
- ~ (24)
検索結果
先頭5件
-
Comparable
# >(other) -> bool (21215.0) -
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が正の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
...=> をもとにオブジェクト同士を比較します。
<=> が正の整数を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。
@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <=>......が nil を返したときに発生します。
//emlist[例][ruby]{
1 > 0 # => true
1 > 1 # => false
//}... -
Integer
# >(other) -> bool (21215.0) -
比較演算子。数値として大きいか判定します。
...演算子。数値として大きいか判定します。
@param other 比較対象の数値
@return self よりも other の方が小さい場合 true を返します。
そうでなければ false を返します。
//emlist[][ruby]{
1 > 0 # => true
1 > 1 # => false
//}... -
Module
# >(other) -> bool | nil (18239.0) -
比較演算子。 self が other の先祖である場合、true を返します。 self が other の子孫か同一クラスである場合、false を返します。
...ther の先祖である場合、true を返します。
self が other の子孫か同一クラスである場合、false を返します。
継承関係にないクラス同士の比較では
nil を返します。
@param other 比較対象のモジュールやクラス
@raise TypeError other......][ruby]{
module Awesome; end
module Included
include Awesome
end
module Prepended
prepend Awesome
end
Included.ancestors # => [Included, Awesome]
Awesome > Included # => true
Included > Awesome # => false
Prepended.ancestors # => [Awesome, Prepended]
Awesome > Prepended # => true
Prepended > A......wesome # => false
Awesome > Awesome # => false
Awesome > Object # => nil
//}... -
Hash
# >(other) -> bool (18221.0) -
other が self のサブセットである場合に真を返します。
...other が self のサブセットである場合に真を返します。
@param other 自身と比較したい Hash オブジェクトを指定します。
//emlist[例][ruby]{
h1 = {a:1, b:2}
h2 = {a:1, b:2, c:3}
h1 > h2 # => false
h2 > h1 # => true
h1 > h1 # => false
//}
@see Hash#<=,......Hash#<, Hash#>=... -
Float
# >(other) -> bool (18209.0) -
比較演算子。数値として大きいか判定します。
...として大きいか判定します。
@param other 比較対象の数値
@return self よりも other の方が小さい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 > 3.1415 # => false
3.14 >= 3.1415 # => false
//}... -
Complex
# >(other) -> bool (18203.0) -
@undef
@undef -
Fixnum
# >(other) -> bool (18203.0) -
比較演算子。数値として大きいか判定します。
...比較演算子。数値として大きいか判定します。
@param other 比較対象の数値
@return self よりも other の方が小さい場合 true を返します。
そうでなければ false を返します。... -
File
:: Stat # readable _ real? -> bool (12303.0) -
実ユーザ/実グループによって読み込み可能な時に真を返します。
...実ユーザ/実グループによって読み込み可能な時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).readable_real? #=> true
//}... -
Module
# prepend _ features(mod) -> self (12303.0) -
Module#prepend から呼び出されるメソッドで、 prepend の処理の実体です。このメソッド自体は mod で指定した モジュール/クラスの継承チェインの先頭に self を追加します。
...Module#prepend から呼び出されるメソッドで、
prepend の処理の実体です。このメソッド自体は mod で指定した
モジュール/クラスの継承チェインの先頭に self を追加します。
このメソッドを上書きすることで、prepend の処理を変......ram mod prepend を呼び出したモジュール
@return mod が返されます
//emlist[例][ruby]{
class Recorder
RECORDS = []
end
module X
def self.prepend_features(mod)
Recorder::RECORDS << mod
end
end
class A
prepend X
end
class B
include X
end
class C
prepend X
end
Recor......der::RECORDS # => [A, C]
//}
@see Module#prepend, Module#prepended... -
Rational
# rationalize(eps = 0) -> Rational (9327.0) -
自身から eps で指定した許容誤差の範囲に収まるような Rational を返 します。
...うな Rational を返
します。
eps を省略した場合は self を返します。
@param eps 許容する誤差
//emlist[例][ruby]{
r = Rational(5033165, 16777216)
r.rationalize # => (5033165/16777216)
r.rationalize(Rational(0.01)) # => (3/10)
r.rationalize(Rational(0.......1)) # => (1/3)
//}...