5228件ヒット
[5201-5228件を表示]
(0.265秒)
ライブラリ
- ビルトイン (5228)
クラス
-
ARGF
. class (132) - Array (245)
- BasicObject (144)
- Binding (59)
- Class (40)
- Data (6)
- Dir (72)
-
Encoding
:: Converter (48) -
Encoding
:: InvalidByteSequenceError (24) -
Encoding
:: UndefinedConversionError (12) - Enumerator (120)
-
Enumerator
:: ArithmeticSequence (35) -
Enumerator
:: Lazy (48) -
Enumerator
:: Yielder (30) - Exception (128)
- Fiber (34)
- File (36)
-
File
:: Stat (72) - FrozenError (6)
- Hash (79)
- IO (322)
- Integer (23)
- KeyError (16)
- LoadError (12)
- LocalJumpError (24)
- MatchData (104)
- Method (223)
- Module (975)
- Mutex (8)
- NameError (44)
- NoMethodError (12)
- Numeric (105)
- Object (456)
- Proc (92)
- Random (36)
- Range (148)
- Refinement (4)
- Regexp (72)
-
RubyVM
:: InstructionSequence (60) - Set (6)
- SignalException (24)
- StopIteration (12)
- String (194)
- Symbol (12)
- SystemCallError (12)
- SystemExit (24)
- Thread (144)
-
Thread
:: Backtrace :: Location (48) -
Thread
:: ConditionVariable (20) -
Thread
:: Mutex (40) -
Thread
:: Queue (40) -
Thread
:: SizedQueue (30) - Time (2)
- TracePoint (189)
- UnboundMethod (36)
- UncaughtThrowError (33)
モジュール
- Comparable (12)
- Enumerable (244)
キーワード
- ! (12)
- != (12)
- % (12)
-
/ (11) - < (12)
- << (26)
- <= (12)
- <=> (12)
- == (55)
- === (75)
- =~ (12)
- > (12)
- >= (12)
- >> (14)
- [] (120)
- []= (36)
-
_ _ send _ _ (24) -
_ dump (12) -
absolute
_ path (24) -
add
_ trace _ func (12) -
alias
_ method (12) - allocate (12)
- ancestors (12)
- append (8)
-
append
_ as _ bytes (1) -
append
_ features (12) - args (12)
- arity (24)
- at (12)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - autoclose? (12)
- autoload (12)
- backtrace (24)
-
backtrace
_ locations (12) -
base
_ label (24) - begin (31)
- bind (12)
- binding (24)
- binmode (12)
- blockdev? (12)
- broadcast (10)
- byteend (2)
- byteoffset (6)
- call (36)
-
callee
_ id (12) - cause (12)
- chardev? (12)
- chunk (12)
- clamp (12)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) -
class
_ variables (12) - clone (36)
- close (10)
-
close
_ read (12) -
close
_ write (12) - coerce (12)
- compact (4)
-
const
_ added (3) -
const
_ defined? (12) -
const
_ get (12) -
const
_ missing (12) -
const
_ set (12) -
const
_ source _ location (12) - constants (12)
- cover? (19)
- crypt (12)
- curry (22)
- deconstruct (3)
-
deconstruct
_ keys (5) -
default
_ proc= (12) -
define
_ method (24) -
define
_ singleton _ method (24) -
defined
_ class (12) -
delete
_ suffix (8) -
delete
_ suffix! (8) - deq (20)
- disable (24)
- display (12)
- div (12)
- divide (6)
- dup (24)
- each (120)
-
each
_ byte (48) -
each
_ codepoint (24) -
each
_ entry (24) -
each
_ index (24) -
each
_ line (72) -
each
_ with _ index (24) - enable (24)
-
end
_ with? (18) -
enum
_ for (48) - eql? (12)
- errno (12)
-
error
_ bytes (12) -
error
_ char (12) - eval (12)
-
eval
_ script (7) - event (12)
- exception (24)
-
exclude
_ end? (19) - exit (12)
-
exit
_ value (12) - extend (12)
-
extend
_ object (12) - extended (12)
- fcntl (12)
- fdatasync (12)
- feed (12)
- fetch (36)
- first (24)
-
first
_ lineno (12) -
fixed
_ encoding? (12) - flush (12)
- freeze (12)
- hash (19)
-
import
_ methods (4) - include (12)
- include? (12)
- included (12)
-
included
_ modules (12) -
incomplete
_ input? (12) - inherited (12)
- initialize (12)
-
initialize
_ copy (12) -
inplace
_ mode= (12) - inspect (72)
-
instance
_ eval (24) -
instance
_ exec (12) -
instance
_ method (12) -
instance
_ methods (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instruction
_ sequence (7) -
internal
_ encoding (12) - invert (12)
-
is
_ a? (12) - key (8)
- kill (12)
-
kind
_ of? (12) - label (12)
- lambda? (12)
- last (24)
- lazy (12)
- lineno (12)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) -
local
_ variables (21) - lstat (12)
-
marshal
_ dump (12) - match (24)
- max (48)
-
max
_ by (48) - merge (24)
-
method
_ added (12) -
method
_ defined? (12) -
method
_ id (12) -
method
_ missing (12) -
method
_ removed (12) -
method
_ undefined (12) - methods (12)
- min (48)
-
module
_ eval (24) -
module
_ exec (12) -
module
_ function (36) - name (36)
- next (12)
-
next
_ values (12) - offset (24)
-
original
_ name (24) - overlap? (2)
- owned? (12)
- owner (12)
- pack (21)
- parameters (7)
- path (48)
-
peek
_ values (12) -
pending
_ interrupt? (12) - pid (12)
- pop (20)
- pos (12)
- pos= (24)
- pread (8)
- prepend (41)
-
prepend
_ features (12) - prepended (12)
-
primitive
_ convert (48) - priority (12)
- priority= (12)
- private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) - public (48)
-
public
_ class _ method (24) -
public
_ constant (12) -
public
_ method _ defined? (12) -
public
_ send (24) - push (8)
- pwrite (8)
- raise (30)
-
raised
_ exception (12) - rand (36)
- read (12)
- readbyte (24)
- readchar (12)
- reason (12)
- receiver (36)
- refine (12)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) -
remove
_ method (12) - replace (12)
-
respond
_ to? (12) -
respond
_ to _ missing? (12) - result (12)
- resume (12)
-
return
_ value (12) - rewind (12)
-
ruby2
_ keywords (18) - seek (24)
- send (24)
-
set
_ backtrace (12) -
set
_ encoding _ by _ bom (6) -
set
_ trace _ func (12) - setgid? (12)
- setuid? (12)
- shift (20)
- signal (10)
- signm (12)
- signo (12)
-
singleton
_ class? (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - size (12)
- sleep (12)
- socket? (12)
-
sort
_ by (24) -
source
_ location (12) -
start
_ with? (18) - stat (12)
- status (12)
- step (93)
- sticky? (12)
- subclasses (4)
- success? (12)
- sum (12)
-
super
_ method (11) - superclass (12)
- sync (12)
- synchronize (12)
- sysseek (12)
- syswrite (12)
- tag (11)
- tell (12)
- terminate (12)
-
thread
_ variable _ set (12) -
to
_ a (12) -
to
_ ary (24) -
to
_ enum (48) -
to
_ h (19) -
to
_ hash (12) -
to
_ int (12) -
to
_ path (12) -
to
_ proc (30) -
to
_ regexp (12) -
to
_ s (83) -
to
_ str (12) - transfer (4)
- truncate (12)
- unbind (12)
-
undef
_ method (12) - unlock (12)
- unpack (12)
- unshift (8)
- upto (12)
- value (11)
-
with
_ object (24) - write (12)
- yield (24)
- ~ (12)
検索結果
先頭3件
-
MatchData
# [](name) -> String | nil (8002.0) -
name という名前付きグループにマッチした文字列を返します。
name という名前付きグループにマッチした文字列を返します。
@param name 名前(シンボルか文字列)
@raise IndexError 指定した名前が正規表現内に含まれていない場合に発生します
//emlist[例][ruby]{
/\$(?<dollars>\d+)\.(?<cents>\d+)/.match("$3.67")[:cents] # => "67"
/(?<alpha>[a-zA-Z]+)|(?<num>\d+)/.match("aZq")[:num] # => nil
//} -
MatchData
# [](start , length) -> [String] (8002.0) -
start 番目から length 個の要素を含む部分配列を返します。
start 番目から length 個の要素を含む部分配列を返します。
//emlist[例][ruby]{
/(foo)(bar)/ =~ "foobarbaz"
p $~[0, 3] # => ["foobar", "foo", "bar"]
//}
@see Array#[] -
Range
# first(n) -> [object] (8002.0) -
最初の n 要素を返します。範囲内に要素が含まれない場合は空の配列を返します。
最初の n 要素を返します。範囲内に要素が含まれない場合は空の配列を返します。
@param n 取得する要素数を整数で指定します。整数以外のオブジェクトを指定
した場合は to_int メソッドによる暗黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
@raise ArgumentError n に負の数を指定した場合に発生します。
//emlist[例][ruby]{
(10..20).first(3) # => [10, 11, 1...