3038件ヒット
[3001-3038件を表示]
(0.117秒)
別のキーワード
ライブラリ
- ビルトイン (1620)
-
cgi
/ core (24) -
cgi
/ session (24) - continuation (24)
- csv (96)
- dbm (24)
-
drb
/ gw (24) - fiddle (72)
-
fiddle
/ import (12) - forwardable (24)
- gdbm (24)
- json (24)
- matrix (117)
-
minitest
/ mock (1) -
minitest
/ unit (2) - mkmf (12)
- monitor (12)
-
net
/ http (24) -
net
/ imap (12) - openssl (48)
- optparse (36)
- ostruct (24)
- pstore (84)
- psych (12)
- rake (48)
-
rake
/ packagetask (24) -
rexml
/ document (120) -
rexml
/ parsers / pullparser (24) -
rinda
/ tuplespace (12) -
rubygems
/ command _ manager (12) -
rubygems
/ config _ file (24) - sdbm (24)
- set (9)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - stringio (12)
- strscan (12)
- thwait (42)
- tsort (23)
-
webrick
/ cgi (24) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (24) -
webrick
/ httpserver (24) -
webrick
/ httputils (12) -
webrick
/ server (12) -
win32
/ registry (24) - win32ole (72)
-
yaml
/ dbm (36)
クラス
- Array (549)
- Bignum (3)
-
CGI
:: Session (24) -
CSV
:: Row (48) -
CSV
:: Table (48) - Class (4)
- Continuation (24)
- DBM (24)
-
DRb
:: GW (24) - Enumerator (24)
-
Fiddle
:: Handle (24) -
Fiddle
:: Pointer (48) - Fixnum (3)
- GDBM (24)
-
Gem
:: CommandManager (12) -
Gem
:: ConfigFile (24) - Hash (36)
- IO (36)
- Integer (24)
-
JSON
:: State (24) - MatchData (48)
- Matrix (43)
- Method (44)
-
MiniTest
:: Mock (1) -
MiniTest
:: Unit (2) - Module (60)
-
Net
:: IMAP :: FetchData (12) - NilClass (12)
- Object (12)
-
ObjectSpace
:: WeakMap (24) -
OpenSSL
:: Config (36) -
OpenSSL
:: OCSP :: BasicResponse (12) - OpenStruct (24)
- OptionParser (36)
- PStore (84)
- Proc (36)
-
Psych
:: Handler (12) -
REXML
:: AttlistDecl (12) -
REXML
:: Attributes (36) -
REXML
:: Elements (24) -
REXML
:: Parent (48) -
REXML
:: Parsers :: PullEvent (24) -
Rake
:: NameSpace (12) -
Rake
:: PackageTask (24) -
Rake
:: TaskArguments (12) - Range (102)
- Regexp (48)
-
Rinda
:: TupleEntry (12) - SDBM (24)
- Set (12)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - String (300)
- StringIO (12)
- StringScanner (12)
- Struct (24)
- Symbol (120)
- Thread (60)
- ThreadsWait (42)
- Vector (74)
-
WEBrick
:: CGI (24) -
WEBrick
:: GenericServer (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (24) -
WEBrick
:: HTTPServer :: MountTable (24) -
WEBrick
:: HTTPUtils :: FormData (12) - WIN32OLE (24)
-
WIN32OLE
_ TYPE (12) -
WIN32OLE
_ VARIABLE (12) -
WIN32OLE
_ VARIANT (24) -
Win32
:: Registry (24) -
YAML
:: DBM (36)
モジュール
-
CGI
:: QueryExtension (12) -
CGI
:: QueryExtension :: Value (12) - Enumerable (48)
-
Fiddle
:: Importer (12) - Forwardable (24)
- Kernel (12)
- MonitorMixin (12)
-
Net
:: HTTPHeader (24) -
Rake
:: TaskManager (24) - TSort (23)
キーワード
- === (8)
- =~ (12)
- []= (513)
- abort (12)
-
all
_ waits (6) - at (12)
- attr (12)
- call (36)
- clear (24)
- combination (24)
- commit (12)
- component (24)
-
const
_ source _ location (12) - constants (12)
- curry (24)
-
def
_ delegator (12) -
def
_ instance _ delegator (12) -
default
_ argv= (12) -
default
_ event _ sources (12) - delete (36)
- each (12)
- each2 (24)
-
each
_ line (24) -
each
_ strongly _ connected _ component _ from (23) - element (24)
- empty? (6)
- encode (36)
- entries (7)
- expect (1)
- fetch (12)
- field (12)
- fill (72)
- finished? (6)
- first (48)
-
included
_ modules (12) -
install
_ files (12) - join (30)
-
join
_ nowait (6) - last (24)
- match (24)
- max (80)
- min (80)
-
mon
_ enter (12) - names (12)
-
next
_ values (12) -
next
_ wait (6) -
ole
_ type _ detail (12) - pack (21)
-
package
_ files (12) -
package
_ files= (12) -
peek
_ values (12) - permutation (24)
- pop (24)
- prefixes (12)
-
prepend
_ features (12) -
process
_ args (1) - product (24)
- readlines (48)
-
repeated
_ combination (24) -
repeated
_ permutation (24) - run (1)
- section (12)
- shift (24)
- sign (12)
- slice (132)
- slice! (36)
-
sort
_ by (24) - start (12)
-
start
_ document (12) - store (24)
- subclasses (4)
- summarize (24)
- sym (12)
- test (18)
- threads (6)
-
to
_ a (31) - transaction (12)
- transpose (12)
-
undef
_ method (12) - unpack (12)
- value (12)
検索結果
先頭4件
-
Array
# fill(val) -> self (2.0) -
すべての要素に val をセットします。
すべての要素に val をセットします。
このメソッドが val のコピーでなく val 自身をセットする
ことに注意してください。
val の代わりにブロックを指定するとブロックの評価結果を値とします。
@param val 自身にセットしたいオブジェクトを指定します。
//emlist[例][ruby]{
a = [0, 1, 2, 3, 4]
a.fill(10)
p a #=> [10, 10, 10, 10, 10]
a = [0, 1, 2, 3, 4]
a.fill("a")
p a #=> ["a", "a", "a", "a", "a"]
a[0].capitali... -
Array
# first -> object | nil (2.0) -
配列の先頭の要素を返します。要素がなければ nil を返します。
...配列の先頭の要素を返します。要素がなければ nil を返します。
//emlist[例][ruby]{
p [0, 1, 2].first #=> 0
p [].first #=> nil
//}
@see Array#last... -
Array
# last -> object | nil (2.0) -
配列の末尾の要素を返します。配列が空のときは nil を返します。
...配列の末尾の要素を返します。配列が空のときは nil を返します。
//emlist[例][ruby]{
p [0, 1, 2].last #=> 2
p [].last #=> nil
//}
@see Array#first... -
Array
# slice!(nth) -> object | nil (2.0) -
指定した要素を自身から取り除き、取り除いた要素を返します。取り除く要素がなければ nil を返します。
指定した要素を自身から取り除き、取り除いた要素を返します。取り除く要素がなければ nil
を返します。
@param nth 取り除く要素のインデックスを整数で指定します。
//emlist[例][ruby]{
a = [ "a", "b", "c" ]
a.slice!(1) #=> "b"
a #=> ["a", "c"]
a.slice!(-1) #=> "c"
a #=> ["a"]
a.slice!(100) #=> nil
a #=> ["a"]
//}