別のキーワード
クラス
-
ARGF
. class (420) - Array (1320)
- BasicObject (144)
- Bignum (69)
- Binding (48)
- Class (36)
- Complex (138)
- Data (12)
- Dir (24)
-
Encoding
:: Converter (108) - Enumerator (84)
-
Enumerator
:: ArithmeticSequence (35) -
Enumerator
:: Lazy (24) - Exception (56)
- FalseClass (36)
- Fiber (34)
- File (36)
-
File
:: Stat (12) - Fixnum (72)
- Float (249)
- Hash (509)
- IO (670)
- Integer (542)
- MatchData (152)
- Method (116)
- Module (984)
- Mutex (2)
- NilClass (67)
- Numeric (222)
- Object (477)
-
ObjectSpace
:: WeakMap (24) - Proc (110)
-
Process
:: Status (36) - Random (72)
- Range (279)
- Rational (204)
- Regexp (72)
- Set (78)
- String (1315)
- Struct (76)
- Symbol (201)
- Thread (218)
-
Thread
:: ConditionVariable (10) -
Thread
:: Mutex (10) -
Thread
:: Queue (30) -
Thread
:: SizedQueue (70) - ThreadGroup (12)
- Time (146)
- TracePoint (7)
- TrueClass (36)
- UnboundMethod (48)
モジュール
- Comparable (87)
- Enumerable (777)
- GC (12)
- Warning (9)
キーワード
- != (12)
- !~ (12)
- % (68)
- & (81)
- * (90)
- ** (54)
- + (93)
- - (93)
-
/ (53) - < (61)
- << (81)
- <= (61)
- <=> (120)
- == (259)
- === (103)
- =~ (52)
- > (61)
- >= (61)
- >> (44)
- [] (318)
- []= (168)
- ^ (57)
-
_ _ send _ _ (24) -
_ dump (12) -
_ load (12) -
abort
_ on _ exception (12) -
abort
_ on _ exception= (12) - add (15)
- add? (3)
-
add
_ trace _ func (12) - advise (12)
-
alias
_ method (12) - all? (45)
- allbits? (8)
- any? (48)
- anybits? (8)
- append (8)
- assoc (24)
- at (12)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - autoclose= (12)
- autoload (12)
- autoload? (12)
-
backtrace
_ locations (24) - begin (24)
- between? (12)
- bind (12)
- binding (12)
- byteindex (3)
- byteoffset (6)
- byterindex (3)
- bytes (12)
- byteslice (36)
- bytesplice (10)
- call (36)
- capitalize (9)
- capitalize! (9)
- casecmp (24)
- casecmp? (18)
- ceil (39)
- ceildiv (3)
- center (12)
- chmod (12)
- chown (12)
- chr (24)
- clamp (15)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) -
class
_ variables (12) - clone (12)
-
close
_ on _ exec= (12) - coerce (24)
- combination (24)
- concat (42)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ missing (12) -
const
_ set (12) -
const
_ source _ location (12) - constants (12)
- convert (24)
- count (84)
- cover? (19)
- crypt (12)
- curry (46)
- cycle (24)
-
deconstruct
_ keys (13) - default (24)
- default= (12)
-
default
_ proc= (12) -
define
_ method (24) -
define
_ singleton _ method (24) - delete (63)
- delete! (12)
- delete? (3)
-
delete
_ at (12) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) -
deprecate
_ constant (12) - deq (20)
- detect (24)
- difference (3)
- dig (30)
- digits (24)
- disjoint? (3)
- display (12)
- div (30)
- divmod (42)
- downcase (9)
- downcase! (9)
- downto (24)
- drop (36)
- dup (12)
- each (168)
-
each
_ cons (24) -
each
_ line (144) -
each
_ slice (24) -
each
_ with _ index (24) -
each
_ with _ object (24) - encode (36)
- encode! (24)
- end (24)
-
end
_ with? (18) - enq (10)
- entries (12)
-
enum
_ for (24) - eql? (162)
- equal? (36)
- eval (12)
- exception (24)
- extend (12)
-
extend
_ object (12) - extended (12)
- fcntl (12)
- fdiv (54)
- feed (12)
- fetch (80)
-
fetch
_ values (20) - fill (72)
- find (24)
-
find
_ index (72) - first (86)
- flatten (24)
- flatten! (12)
- flock (12)
- floor (48)
-
force
_ encoding (12) -
garbage
_ collect (12) - getbyte (12)
- getlocal (24)
- gets (72)
- grep (24)
-
grep
_ v (24) - gsub (48)
- gsub! (48)
-
has
_ key? (12) -
has
_ value? (12) - include (12)
- include? (75)
- included (12)
- index (55)
- inherited (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 (36)
- key (12)
- key? (24)
-
kind
_ of? (12) - last (62)
- lineno= (24)
- lines (66)
- ljust (12)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) - localtime (24)
-
marshal
_ load (24) - match (36)
- max (128)
- max= (10)
-
max
_ by (48) - member? (39)
- merge (27)
- merge! (24)
- method (12)
-
method
_ added (12) -
method
_ defined? (12) -
method
_ missing (12) -
method
_ removed (12) -
method
_ undefined (12) - methods (12)
- min (128)
-
min
_ by (48) -
module
_ eval (24) -
module
_ exec (12) -
module
_ function (36) - modulo (42)
-
named
_ captures (12) - new (12)
- nobits? (8)
- none? (45)
- offset (24)
- one? (45)
- overlap? (2)
- pack (21)
- parameters (43)
- partition (12)
-
pending
_ interrupt? (12) - permutation (24)
- pop (44)
- pos= (36)
- pow (24)
- pread (8)
- prepend (41)
-
prepend
_ features (12) - prepended (12)
-
primitive
_ convert (48) - 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)
- rand (36)
- rassoc (24)
- rationalize (108)
- read (24)
-
read
_ nonblock (24) - readline (72)
- readlines (72)
- readpartial (24)
- reduce (36)
- refine (12)
- 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)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
respond
_ to? (12) -
respond
_ to _ missing? (12) - resume (12)
- rindex (48)
- rjust (12)
- rotate (12)
- rotate! (12)
- round (57)
- rpartition (12)
- sample (48)
- scan (24)
- scrub (36)
- scrub! (36)
- seek (36)
- send (24)
-
set
_ backtrace (12) -
set
_ encoding (72) -
set
_ trace _ func (12) - setbyte (12)
- shift (44)
- shuffle! (24)
-
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - sleep (12)
- slice (168)
- slice! (36)
- split (19)
- squeeze (12)
- squeeze! (12)
-
start
_ with? (18) - step (124)
- store (12)
- strftime (12)
- sub (36)
- sub! (36)
- subset? (3)
- subtract (3)
- sum (12)
- superset? (3)
- swapcase (9)
- swapcase! (9)
- sync= (12)
- sysread (12)
- sysseek (12)
- syswrite (12)
- take (36)
- tally (8)
-
thread
_ variable? (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) - transfer (4)
-
transform
_ keys (12) -
transform
_ keys! (12) - truncate (33)
-
undef
_ method (12) - ungetbyte (12)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - union (10)
- unpack (12)
- unshift (12)
- upcase (9)
- upcase! (9)
- update (24)
- upto (36)
- using (12)
- value? (12)
-
values
_ at (48) - wait (10)
- warn (9)
- with (3)
-
with
_ object (24) - write (24)
-
write
_ nonblock (12) - yield (12)
- zip (48)
- | (69)
検索結果
先頭5件
-
Proc
# parameters(lambda: nil) -> [object] (6109.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] (6103.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... -
Proc
# parameters -> [object] (6103.0) -
Proc オブジェクトの引数の情報を返します。
...ck
& で指定されたブロック引数
//emlist[例][ruby]{
prc = lambda{|x, y=42, *other, k_x:, k_y: 42, **k_other, &b|}
prc.parameters #=> x], [:opt, :y], [:rest, :other], [:keyreq, :k_x], [:key, :k_y], [:keyrest, :k_other], [:block, :b
//}
@see Method#parameters, UnboundMethod#parameters... -
TracePoint
# parameters -> [object] (6103.0) -
現在のフックが属するメソッドまたはブロックのパラメータ定義を返します。 フォーマットは Method#parameters と同じです。
...現在のフックが属するメソッドまたはブロックのパラメータ定義を返します。
フォーマットは Method#parameters と同じです。
@raise RuntimeError :call、:return、:b_call、:b_return、:c_call、:c_return
イベントのためのイベン......トフックの外側で実行した場合に発生します。
//emlist[例][ruby]{
def foo(a, b = 2)
end
TracePoint.new(:call) do |tp|
p tp.parameters # => a], [:opt, :b
end.enable do
foo(1)
end
//}
@see Method#parameters, UnboundMethod#parameters, Proc#parameters... -
UnboundMethod
# parameters -> [object] (6103.0) -
UnboundMethod オブジェクトの引数の情報を返します。
...UnboundMethod オブジェクトの引数の情報を返します。
詳しくは Method#parameters を参照してください。
@see Proc#parameters, Method#parameters... -
String
# bytesplice(index , length , str) -> String (39.0) -
self の一部または全部を str で置き換えて self を返します。
...す。
@param index 置換したい文字列の範囲の始端
@param length 置換したい文字列の範囲の長さ
@param str_index str の範囲の始端
@param str_length str の範囲の長さ
@param range 置換したい文字列の範囲を示す Range オブジェクト
@param str_range... -
String
# bytesplice(index , length , str , str _ index , str _ length) -> String (39.0) -
self の一部または全部を str で置き換えて self を返します。
...す。
@param index 置換したい文字列の範囲の始端
@param length 置換したい文字列の範囲の長さ
@param str_index str の範囲の始端
@param str_length str の範囲の長さ
@param range 置換したい文字列の範囲を示す Range オブジェクト
@param str_range... -
String
# bytesplice(range , str) -> String (39.0) -
self の一部または全部を str で置き換えて self を返します。
...す。
@param index 置換したい文字列の範囲の始端
@param length 置換したい文字列の範囲の長さ
@param str_index str の範囲の始端
@param str_length str の範囲の長さ
@param range 置換したい文字列の範囲を示す Range オブジェクト
@param str_range... -
String
# bytesplice(range , str , str _ range) -> String (39.0) -
self の一部または全部を str で置き換えて self を返します。
...す。
@param index 置換したい文字列の範囲の始端
@param length 置換したい文字列の範囲の長さ
@param str_index str の範囲の始端
@param str_length str の範囲の長さ
@param range 置換したい文字列の範囲を示す Range オブジェクト
@param str_range... -
String
# []=(nth , len , val) (34.0) -
nth 番目の文字から len 文字の部分文字列を文字列 val で置き換えます。
...われます。
nth が負の場合は文字列の末尾から数えます。
@param nth 置き換えたい部分文字列の開始インデックス
@param len 置き換えたい部分文字列の長さ
@param val 指定範囲の部分文字列と置き換える文字列
@return val を... -
String
# []=(regexp , name , val) (34.0) -
正規表現 regexp の name で指定した名前付きキャプチャにマッチする最初の 部分文字列を文字列 val で置き換えます。
...列を文字列 val で置き換えます。
@param regexp 置き換えたい部分文字列のパターンを示す正規表現
@param name 置き換えたい部分文字列のパターンを示す正規表現レジスタを示す名前
@param val 指定範囲の部分文字列と置... -
String
# []=(regexp , nth , val) (34.0) -
正規表現 regexp の nth 番目の括弧にマッチする 最初の部分文字列を文字列 val で置き換えます。
...文字列全体を val で置き換えます。
@param regexp 置き換えたい部分文字列のパターンを示す正規表現
@param nth 置き換えたい部分文字列のパターンを示す正規表現レジスタの番号
@param val 指定範囲の部分文字列と置き... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer) -> Symbol (33.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
...なります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@param options 変換の... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset) -> Symbol (33.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
...なります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@param options 変換の...