5434件ヒット
[5401-5434件を表示]
(0.062秒)
別のキーワード
ライブラリ
クラス
-
ARGF
. class (36) - Array (442)
- BasicObject (84)
- BigDecimal (204)
- Binding (30)
- CSV (24)
-
CSV
:: Table (108) - Class (12)
- Complex (36)
- Data (12)
- Dir (36)
- Enumerator (48)
- Fiber (30)
- Float (80)
- FrozenError (6)
-
Gem
:: Version (24) - Hash (454)
- IO (84)
- Integer (213)
- MatchData (24)
-
Matrix
:: LUPDecomposition (12) - Method (104)
- Module (324)
- Mutex (4)
- Numeric (103)
- Object (318)
-
OpenSSL
:: BN (132) - OpenStruct (19)
- OptionParser (204)
- Pathname (141)
- Proc (14)
-
REXML
:: Attributes (36) -
REXML
:: Child (24) -
REXML
:: Element (48) -
Rake
:: FileList (24) - Range (30)
- Rational (30)
-
Resolv
:: DNS :: Name (12) -
RubyVM
:: AbstractSyntaxTree :: Node (49) -
RubyVM
:: InstructionSequence (120) - Set (84)
- String (699)
- StringIO (38)
- Struct (53)
- Symbol (45)
- Thread (24)
-
Thread
:: Backtrace :: Location (72) -
Thread
:: ConditionVariable (24) -
Thread
:: Mutex (20) - Time (108)
- TracePoint (60)
- UnboundMethod (48)
-
WIN32OLE
_ TYPE (12)
モジュール
- Comparable (27)
- Enumerable (361)
-
OptionParser
:: Arguable (24)
キーワード
- ! (12)
- != (12)
- !~ (12)
- % (24)
- ** (11)
- + (12)
- < (46)
- << (38)
- <= (46)
- <=> (24)
- == (111)
- === (56)
- > (46)
- >= (46)
- >> (14)
- [] (108)
- []= (12)
-
_ dump (12) - abbrev (12)
- abs (36)
- abs2 (12)
- absolute? (12)
-
absolute
_ path (24) - allbits? (8)
- anybits? (8)
- append (8)
-
append
_ as _ bytes (1) -
backtrace
_ locations (24) -
base
_ label (24) - basename (12)
- between? (12)
- bind (12)
-
bind
_ call (12) - binmode (24)
- binread (12)
-
bit
_ length (12) - broadcast (12)
- bsearch (24)
-
bsearch
_ index (20) -
by
_ col! (12) -
by
_ col _ or _ row! (12) -
by
_ row! (12) - byterindex (3)
- bytes (38)
- call (24)
- casecmp? (9)
- ceil (24)
- chars (12)
- children (7)
-
chunk
_ while (12) - clamp (15)
- class (12)
-
class
_ eval (24) -
class
_ exec (12) -
clear
_ bit! (12) - closed? (12)
- codepoints (12)
- coerce (24)
- combination (24)
- compact (13)
- compact! (9)
-
compare
_ by _ identity (12) - concat (18)
- cover? (14)
- curry (22)
- deconstruct (3)
- default (24)
-
default
_ event _ sources (12) -
define
_ singleton _ method (24) - delete (12)
-
delete
_ if (24) - dig (30)
- digits (12)
- disable (24)
- disasm (12)
- disassemble (12)
- disjoint? (12)
- display (12)
- divmod (12)
- each (96)
-
each
_ byte (72) -
each
_ char (12) -
each
_ codepoint (12) -
each
_ cons (8) -
each
_ entry (24) -
each
_ grapheme _ cluster (8) -
each
_ key (24) -
each
_ pair (36) -
each
_ slice (8) -
each
_ value (24) -
each
_ with _ index (24) - empty? (9)
- enable (24)
- encode (36)
-
end
_ with? (18) - entries (7)
-
enum
_ for (24) - eql? (51)
- equal? (36)
- eval (24)
- extend (12)
-
extend
_ object (12) - extended (12)
-
fetch
_ values (22) - filter! (28)
- finite? (9)
-
first
_ column (7) -
first
_ lineno (19) - floor (24)
- fnmatch (12)
- freeze (12)
- friday? (12)
- getbyte (12)
- getc (12)
- gmt? (12)
-
grapheme
_ clusters (8) - gsub! (60)
-
has
_ elements? (12) - hash (12)
- include? (12)
- inherited (12)
-
initialize
_ copy (12) - inject (36)
- insert (12)
- inspect (37)
-
instance
_ eval (24) -
instance
_ exec (12) -
instance
_ method (12) - iseuc (12)
- itself (12)
-
keep
_ if (48) - label (24)
-
last
_ column (7) -
last
_ lineno (7) - lineno (12)
- lshift! (12)
- magnitude (24)
-
marshal
_ load (12) -
mask
_ bits! (12) - match (12)
- match? (18)
-
max
_ by (48) - merge (24)
- merge! (24)
-
mod
_ add (12) -
mod
_ exp (12) -
mod
_ inverse (12) -
mod
_ mul (12) -
mod
_ sub (12) -
module
_ eval (24) -
module
_ exec (12) - modulo (12)
- monday? (12)
- mountpoint? (12)
- namespace (12)
- namespaces (24)
- negative? (29)
- next (12)
- next! (12)
-
next
_ sibling= (12) - nobits? (8)
- nonzero? (24)
- on (144)
-
on
_ head (12) -
on
_ tail (12) - order! (24)
- overlap? (2)
- owned? (12)
- path (24)
- permutation (12)
- permute! (12)
- pos= (12)
- positive? (29)
- pow (22)
- prefixes (24)
- prepend (20)
-
prepend
_ features (12) - prerelease? (12)
-
pretty
_ print (12) -
previous
_ sibling= (12) -
proper
_ subset? (12) -
proper
_ superset? (12) - public (48)
-
public
_ class _ method (24) -
public
_ constant (12) -
public
_ instance _ method (12) - push (24)
- putc (12)
- raise (18)
- read (12)
- readlines (12)
- realpath (12)
- receiver (17)
- reduce (36)
- rehash (12)
- relative? (12)
-
relative
_ path _ from (12) - remainder (12)
-
repeated
_ combination (24) - replace (12)
- resume (12)
-
reverse
_ each (48) - rewind (12)
- root? (12)
- rotate! (12)
- rshift! (12)
- sample (24)
- saturday? (12)
- scan (24)
- scrub (36)
- scrub! (36)
- seek (12)
- select! (48)
-
set
_ bit! (12) - shift (12)
- signal (12)
-
singleton
_ class? (12) -
singleton
_ methods (12) - slice (72)
-
slice
_ when (12) - solve (12)
- sort (24)
- sort! (24)
-
sort
_ by (24) -
sort
_ by! (24) -
source
_ location (7) - split (14)
-
start
_ with? (18) - step (62)
- sub (24)
- sub! (48)
-
subdomain
_ of? (12) - subset? (12)
- subtract (12)
- succ (12)
- succ! (12)
- sum (24)
- sunday? (12)
- superset? (12)
- synchronize (12)
- taint (9)
- tally (10)
- tap (12)
- then (14)
- thursday? (12)
-
to
_ a (19) -
to
_ bn (12) -
to
_ enum (24) -
to
_ h (69) -
to
_ proc (12) -
to
_ s (54) -
transform
_ keys! (20) -
transform
_ values! (18) - trust (9)
- tuesday? (12)
- type (7)
- unbind (12)
-
undef
_ method (12) -
unicode
_ normalized? (11) - union (7)
- uniq (24)
- unshift (12)
- untaint (9)
- untrust (9)
- update (24)
- upto (12)
- utc? (12)
- wait (12)
-
wait
_ readable (12) - wednesday? (12)
-
yield
_ self (16) - zero? (12)
- zip (48)
検索結果
-
String
# slice(nth , len) -> String | nil (21.0) -
nth 文字目から長さ len 文字の部分文字列を新しく作って返します。 nth が負の場合は文字列の末尾から数えます。
...い文字列の長さを正の整数で指定します。
@return nth が範囲外を指す場合は nil を返します。
//emlist[例][ruby]{
str0 = "bar"
str0[2, 1] #=> "r"
str0[2, 0] #=> ""
str0[2, 100] #=> "r" (右側を超えても平気)
str0[-1, 1] #=> "r"
st......#=> nil
str1 = str0[0, 2] # (str0 の「一部」を str1 とする)
str1 #=> "ba"
str1[0] = "XYZ"
str1 #=> "XYZa" (str1 の内容が破壊的に変更された)
str0 #=> "bar" (str0 は無傷、 str1 は str0 と内容を共有していない)
//}... -
Array
# reverse _ each -> Enumerator (20.0) -
各要素に対して逆順にブロックを評価します。
...て逆順にブロックを評価します。
ブロックが与えられなかった場合は、自身と reverse_each から生成した
Enumerator オブジェクトを返します。
//emlist[例][ruby]{
a = [ "a", "b", "c" ]
a.reverse_each {|x| print x, " " }
# => c b a
//}
@see Array#each... -
Dir
# pos=(pos) (14.0) -
ディレクトリストリームの読み込み位置を pos に移動させます。 pos は Dir#tell で与えられた値でなければなりま せん。
...close している場合に発生します。
//emlist[例][ruby]{
Dir.open("testdir") do |d|
d.read # => "."
i = d.tell # => 12
d.read # => ".."
d.seek(i) # => #<Dir:0x401b3c40>
d.read # => ".."
end
//}...