16099件ヒット
[1-100件を表示]
(0.096秒)
別のキーワード
種類
- インスタンスメソッド (10444)
- 特異メソッド (3418)
- モジュール関数 (2225)
- 定数 (12)
クラス
-
ARGF
. class (396) - Array (1370)
- BasicObject (144)
- Bignum (69)
- Binding (36)
- Class (60)
- Complex (174)
- Data (30)
- Dir (369)
- Encoding (24)
-
Encoding
:: Converter (180) - Enumerator (109)
-
Enumerator
:: ArithmeticSequence (35) -
Enumerator
:: Lazy (24) -
Errno
:: EXXX (24) - Exception (80)
- FalseClass (36)
- Fiber (46)
- File (788)
-
File
:: Stat (24) - Fixnum (72)
- Float (249)
- FrozenError (14)
- Hash (521)
- IO (1126)
- Integer (554)
- KeyError (28)
- MatchData (156)
- Method (116)
- Module (972)
- Mutex (2)
- NameError (19)
- NilClass (67)
- NoMethodError (19)
- Numeric (222)
- Object (477)
-
ObjectSpace
:: WeakMap (12) - Proc (110)
-
Process
:: Status (36) - Random (161)
- Range (291)
- Rational (204)
- Regexp (156)
- RubyVM (12)
-
RubyVM
:: InstructionSequence (72) - Set (87)
- SignalException (36)
- String (1358)
- Struct (112)
- Symbol (201)
- SystemCallError (48)
- SystemExit (12)
- Thread (287)
-
Thread
:: ConditionVariable (10) -
Thread
:: Mutex (10) -
Thread
:: Queue (38) -
Thread
:: SizedQueue (70) - ThreadGroup (12)
- Time (338)
- TracePoint (31)
- TrueClass (36)
- UnboundMethod (48)
モジュール
- Comparable (87)
- Enumerable (777)
- FileTest (309)
- GC (78)
-
GC
:: Profiler (12) - Kernel (1004)
- Marshal (48)
- Math (324)
- ObjectSpace (120)
- Process (288)
-
Process
:: GID (36) -
Process
:: Sys (108) -
Process
:: UID (36) -
RubyVM
:: AbstractSyntaxTree (30) -
RubyVM
:: MJIT (7) - Signal (24)
- Warning (30)
キーワード
- != (12)
- !~ (12)
- % (68)
- & (81)
- * (90)
- ** (54)
- + (93)
-
/ (53) - < (61)
- << (81)
- <= (61)
- <=> (120)
- == (259)
- === (115)
- =~ (52)
- > (61)
- >= (61)
- >> (44)
- Array (12)
- Complex (24)
-
DEFAULT
_ PARAMS (12) - Float (12)
- Hash (12)
- Integer (12)
- Rational (12)
- String (12)
- [] (405)
- []= (126)
- ^ (57)
-
_ _ send _ _ (24) -
_ dump (12) -
_ id2ref (12) -
_ load (12) - ` (12)
- abort (48)
-
abort
_ on _ exception (24) -
absolute
_ path? (6) - acos (12)
- acosh (12)
- add (15)
- add? (3)
-
add
_ trace _ func (12) - advise (12)
-
alias
_ method (12) - all? (45)
- allbits? (8)
- any? (48)
- anybits? (8)
- append (8)
-
asciicompat
_ encoding (24) - asin (12)
- asinh (12)
- assoc (36)
- at (65)
- atan (12)
- atan2 (12)
- atanh (12)
- atime (12)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - autoclose= (12)
- autoload (24)
- autoload? (24)
-
backtrace
_ locations (24) - basename (12)
- begin (24)
- between? (12)
- bind (12)
- binding (12)
- binwrite (12)
- birthtime (11)
- blockdev? (24)
- bytebegin (2)
- byteend (2)
- byteindex (3)
- byteoffset (6)
- byterindex (3)
- bytes (19)
- byteslice (36)
- bytesplice (10)
- call (36)
- caller (36)
-
caller
_ locations (24) - capitalize (9)
- capitalize! (9)
- casecmp (24)
- casecmp? (18)
- catch (24)
- cbrt (12)
- ceil (39)
- ceildiv (3)
- center (12)
-
change
_ privilege (24) - chardev? (24)
- chdir (48)
- children (16)
- chmod (24)
- chomp (12)
- chown (24)
- chr (24)
- chroot (12)
- clamp (15)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) -
class
_ variables (12) -
clock
_ gettime (12) - clone (12)
-
close
_ on _ exec= (12) - coerce (24)
- combination (24)
- compatible? (12)
- compile (24)
-
compile
_ file (12) - concat (42)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ set (12) -
const
_ source _ location (12) - constants (12)
- convert (24)
-
copy
_ stream (24) - cos (12)
- cosh (12)
- count (84)
-
count
_ objects (12) - cover? (19)
- crypt (12)
- ctime (12)
- curry (46)
- cycle (24)
- daemon (12)
-
deconstruct
_ keys (13) - default (24)
- define (6)
-
define
_ finalizer (24) -
define
_ method (48) -
define
_ singleton _ method (24) - delete (111)
- delete! (12)
- delete? (3)
-
delete
_ at (12) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) -
deprecate
_ constant (12) - deq (20)
- detach (12)
- detect (24)
- difference (3)
- dig (30)
- digits (24)
- directory? (24)
- dirname (12)
- disasm (12)
- disassemble (12)
- disjoint? (3)
- display (12)
- div (30)
- divmod (42)
- downcase (9)
- downcase! (9)
- downto (24)
- drop (36)
- dump (24)
- dup (12)
- each (168)
-
each
_ child (32) -
each
_ cons (24) -
each
_ line (144) -
each
_ object (48) -
each
_ slice (24) -
each
_ with _ index (24) -
each
_ with _ object (24) - empty? (27)
- encode (36)
- encode! (24)
- end (24)
-
end
_ with? (18) - enq (10)
- entries (36)
-
enum
_ for (24) - eql? (162)
- equal? (36)
- erf (12)
- erfc (12)
- escape (12)
- eval (36)
- exception (36)
- exec (60)
- executable? (24)
-
executable
_ real? (24) - exist? (36)
- exit (24)
- exit! (24)
- exp (12)
- extend (12)
-
extend
_ object (12) - extended (12)
- extname (12)
- fail (36)
- fcntl (12)
- fdiv (54)
- feed (12)
- fetch (116)
-
fetch
_ values (22) - file? (24)
- fill (72)
- find (36)
-
find
_ index (72) - first (86)
- flatten (24)
- flatten! (12)
- flock (12)
- floor (48)
- fnmatch (12)
- fnmatch? (12)
-
for
_ fd (12) -
force
_ encoding (12) - foreach (72)
- fork (12)
- format (12)
- frexp (12)
-
from
_ name (24) - ftype (12)
- gamma (12)
-
garbage
_ collect (24) - getbyte (12)
- getlocal (24)
- getpgid (12)
- getpriority (12)
- getrlimit (12)
- gets (84)
- getsid (12)
- glob (24)
- gm (24)
-
grant
_ privilege (24) - grep (24)
-
grep
_ v (24) - grpowned? (24)
- gsub (84)
- gsub! (48)
-
handle
_ interrupt (12) -
has
_ key? (24) -
has
_ value? (24) - hypot (12)
- identical? (24)
- include (24)
- include? (87)
- included (12)
- index (62)
- inherited (12)
- initgroups (12)
- initialize (12)
- inject (36)
-
inplace
_ mode= (12) - insert (24)
-
insert
_ output (12) - inspect (18)
-
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) - intersect? (3)
- intersection (9)
- ioctl (12)
-
is
_ a? (12) - join (48)
- key (24)
- key? (36)
- kill (24)
-
kind
_ of? (12) - last (62)
-
last
_ match (24) -
latest
_ gc _ info (24) - lchmod (12)
- lchown (12)
- ldexp (12)
- lgamma (12)
- lines (66)
- link (12)
- ljust (12)
- load (24)
- local (24)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) - localtime (24)
- log (24)
- log10 (12)
- log2 (12)
- lstat (12)
- lutime (8)
-
marshal
_ load (24) - match (36)
- max (128)
-
max
_ by (48) - maxgroups (12)
- member? (51)
- merge (27)
- merge! (36)
- method (12)
-
method
_ added (12) -
method
_ defined? (12) -
method
_ missing (12) -
method
_ removed (12) -
method
_ undefined (12) - methods (12)
- min (128)
-
min
_ by (48) - mkdir (12)
- mkfifo (10)
- mktime (24)
-
module
_ eval (24) -
module
_ exec (12) -
module
_ function (36) - modulo (42)
- mtime (12)
-
named
_ captures (12) - new (611)
- nobits? (8)
- none? (45)
- now (12)
- of (22)
- offset (24)
- one? (45)
- open (120)
- overlap? (2)
- owned? (24)
- p (12)
- pack (21)
- parameters (43)
- parse (10)
-
parse
_ file (10) - partition (12)
- path (12)
- pause (7)
-
pending
_ interrupt? (24) - permutation (24)
- pipe (96)
- pipe? (24)
- polar (12)
- pop (44)
- popen (168)
- pow (24)
- pp (8)
- pread (8)
- prepend (41)
-
prepend
_ features (12) - prepended (12)
-
primitive
_ convert (48) - print (36)
- printf (48)
- priority (12)
- priority= (12)
- private (75)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) - produce (6)
- product (24)
-
proper
_ subset? (3) -
proper
_ superset? (3) - protected (48)
-
protected
_ instance _ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (12) - public (75)
-
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 (36)
- puts (36)
- pwrite (8)
- quo (36)
- quote (12)
- raise (66)
- rand (96)
- rassoc (36)
- rationalize (108)
-
raw
_ seed (2) - read (60)
-
read
_ nonblock (24) - readable? (24)
-
readable
_ real? (24) - readline (84)
- readlines (120)
- readlink (12)
- readpartial (24)
- realdirpath (12)
- realpath (12)
- rect (12)
- rectangular (12)
- reduce (36)
- refine (12)
- remainder (27)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) -
remove
_ method (12) - rename (12)
- reopen (36)
-
repeated
_ combination (24) -
repeated
_ permutation (24) - replace (39)
- replacement= (12)
- report (12)
-
report
_ on _ exception (18) -
report
_ on _ exception= (9) - require (12)
-
require
_ relative (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) - restore (12)
- resume (12)
- rindex (48)
- rjust (12)
- rmdir (12)
- rotate (12)
- rotate! (12)
- round (57)
- rpartition (12)
- sample (48)
- scan (24)
- scrub (36)
- scrub! (36)
-
search
_ convpath (12) - seek (36)
- select (24)
- send (24)
-
set
_ backtrace (12) -
set
_ encoding (72) -
set
_ trace _ func (24) - setbyte (12)
- setegid (12)
- seteuid (12)
- setgid (12)
- setgid? (24)
- setpgid (12)
- setpriority (12)
- setregid (12)
- setresgid (12)
- setresuid (12)
- setreuid (12)
- setrgid (12)
- setrlimit (24)
- setruid (12)
- setuid? (24)
- shift (44)
- shuffle! (24)
- sin (12)
-
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - sinh (12)
- size (24)
- size? (24)
- sleep (36)
- slice (168)
- slice! (36)
- socket? (24)
- spawn (60)
- split (31)
- sprintf (12)
- sqrt (20)
- squeeze (12)
- squeeze! (12)
- srand (48)
- start (24)
-
start
_ with? (18) - stat (36)
- step (124)
- sticky? (24)
- store (24)
- strftime (12)
- sub (60)
- sub! (36)
- subset? (3)
- subtract (3)
- sum (12)
- superset? (3)
- swapcase (9)
- swapcase! (9)
- symlink (12)
- symlink? (24)
- syscall (12)
- sysopen (12)
- sysread (12)
- sysseek (12)
- system (48)
- syswrite (12)
- take (36)
- tally (8)
- tan (12)
- tanh (12)
- test (24)
-
thread
_ variable? (12) - throw (12)
-
to
_ a (48) -
to
_ enum (24) -
to
_ h (19) -
to
_ i (33) -
to
_ r (12) -
to
_ s (18) -
to
_ set (6) - tr (12)
- tr! (12)
-
tr
_ s (12) -
tr
_ s! (12) - trace (12)
-
trace
_ var (36) - transfer (4)
-
transform
_ keys (12) -
transform
_ keys! (12) - trap (48)
- truncate (45)
-
try
_ convert (16) - umask (24)
-
undef
_ method (12) -
undefine
_ finalizer (12) - ungetbyte (12)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - union (22)
- unlink (24)
- unpack (12)
- unshift (12)
-
untrace
_ var (12) - upcase (9)
- upcase! (9)
- update (48)
- upto (36)
- urandom (8)
- using (24)
- utc (24)
- utime (12)
- value? (24)
-
values
_ at (60) -
verify
_ compaction _ references (6) - wait (22)
- wait2 (12)
- waitpid (12)
- waitpid2 (12)
- warn (30)
- with (3)
-
with
_ object (24) -
world
_ readable? (24) -
world
_ writable? (24) - writable? (24)
-
writable
_ real? (24) - write (48)
-
write
_ nonblock (12) - yield (24)
- zero? (24)
- zip (48)
- | (69)
検索結果
先頭5件
-
Time
# -(sec) -> Time (18156.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 (18146.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 (18120.0) -
自身から other の要素を取り除いた配列を生成して返します。
...り評価されます。
self 中で重複していて、other中に存在していなかった要素は、その重複が保持されます。
@param other 自身から取り除きたい要素の配列を指定します。
配列以外のオブジェクトを指定した場合は to_a......換を試みます。
@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]
//}......@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]
//}
@see Array#difference... -
Complex
# -(other) -> Complex (18120.0) -
差を計算します。
...差を計算します。
@param other 自身から引く数
//emlist[例][ruby]{
Complex(1, 2) - Complex(2, 3) # => (-1-1i)
//}... -
Rational
# -(other) -> Rational | Float (18120.0) -
差を計算します。
...差を計算します。
@param other 自身から引く数
other に Float を指定した場合は、計算結果を Float で返しま
す。
//emlist[例][ruby]{
r = Rational(3, 4)
r - 1 # => (-1/4)
r - 0.5 # => 0.25
//}... -
Float
# -(other) -> Float (18114.0) -
算術演算子。差を計算します。
...算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 差
4.5 - 1.3 # => 3.2
//}... -
Integer
# -(other) -> Numeric (18114.0) -
算術演算子。差を計算します。
...算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果
//emlist[][ruby]{
4 - 1 #=> 3
//}... -
Set
# -(enum) -> Set (18114.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 (18108.0) -
算術演算子。差を計算します。
...算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果... -
Fixnum
# -(other) -> Fixnum | Bignum | Float (18108.0) -
算術演算子。差を計算します。
...算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
@return 計算結果... -
Proc
# parameters(lambda: nil) -> [object] (6208.0) -
Proc オブジェクトの引数の情報を返します。
...ック引数
@param lambda true なら lambda として扱ったとき、false なら lambda ではない Proc として
扱ったときの引数の情報を返します。
//emlist[例][ruby]{
prc = lambda{|x, y=42, *other, k_x:, k_y: 42, **k_other, &b|}
prc.parameters #=> x], [:opt......ther|}
p prc.parameters # => x], [:opt, :y], [:rest, :other
prc = lambda{|x, y=42, *other|}
p prc.parameters # => x], [:opt, :y], [:rest, :other
prc = proc{|x, y=42, *other|}
p prc.parameters(lambda: true) # => x], [:opt, :y], [:rest, :other
prc = lambda{|x, y=42, *other|}
p prc.parameters(lambda......: false) # => x], [:opt, :y], [:rest, :other
//}
@see Method#parameters, UnboundMethod#parameters... -
Method
# parameters -> [object] (6202.0) -
Method オブジェクトの引数の情報を返します。
...t[例][ruby]{
m = Class.new{define_method(:m){|x, y=42, *other, k_x:, k_y: 42, **k_other, &b|}}.instance_method(:m)
m.parameters #=> x], [:opt, :y], [:rest, :other], [:keyreq, :k_x], [:key, :k_y], [:keyrest, :k_other], [:block, :b
File.method(:symlink).parameters #=> req
//}
@see Proc#parameters......st[例][ruby]{
m = Class.new{define_method(:m){|x, y=42, *other, k_x:, k_y: 42, **k_other, &b|}}.instance_method(:m)
m.parameters #=> x], [:opt, :y], [:rest, :other], [:keyreq, :k_x], [:key, :k_y], [:keyrest, :k_other], [:block, :b
File.method(:symlink).parameters #=> req
//}
@see Proc#parameters...