種類
ライブラリ
- English (110)
- ビルトイン (5460)
- benchmark (33)
- coverage (35)
- csv (286)
- digest (22)
- erb (33)
- fiber (16)
-
fiddle
/ import (33) -
irb
/ cmd / help (11) -
irb
/ cmd / load (33) - json (110)
-
json
/ add / exception (11) - matrix (22)
-
mutex
_ m (11) -
net
/ http (242) - nkf (11)
- objspace (11)
- open3 (11)
- openssl (11)
- optparse (286)
- pathname (44)
- pp (22)
- prettyprint (11)
- prime (66)
- psych (58)
- rake (550)
-
rake
/ packagetask (99) - readline (11)
-
rexml
/ document (22) -
rexml
/ streamlistener (11) - ripper (11)
-
ripper
/ lexer (33) -
ripper
/ sexp (22) -
rubygems
/ specification (33) - set (22)
- strscan (88)
- thread (20)
- timeout (19)
- tsort (74)
- win32ole (77)
- zlib (22)
クラス
-
ARGF
. class (33) - Array (223)
- BasicObject (132)
- Binding (43)
- CSV (253)
-
CSV
:: FieldInfo (33) - Class (58)
- Coverage (35)
- Data (12)
-
Digest
:: Base (22) - Dir (121)
- ERB (33)
-
Encoding
:: Converter (44) -
Encoding
:: InvalidByteSequenceError (22) -
Encoding
:: UndefinedConversionError (11) - Enumerator (110)
-
Enumerator
:: Lazy (55) -
Enumerator
:: Yielder (27) - Exception (128)
- Fiber (70)
- File (77)
-
File
:: Stat (66) - FrozenError (5)
-
Gem
:: Specification (33) - Hash (66)
- IO (239)
-
IRB
:: ExtendCommand :: Help (11) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ExtendCommand :: Source (11) - Integer (32)
-
JSON
:: Parser (33) -
JSON
:: State (11) - MatchData (81)
- Matrix (22)
- Method (203)
- Module (830)
- Mutex (6)
-
Net
:: HTTP (143) -
Net
:: HTTPGenericRequest (22) -
Net
:: HTTPResponse (33) - Numeric (95)
- Object (462)
- OptionParser (286)
- Pathname (44)
- PrettyPrint (11)
- Prime (22)
-
Prime
:: PseudoPrimeGenerator (44) - Proc (53)
-
REXML
:: Attributes (22) -
Rake
:: Application (55) -
Rake
:: FileList (176) -
Rake
:: FileTask (22) -
Rake
:: InvocationChain (44) -
Rake
:: NameSpace (22) -
Rake
:: PackageTask (99) -
Rake
:: TaskArguments (55) - Random (33)
- Range (145)
- Refinement (3)
- Regexp (88)
- Ripper (66)
-
RubyVM
:: InstructionSequence (88) - Set (22)
- SignalException (22)
- String (161)
- StringScanner (77)
- Struct (33)
- Symbol (10)
- SystemCallError (11)
- Thread (66)
-
Thread
:: Backtrace :: Location (44) -
Thread
:: ConditionVariable (22) -
Thread
:: Mutex (27) -
Thread
:: Queue (33) -
Thread
:: SizedQueue (33) - TracePoint (183)
- UnboundMethod (33)
- UncaughtThrowError (30)
- WIN32OLE (33)
-
WIN32OLE
_ EVENT (22) -
WIN32OLE
_ TYPE (11) -
Zlib
:: GzipWriter (22)
モジュール
- Benchmark (33)
- Comparable (10)
- Enumerable (223)
-
Fiddle
:: Importer (33) - JSON (44)
-
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) - Kernel (834)
- Math (11)
-
Net
:: HTTPExceptions (11) -
Net
:: HTTPHeader (33) - ObjectSpace (44)
- Psych (47)
-
REXML
:: StreamListener (11) - Rake (22)
-
Rake
:: Cloneable (22) -
Rake
:: TaskManager (110) - RakeFileUtils (22)
- Readline (11)
-
RubyVM
:: AbstractSyntaxTree (8) - Signal (22)
- TSort (74)
- Timeout (19)
- Warning (8)
キーワード
- ! (11)
- != (11)
-
$ & (11) -
$ & # 39; (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ ARGV (11) -
$ CHILD _ STATUS (11) -
$ DEFAULT _ INPUT (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ LAST _ MATCH _ INFO (11) -
$ LAST _ PAREN _ MATCH (11) -
$ LAST _ READ _ LINE (11) -
$ NR (11) -
$ ORS (11) -
$ OUTPUT _ RECORD _ SEPARATOR (11) -
$ _ (11) -
$ ` (11) -
$ stdin (11) -
$ ~ (11) - % (11)
-
/ (10) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - < (11)
- << (34)
- <= (11)
- <=> (11)
- == (55)
- === (68)
- =~ (11)
- > (11)
- >= (11)
- >> (12)
- ARGV (11)
- ConditionVariable (11)
- DATA (11)
- Marshal フォーマット (11)
-
Mutex
_ m (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - NKF (11)
- Numeric (11)
- Open3 (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Rubyの起動 (11)
- Ruby用語集 (11)
- SizedQueue (11)
- String (22)
- StringScanner (11)
- Thread (11)
- UndefinedConversionError (11)
-
WIN32OLE
_ EVENT (11) - [] (132)
- []= (22)
-
_ _ callee _ _ (11) -
_ _ method _ _ (11) -
_ _ send _ _ (22) -
_ dump (11) - abort (22)
-
absolute
_ path (22) - accept (22)
-
add
_ dependency (11) -
add
_ development _ dependency (11) -
add
_ row (11) -
add
_ runtime _ dependency (11) -
add
_ trace _ func (11) -
alias
_ method (11) - allocate (11)
- ancestors (11)
- append (29)
-
append
_ features (11) - application (11)
- arity (22)
- ascend (22)
- at (11)
-
at
_ exit (11) - attr (33)
-
attr
_ accessor (11) -
attr
_ reader (11) -
attr
_ writer (11) - autoclose? (11)
- autoload (22)
- autoload? (11)
- backtrace (22)
-
backtrace
_ locations (11) -
base
_ label (22) - begin (22)
- benchmark (11)
- bigdecimal (11)
- bind (22)
- binding (22)
- binmode (11)
-
block
_ given? (11) - blockdev? (11)
- bm (11)
- bmbm (11)
-
body
_ stream (11) -
body
_ stream= (11) - broadcast (11)
- byteoffset (4)
- call (22)
-
callee
_ id (11) - caller (33)
-
caller
_ locations (22) - catch (22)
- cause (11)
-
cgi
/ session (11) - chardev? (11)
- chdir (22)
-
check
_ circular? (11) - chunk (11)
- clamp (10)
-
class
_ eval (22) -
class
_ exec (11) -
class
_ variable _ defined? (11) -
class
_ variable _ get (11) -
class
_ variable _ set (11) -
class
_ variables (11) -
clear
_ exclude (11) - clone (44)
- close (11)
-
close
_ read (11) -
close
_ write (11) - coerce (11)
- compact (3)
-
const
_ added (2) -
const
_ defined? (11) -
const
_ get (11) -
const
_ load (11) -
const
_ set (11) -
const
_ source _ location (5) - constants (22)
- convert (33)
- cover? (17)
-
create
_ id (11) - current (11)
-
current
_ scope (11) - curry (20)
- deconstruct (2)
-
deconstruct
_ keys (2) -
def
_ class (11) -
def
_ module (11) -
default
_ event _ sources (11) - define (4)
-
define
_ finalizer (22) -
define
_ method (22) -
define
_ singleton _ method (22) -
define
_ task (11) -
defined
_ class (11) - delete (11)
-
delete
_ suffix (7) -
delete
_ suffix! (7) - deq (22)
- descend (22)
- disable (22)
- disasm (11)
- disassemble (11)
- display (11)
- div (11)
- divide (22)
- dump (11)
- dup (33)
- each (132)
-
each
_ attribute (11) -
each
_ byte (44) -
each
_ codepoint (22) -
each
_ entry (22) -
each
_ index (22) -
each
_ key (22) -
each
_ line (22) -
each
_ pair (22) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) -
each
_ with _ index (66) - enable (22)
-
end
_ seen? (11) -
end
_ with? (16) - entitydecl (11)
-
enum
_ for (44) - eql? (11)
-
error
_ bytes (11) -
error
_ char (11) - eval (33)
-
eval
_ script (6) - event (11)
- exception (22)
-
exclude
_ end? (11) -
excluded
_ from _ list? (11) - execute (44)
- existing (11)
- existing! (11)
- exit (11)
- exit! (11)
- ext (11)
- extend (11)
-
extend
_ object (11) - extended (11)
- fail (33)
- fcntl (11)
- feed (11)
- fetch (66)
-
field
_ size _ limit (11) - finish (11)
- first (22)
-
first
_ lineno (11) -
fixed
_ encoding? (11) - flush (11)
-
force
_ quotes? (11) - fork (22)
- format (22)
- freeze (11)
- gamma (11)
- generate (22)
- get (22)
- get2 (22)
- getoptlong (11)
- gets (22)
- gsub! (11)
- handler= (11)
- hash (11)
- header (11)
- help (11)
- hexdigest (11)
- import (11)
-
import
_ methods (3) -
in
_ namespace (11) - include (11)
- include? (11)
- included (11)
-
included
_ modules (11) -
incomplete
_ input? (11) - index (11)
- inherited (11)
- initialize (11)
-
initialize
_ copy (11) -
inplace
_ mode= (11) - inspect (66)
-
instance
_ eval (22) -
instance
_ exec (11) -
instance
_ method (11) -
instance
_ methods (11) -
instance
_ of? (11) -
instance
_ variable _ defined? (11) -
instance
_ variable _ get (11) -
instruction
_ sequence (6) - intern (11)
-
internal
_ encoding (11) - invert (11)
- irb (11)
-
is
_ a? (22) - iterator? (11)
-
json
_ create (11) -
kind
_ of? (22) - label (11)
- lambda (17)
- lambda? (11)
- last (22)
-
last
_ comment (11) -
last
_ description (11) -
last
_ match (22) - lazy (11)
- lex (11)
- line (11)
-
line
_ stub (6) - lineno (11)
- load (25)
-
load
_ stream (22) -
local
_ variable _ defined? (11) -
local
_ variable _ get (11) -
local
_ variables (10) - logger (11)
- lookup (11)
- loop (22)
- lstat (11)
-
marshal
_ dump (11) - match (22)
- match? (11)
-
matched
_ size (11) - max (44)
-
max
_ by (44) - member? (11)
-
memsize
_ of _ all (11) - merge (22)
-
method
_ added (11) -
method
_ defined? (11) -
method
_ id (11) -
method
_ missing (11) -
method
_ removed (11) -
method
_ undefined (11) - methods (11)
- min (44)
-
minitest
/ unit (1) -
module
_ eval (22) -
module
_ exec (11) -
module
_ function (19) - name (44)
- names (11)
-
need
_ tar (11) -
need
_ tar _ bz2 (11) -
need
_ tar _ gz (11) -
need
_ zip (11) - needed? (11)
- nesting (11)
-
net
/ ftp (11) -
net
/ http (11) - new (205)
-
new
_ scope (11) - next (11)
-
next
_ values (11) -
nowrite
_ flag (11) - of (19)
- offset (22)
-
ole
_ query _ interface (11) -
on
_ head (11) -
on
_ tail (11) - open (88)
-
original
_ dir (22) -
original
_ name (22) - overlap? (1)
- owned? (11)
- owner (11)
- pack (19)
- pack テンプレート文字列 (11)
-
package
_ dir (11) -
package
_ dir _ path (11) -
package
_ files (11) - parameters (6)
- parse (66)
- parse! (11)
- path (33)
- pathmap (11)
- peek (11)
-
peek
_ result (11) -
peek
_ values (11) - peep (11)
- pid (11)
- pointer= (11)
- pop (22)
- pos (11)
- pos= (11)
- post (22)
- post2 (22)
- pp (11)
- pread (7)
- prepend (37)
-
prepend
_ features (11) - prepended (11)
-
pretty
_ print (11) -
pretty
_ print _ cycle (11) - prettyprint (11)
-
primitive
_ convert (44) - print (11)
- priority (11)
- priority= (11)
- private (23)
-
private
_ class _ method (15) -
private
_ constant (11) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) - proc (18)
-
program
_ name (11) -
protected
_ method _ defined? (11) - public (23)
-
public
_ class _ method (15) -
public
_ constant (11) -
public
_ method _ defined? (11) -
public
_ send (22) - push (7)
- puts (11)
- pwrite (7)
- raise (48)
-
raised
_ exception (11) - rake (11)
-
rake
/ gempackagetask (11) - rakefile (11)
- rand (33)
-
rb
_ parser _ append _ print (11) -
rdoc
/ parser / ruby (11) - read (22)
-
read
_ body (22) - readbyte (22)
- readchar (11)
- readline (33)
- readlines (11)
- receiver (16)
- refine (11)
- reject (22)
- release (11)
-
remove
_ class _ variable (11) -
remove
_ const (11) -
remove
_ instance _ variable (11) -
remove
_ method (11) - rename (11)
- replace (11)
-
request
_ get (22) -
request
_ post (22) - require (11)
-
require
_ relative (11) - resolve (11)
-
respond
_ to? (11) -
respond
_ to _ missing? (11) - response (11)
- result (11)
- resume (11)
-
return
_ value (11) - rewind (11)
-
rexml
/ document (11) -
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 8 . 5 feature (11) -
ruby 1
. 9 feature (11) -
ruby2
_ keywords (10) -
ruby2
_ keywords _ hash? (5) - rubygems (11)
-
rubygems
/ commands / dependency _ command (11) - seek (11)
- send (22)
-
send
_ request (11) - separator (11)
-
set
_ backtrace (11) -
set
_ encoding _ by _ bom (5) -
set
_ trace _ func (22) - setgid? (11)
- setuid? (11)
- sexp (11)
-
sexp
_ raw (11) - shell (6)
- shift (33)
- signal (11)
- signm (11)
- signo (11)
-
singleton
_ class? (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) - size (11)
- sleep (33)
- slice (11)
- socket? (11)
-
sort
_ by (22) - source (11)
-
source
_ location (11) - sprintf (11)
- sprintf フォーマット (11)
- start (7)
-
start
_ with? (12) - stat (11)
- step (84)
- sticky? (11)
-
strongly
_ connected _ components (11) - struct (11)
- sub! (11)
- subclasses (3)
- sum (11)
- summarize (22)
-
summary
_ indent (11) -
summary
_ indent= (11) -
summary
_ width (11) -
summary
_ width= (11) -
super
_ method (10) - superclass (11)
- synchronize (11)
-
synthesize
_ file _ task (11) - syswrite (11)
- tag (10)
- tasks (22)
- tell (11)
- test (22)
-
test
/ unit (1) - throw (11)
- timeout (19)
-
to
_ a (22) -
to
_ ary (33) -
to
_ bn (11) -
to
_ enum (44) -
to
_ h (17) -
to
_ hash (22) -
to
_ int (11) -
to
_ json (22) -
to
_ proc (27) -
to
_ regexp (11) -
to
_ s (109) -
to
_ str (11) - tokenize (11)
-
top
_ level _ tasks (11) - tracer (11)
- transfer (11)
- trap (22)
- truncate (11)
-
try
_ convert (11) - tsort (11)
-
tsort
_ each (21) - unbind (11)
-
undef
_ method (11) -
undefine
_ finalizer (11) - union (11)
- unlink (11)
- unpack (11)
- unparse (11)
- unscan (11)
- unshift (7)
- upto (11)
-
used
_ modules (8) - using (11)
- value (21)
- ver (11)
-
verbose
_ flag (11) - warn (15)
-
webrick
/ cgi (11) -
with
_ defaults (11) -
with
_ index (22) -
with
_ object (22) - write (11)
-
write
_ headers? (11) -
yaml
/ store (11) -
yaml
_ tag (11) - yield (33)
- ~ (11)
- クラス/メソッドの定義 (11)
- スレッド (11)
- セキュリティモデル (11)
- パターンマッチ (11)
- メソッド呼び出し(super・ブロック付き・yield) (11)
- リテラル (11)
- 制御構造 (11)
- 変数と定数 (11)
- 手続きオブジェクトの挙動の詳細 (11)
- 演算子式 (11)
検索結果
先頭5件
-
MatchData
# end(n) -> Integer | nil (24343.0) -
n 番目の部分文字列終端のオフセットを返します。
...ise IndexError 範囲外の n を指定した場合に発生します。
//emlist[例][ruby]{
/(foo)(bar)(BAZ)?/ =~ "foobarbaz"
p $~.end(0) # => 6
p $~.end(1) # => 3
p $~.end(2) # => 6
p $~.end(3) # => nil
p $~.end(4) # => `end': index 4 out of matches (IndexError)
//}
@see MatchData#beg... -
Range
# end -> object (24309.0) -
終端の要素を返します。範囲オブジェクトが終端を含むかどうかは関係ありま せん。
...終端の要素を返します。範囲オブジェクトが終端を含むかどうかは関係ありま
せん。
//emlist[例][ruby]{
(10..20).last # => 20
(10...20).last # => 20
//}
@see Range#begin... -
rubygems
/ commands / dependency _ command (18114.0) -
インストールされている Gem パッケージの依存関係を表示するためのライブラリです。
...ールされている Gem パッケージの依存関係を表示するためのライブラリです。
Usage: gem dependency GEMNAME [options]
Options:
-v, --version VERSION 指定したバージョンの依存関係を表示します
--platform PLATFORM......す
-R, --[no-]reverse-dependencies この Gem を使用している Gem を表示します
-p, --pipe Pipe Format (name --version ver)
Local/Remote Options:
-l, --local 操作をローカルに限定します
-r, --remote......します
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデ... -
ruby 1
. 6 feature (16765.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...ruby 1.6 feature
ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) ->......stable-snapshot
: 2003-01-22: errno
EAGAIN と EWOULDBLOCK が同じ値のシステムで、EWOULDBLOCK がなくなっ
ていました。現在は、このようなシステムでは、EWOULDBLOCK は、EAGAIN
として定義されています。(これは 1.6.7 とは異なる挙......tyError)
=> ruby 1.6.7 (2002-07-30) [i586-linux]
: 2002-05-20 IO#close
双方向のパイプの dup を close_write するとエラーになっていました。
((<ruby-dev:17155>))
open("|-","r+") {|f|
if f
f.dup.close_write
else
sleep 1
end... -
Ripper
# end _ seen? -> bool (15433.0) -
これまでに解析した Ruby プログラムの中に __END__ が含まれていたかどうか を返します。
...これまでに解析した Ruby プログラムの中に __END__ が含まれていたかどうか
を返します。... -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (15216.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
...JSON のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "A... -
Gem
:: Specification # add _ dependency(gem , *requirements) -> [Gem :: Dependency] (12512.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
...この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の......名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。
@see Gem::Specification#add_development_dependency, Gem::Dependency... -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (12412.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
...この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の......名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。
@see Gem::Specification#add_development_dependency, Gem::Dependency... -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (12406.0) -
この gem の DEVELOPMENT 依存性を追加します。 この gem の開発時に必要となる gem を指定します。
...gem の DEVELOPMENT 依存性を追加します。
この gem の開発時に必要となる gem を指定します。
//emlist[][ruby]{
gem "rack", "~> 1.6", ">= 1.6.12"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements......バージョンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。
@see Gem::Specification#add_runtime_dependency, Gem::Dependency... -
Pathname
# ascend -> Enumerator (12406.0) -
self のパス名から親方向に辿っていったときの各パス名を新しい Pathname オ ブジェクトとして生成し、ブロックへの引数として渡して実行します。 ブロックを省略した場合は Enumerator を返します。
...self のパス名から親方向に辿っていったときの各パス名を新しい Pathname オ
ブジェクトとして生成し、ブロックへの引数として渡して実行します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
require 'path......name'
Pathname.new('/path/to/some/file.rb').ascend {|v| p v}
# => #<Pathname:/path/to/some/file.rb>
# #<Pathname:/path/to/some>
# #<Pathname:/path/to>
# #<Pathname:/path>
# #<Pathname:/>
Pathname.new('path/to/some/file.rb').ascend {|v| p v}
# => #<Pathname:path/to/some/file.rb>
# #<......Pathname:path/to/some>
# #<Pathname:path/to>
# #<Pathname:path>
//}
ファイルシステムにはアクセスしません。...