16984件ヒット
[1-100件を表示]
(0.080秒)
クラス
-
ARGF
. class (714) - Array (1917)
- BasicObject (168)
- Bignum (75)
- Binding (45)
- Class (56)
- Complex (444)
- Data (18)
- Dir (118)
-
Encoding
:: Converter (192) -
Encoding
:: InvalidByteSequenceError (72) -
Encoding
:: UndefinedConversionError (48) - Enumerator (163)
-
Enumerator
:: ArithmeticSequence (70) -
Enumerator
:: Lazy (317) - Exception (80)
- FalseClass (36)
- Fiber (34)
- File (135)
-
File
:: Stat (84) - Fixnum (78)
- Float (363)
- FrozenError (6)
- Hash (981)
- IO (1072)
- Integer (710)
- KeyError (16)
- MatchData (206)
- Method (175)
- Module (1056)
- Mutex (8)
- NilClass (67)
- Numeric (539)
- Object (797)
-
ObjectSpace
:: WeakMap (12) - Proc (110)
-
Process
:: Status (36) - Random (72)
- Range (381)
- Rational (315)
- Regexp (117)
-
RubyVM
:: AbstractSyntaxTree :: Node (14) -
RubyVM
:: InstructionSequence (94) - Set (114)
- String (1885)
- Struct (132)
- Symbol (395)
- Thread (317)
-
Thread
:: Backtrace :: Location (72) -
Thread
:: ConditionVariable (30) -
Thread
:: Mutex (40) -
Thread
:: Queue (30) -
Thread
:: SizedQueue (70) - ThreadGroup (24)
- Time (158)
- TracePoint (189)
- TrueClass (36)
- UnboundMethod (119)
モジュール
- Comparable (87)
- Enumerable (1254)
- GC (12)
- Warning (9)
キーワード
- ! (12)
- != (12)
- !~ (12)
- % (68)
- & (81)
- * (90)
- ** (54)
- + (100)
- +@ (22)
- -@ (73)
-
/ (65) - < (73)
- << (81)
- <= (73)
- <=> (132)
- == (259)
- === (110)
- =~ (52)
- > (73)
- >= (73)
- >> (44)
- [] (318)
- []= (120)
- ^ (57)
-
_ _ id _ _ (12) -
_ _ send _ _ (24) -
_ dump (12) -
_ load (12) -
abort
_ on _ exception (12) - abs (12)
- abs2 (12)
-
absolute
_ path (24) - add (15)
- add? (3)
-
add
_ trace _ func (12) - advise (12)
-
alias
_ method (12) - alive? (12)
- all? (45)
- allbits? (8)
- allocate (12)
- ancestors (12)
- angle (24)
- any? (62)
- anybits? (8)
- append (8)
-
append
_ as _ bytes (1) -
append
_ features (12) - arg (24)
- assoc (24)
- at (12)
- atime (24)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
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)
- call (36)
-
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 (36)
-
chunk
_ while (21) - clamp (27)
- class (12)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) -
class
_ variables (12) - clone (39)
- close (36)
-
close
_ on _ exec= (12) -
close
_ on _ exec? (12) -
close
_ read (12) -
close
_ write (12) - closed? (24)
- codepoints (38)
- coerce (36)
- collect (60)
- collect! (27)
-
collect
_ concat (12) - combination (24)
- compact (13)
- compact! (9)
-
compare
_ by _ identity (12) -
compare
_ by _ identity? (12) - concat (42)
- conj (12)
- conjugate (12)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ set (12) -
const
_ source _ location (12) - constants (12)
- convert (24)
- convpath (12)
- count (84)
- cover? (19)
- crypt (12)
- ctime (24)
- curry (46)
- cycle (48)
- deconstruct (11)
-
deconstruct
_ keys (13) - dedup (3)
- default (24)
-
default
_ proc (12) -
define
_ method (24) -
define
_ singleton _ method (24) -
defined
_ class (12) - delete (63)
- delete! (12)
- delete? (3)
-
delete
_ at (12) -
delete
_ if (51) -
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)
- difference (10)
- dig (30)
- digits (24)
- directory? (12)
- disable (24)
- disasm (12)
- disassemble (12)
- disjoint? (3)
- display (12)
- div (30)
- divmod (42)
- downcase (24)
- downcase! (12)
- downto (24)
- drop (36)
-
drop
_ while (36) - dump (8)
- dup (39)
- each (278)
-
each
_ byte (72) -
each
_ char (72) -
each
_ child (14) -
each
_ codepoint (24) -
each
_ cons (24) -
each
_ entry (24) -
each
_ grapheme _ cluster (16) -
each
_ index (24) -
each
_ key (24) -
each
_ line (144) -
each
_ pair (24) -
each
_ slice (24) -
each
_ value (24) -
each
_ with _ index (24) -
each
_ with _ object (24) - empty? (12)
- enable (24)
- enabled? (12)
- enclosed? (12)
- encode (36)
- encode! (24)
- encoding (36)
- end (31)
-
end
_ with? (18) - enq (10)
- entries (19)
-
enum
_ for (24) - eof (24)
- eof? (24)
- eql? (162)
- equal? (48)
-
error
_ bytes (12) - eval (12)
-
eval
_ script (7) - event (12)
- except (4)
- exception (24)
- exit (12)
- extend (12)
-
extend
_ object (12) - extended (12)
-
external
_ encoding (12) - fcntl (12)
- fdatasync (12)
- fdiv (54)
- feed (12)
- fetch (80)
-
fetch
_ values (22) - 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 (27)
- flatten! (15)
- flock (12)
- floor (54)
- flush (12)
-
force
_ encoding (12) - freeze (24)
- frozen? (12)
- fsync (12)
-
garbage
_ collect (12) - gcd (12)
- gcdlcm (12)
- getbyte (24)
- getc (24)
- getlocal (24)
- gets (72)
-
grapheme
_ clusters (16) - grep (36)
-
grep
_ v (34) - gsub (48)
- gsub! (48)
-
has
_ key? (12) -
has
_ value? (12) - hash (51)
- hex (12)
- id2name (12)
-
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 (20)
- key? (24)
- keys (12)
- kill (12)
-
kind
_ of? (12) - label (24)
- last (62)
- lazy (12)
- lcm (12)
- length (24)
- lineno (36)
- lines (108)
- ljust (12)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) - localtime (24)
- lock (12)
- lstat (12)
- lstrip (12)
- magnitude (12)
- map (60)
- map! (27)
-
marshal
_ dump (12) -
marshal
_ load (24) - match (60)
- match? (27)
- max (130)
-
max
_ by (48) - member? (39)
- merge (27)
- merge! (24)
- method (12)
-
method
_ added (12) -
method
_ defined? (12) -
method
_ id (12) -
method
_ missing (12) -
method
_ removed (12) -
method
_ undefined (12) - methods (12)
- min (130)
-
min
_ by (48) - minmax (36)
-
minmax
_ by (24) -
module
_ eval (24) -
module
_ exec (12) -
module
_ function (36) - modulo (42)
- mtime (24)
- name (27)
- name= (10)
-
named
_ captures (12) - negative? (29)
- new (12)
- next (36)
- next! (12)
-
next
_ float (11) -
next
_ values (12) - nil? (12)
- nobits? (8)
- none? (45)
- nonzero? (12)
- numerator (60)
-
object
_ id (12) - oct (12)
- offset (24)
- one? (45)
- ord (24)
-
original
_ name (24) - overlap? (2)
- pack (21)
- parameters (43)
- partition (12)
- path (44)
- peek (12)
-
peek
_ values (12) -
pending
_ interrupt? (12) - permutation (24)
- phase (24)
- pid (12)
- polar (24)
- pop (44)
- pos (36)
- positive? (29)
-
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)
- priority= (12)
- private (48)
-
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 (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 (22)
- putback (24)
- putc (24)
- puts (24)
- pwrite (8)
- quo (36)
- raise (30)
-
raised
_ exception (12) - rand (36)
- 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)
- 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 (27)
- replacement (12)
- replacement= (12)
-
report
_ on _ exception (9) - reset (3)
-
respond
_ to? (12) -
respond
_ to _ missing? (12) - resume (12)
-
return
_ value (12) -
reverse
_ each (28) - rewind (36)
- rindex (48)
- rjust (12)
- rotate (12)
- rotate! (12)
- round (69)
- rpartition (12)
- rstrip (12)
- rstrip! (12)
- run (12)
- sample (48)
- scan (24)
- scrub (36)
- scrub! (36)
- seek (36)
- select (108)
- select! (51)
- self (12)
- send (24)
-
set
_ backtrace (12) -
set
_ encoding (72) -
set
_ trace _ func (12) - setbyte (12)
- shift (56)
- shuffle (24)
- shuffle! (24)
- 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 (48)
- sort! (24)
-
sort
_ by (24) -
sort
_ by! (24) -
source
_ encoding (36) -
source
_ encoding _ name (24) -
source
_ location (36) - split (19)
- squeeze (12)
- squeeze! (12)
-
start
_ with? (18) - stat (12)
- status (12)
- step (124)
- stop? (12)
- store (12)
- strftime (12)
- strip (12)
- strip! (12)
- sub (36)
- sub! (36)
- subclasses (4)
- subset? (3)
- subtract (3)
- succ (24)
- succ! (12)
- sum (54)
-
super
_ method (22) - superclass (4)
- superset? (3)
- swapcase (24)
- swapcase! (12)
- symlink? (12)
- sync (12)
- synchronize (12)
- sysread (12)
- sysseek (12)
- syswrite (12)
- taint (9)
- tainted? (9)
- take (36)
-
take
_ while (72) - tally (8)
- tap (8)
- tell (36)
- terminate (12)
- then (14)
-
thread
_ variable? (12) -
thread
_ variable _ get (12) - times (24)
-
to
_ a (109) -
to
_ ary (24) -
to
_ binary (10) -
to
_ c (12) -
to
_ enum (24) -
to
_ f (36) -
to
_ h (33) -
to
_ hash (12) -
to
_ i (72) -
to
_ int (12) -
to
_ io (12) -
to
_ path (8) -
to
_ proc (12) -
to
_ r (36) -
to
_ s (138) -
to
_ set (6) -
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)
- trust (9)
- tty? (12)
-
undef
_ method (12) - undump (8)
- ungetbyte (12)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - union (10)
- uniq (24)
- unlock (12)
- unpack (12)
- unpack1 (9)
- unshift (12)
- untaint (9)
- untrust (9)
- untrusted? (9)
- upcase (24)
- upcase! (12)
- update (24)
- upto (36)
- using (12)
- value? (12)
- values (18)
-
values
_ at (48) - wait (10)
- wakeup (12)
- warn (9)
- with (3)
-
with
_ index (12) -
with
_ object (24) - write (24)
-
write
_ nonblock (12) - yield (12)
-
yield
_ self (16) - zero? (12)
- zip (72)
- | (69)
検索結果
先頭5件
-
Time
# -(sec) -> Time (18157.0) -
自身より sec 秒だけ前の時刻を返します。
...り sec 秒だけ前の時刻を返します。
@param sec 実数を秒を単位として指定します。
//emlist[][ruby]{
p t = Time.local(2000) # => 2000-01-01 00:00:00 +0900
p t2 = t + 2592000 # => 2000-01-31 00:00:00 +0900
p t2 - 2592000 # => 2000-01-01 00:00:00 +0900
//}... -
Time
# -(time) -> Float (18147.0) -
自身と time との時刻の差を Float で返します。単位は秒です。
...返します。単位は秒です。
@param time 自身との差を算出したい Time オブジェクトを指定します。
//emlist[][ruby]{
p t = Time.local(2000) # => 2000-01-01 00:00:00 +0900
p t2 = t + 2592000 # => 2000-01-31 00:00:00 +0900
p t2 - t # => 2592000.0
//}... -
Array
# -(other) -> Array (18133.0) -
自身から other の要素を取り除いた配列を生成して返します。
...の重複が保持されます。
@param other 自身から取り除きたい要素の配列を指定します。
配列以外のオブジェクトを指定した場合は to_ary メソッドによ
る暗黙の型変換を試みます。
@raise TypeError 引数に配列......以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby]{
[1, 2, 1, 3, 1, 4] - [4, 2] # => [1, 1, 3, 1]
[1, 2, 1, 3, 1, 4] - [1, 4] # => [2, 3]
//}......以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby]{
[1, 2, 1, 3, 1, 4] - [4, 2] # => [1, 1, 3, 1]
[1, 2, 1, 3, 1, 4] - [1, 4] # => [2, 3]
//}
@see Array#difference... -
Complex
# -(other) -> Complex (18121.0) -
差を計算します。
...差を計算します。
@param other 自身から引く数
//emlist[例][ruby]{
Complex(1, 2) - Complex(2, 3) # => (-1-1i)
//}... -
Integer
# -(other) -> Numeric (18121.0) -
算術演算子。差を計算します。
...算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果
//emlist[][ruby]{
4 - 1 #=> 3
//}... -
Rational
# -(other) -> Rational | Float (18121.0) -
差を計算します。
...差を計算します。
@param other 自身から引く数
other に Float を指定した場合は、計算結果を Float で返しま
す。
//emlist[例][ruby]{
r = Rational(3, 4)
r - 1 # => (-1/4)
r - 0.5 # => 0.25
//}... -
Set
# -(enum) -> Set (18121.0) -
差集合、すなわち、元の集合の要素のうち引数 enum に含まれる要素を取り除いた 新しい集合を作ります。
...い集合を作ります。
@param enum each メソッドが定義されたオブジェクトを指定します。
@raise ArgumentError 引数 enum に each メソッドが定義されていない場合に
発生します。
//emlist[][ruby]{
p Set[10, 20, 30] - Set[10, 20, 40]
# => #<Set:... -
Bignum
# -(other) -> Fixnum | Bignum | Float (18115.0) -
算術演算子。差を計算します。
...算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果... -
Fixnum
# -(other) -> Fixnum | Bignum | Float (18115.0) -
算術演算子。差を計算します。
...算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果... -
Float
# -(other) -> Float (18115.0) -
算術演算子。差を計算します。
...算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 差
4.5 - 1.3 # => 3.2
//}... -
Float
# -@ -> Float (12243.0) -
単項演算子の - です。 self の符号を反転させたものを返します。
...単項演算子の - です。
self の符号を反転させたものを返します。
//emlist[例][ruby]{
- 1.2 # => -1.2
- -1.2 # => 1.2
//}...