別のキーワード
種類
ライブラリ
- ビルトイン (479)
- bigdecimal (96)
-
cgi
/ html (48) - date (24)
-
irb
/ ext / save-history (12) -
irb
/ inspector (24) - json (48)
-
minitest
/ mock (4) -
minitest
/ spec (6) -
minitest
/ unit (70) - mkmf (12)
-
net
/ http (216) - openssl (24)
- optparse (144)
- rake (36)
-
rake
/ gempackagetask (12) -
rake
/ packagetask (12) -
rdoc
/ context (24) -
rdoc
/ generator / darkfish (12) -
rdoc
/ generator / ri (12) -
rdoc
/ markdown (24) -
rexml
/ document (12) -
ripper
/ filter (12) -
rubygems
/ gem _ path _ searcher (12) -
rubygems
/ specification (12) -
rubygems
/ user _ interaction (36) -
shell
/ command-processor (6) - win32ole (12)
クラス
- Array (18)
- BigDecimal (96)
- Complex (18)
- Date (24)
- Enumerator (18)
-
Enumerator
:: Chain (7) -
Enumerator
:: Lazy (24) - Float (36)
-
Gem
:: GemPathSearcher (12) -
Gem
:: Specification (12) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) -
IRB
:: Context (12) -
IRB
:: Inspector (12) -
JSON
:: State (24) -
MiniTest
:: Mock (3) -
MiniTest
:: Spec (5) -
MiniTest
:: Unit (23) -
MiniTest
:: Unit :: TestCase (13) -
Net
:: HTTP (204) -
Net
:: HTTPRequest (12) - Numeric (80)
- Object (48)
-
OpenSSL
:: PKey :: EC :: Point (24) - OptionParser (144)
-
RDoc
:: Context (24) -
RDoc
:: Generator :: Darkfish (12) -
RDoc
:: Generator :: RI (12) -
RDoc
:: Markdown (24) -
REXML
:: Elements (12) -
Rake
:: Application (24) -
Rake
:: GemPackageTask (12) -
Rake
:: PackageTask (12) - Range (12)
-
Ripper
:: Filter (12) -
Shell
:: CommandProcessor (6) - Struct (52)
- WIN32OLE (12)
モジュール
-
CGI
:: Html3 (12) -
CGI
:: Html4 (12) -
CGI
:: Html4Fr (12) -
CGI
:: Html4Tr (12) - Enumerable (96)
- IRB (12)
- JSON (24)
- Kernel (12)
- MiniTest (2)
-
MiniTest
:: Assertions (26) - Process (36)
-
Rake
:: TaskManager (12) -
RubyVM
:: AbstractSyntaxTree (10)
キーワード
- Assertion (1)
- Assertions (1)
-
EXCEPTION
_ INFINITY (12) - GC (12)
- GREGORIAN (12)
- INFINITY (24)
- Infinity (12)
-
Init
_ Proc (12) -
Init
_ Thread (12) -
Init
_ eval (12) -
Init
_ heap (12) -
Init
_ load (12) -
Init
_ stack (12) -
Init
_ sym (12) -
Init
_ var _ tables (12) - Inspector (12)
- JULIAN (12)
- Location (12)
-
MINI
_ DIR (1) - MiniTest (1)
- MinusInfinity (12)
- Mock (1)
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 3
. 1 . 0 (4) -
PASSTHROUGH
_ EXCEPTIONS (1) -
RLIM
_ INFINITY (12) -
SIGN
_ NEGATIVE _ FINITE (12) -
SIGN
_ NEGATIVE _ INFINITE (12) -
SIGN
_ POSITIVE _ FINITE (12) -
SIGN
_ POSITIVE _ INFINITE (12) -
SUPPORTS
_ INFO _ SIGNAL (1) - Skip (1)
- Spec (1)
- TestCase (1)
- Unit (1)
- VERSION (1)
- [] (12)
-
_ _ name _ _ (1) -
_ assertions (1) -
_ assertions= (1) - after (1)
- assert (1)
-
assert
_ block (1) -
assert
_ empty (1) -
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ match (1) -
assert
_ nil (1) -
assert
_ operator (1) -
assert
_ raises (1) -
assert
_ respond _ to (1) -
assert
_ same (1) -
assert
_ send (1) -
assert
_ throws (1) -
assertion
_ count (1) -
assertion
_ count= (1) - autorun (1)
- before (1)
-
buffer
_ initial _ length (12) -
buffer
_ initial _ length= (12) -
capture
_ io (1) - chunk (12)
- copy (12)
-
create
_ makefile (12) - current (1)
-
definition
_ lists (12) -
definition
_ lists= (12) - delete (12)
-
element
_ init (48) - errors (1)
- errors= (1)
-
exception
_ details (1) - expect (1)
- failures (1)
- failures= (1)
-
filter
_ backtrace (1) - finite? (42)
- flunk (1)
- infinite? (42)
- infinity? (12)
- inherited (1)
-
init
_ gemspecs (12) -
init
_ mark _ stack (12) -
init
_ save _ history (12) - initgroups (12)
- initialize (42)
-
initialize
_ classes _ and _ modules (12) -
initialize
_ clone (12) -
initialize
_ copy (12) -
initialize
_ dup (12) -
initialize
_ methods _ etc (12) - inject (48)
-
irb
/ init (12) - it (1)
-
keyword
_ init? (4) - location (1)
- lock (12)
- lookup (12)
-
minitest
/ autorun (12) -
minitest
/ mock (12) -
minitest
/ spec (12) -
minitest
/ unit (12) - mkcol (12)
- move (12)
-
mu
_ pp (1) - new (87)
- of (10)
-
ole
_ activex _ initialize (12) -
on
_ head (12) -
on
_ tail (12) - output= (1)
- parse (36)
- parse! (12)
- pass (1)
- passed? (1)
- patch (24)
- ppid (12)
-
process
_ args (1) - produce (6)
- propfind (12)
- proppatch (12)
- puke (1)
- put (12)
- put2 (24)
-
rb
_ catch (12) -
rb
_ class _ initialize (12) -
rb
_ define _ global _ function (12) -
rb
_ exec _ arg _ init (1) -
rb
_ mod _ initialize (12) -
rb
_ obj _ call _ init (12) -
rb
_ thread _ initialize (12) -
rdoc
/ parser / c (12) - reduce (36)
- report (1)
- report= (1)
-
request
_ put (24) - reset (1)
-
ruby 1
. 8 . 4 feature (12) -
ruby
_ init (12) - run (14)
-
run
_ test _ suites (1) -
set
_ to _ infinity! (12) - setup (1)
- size (31)
- skip (1)
- skips (1)
- skips= (1)
-
slice
_ before (12) - socket (12)
-
st
_ init _ numtable (12) -
st
_ init _ numtable _ with _ size (12) -
st
_ init _ strtable (12) -
st
_ init _ strtable _ with _ size (12) -
st
_ init _ table (12) -
st
_ init _ table _ with _ size (12) -
start
_ time (1) -
start
_ time= (1) - status (1)
- step (62)
- sum (42)
- summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) - teardown (1)
-
test
_ count (1) -
test
_ count= (1) -
test
_ methods (1) -
test
_ order (1) -
test
_ suites (1) -
to
_ a (12) -
top
_ local _ init (12) - trace (12)
- unlock (12)
- verify (1)
-
yaml
_ initialize (12)
検索結果
先頭5件
-
VALUE rb
_ catch(const char *tag , VALUE (*proc)() , VALUE data) (6.0) -
catch と同等の動作を実行します。
...return rb_catch("footag", foo_yield, INT2FIX(2));
}
static VALUE
foo_abort(VALUE obj)
{
return rb_throw("footag", Qnil);
}
void
Init_foo(void)
{
VALUE Foo = rb_define_class("Foo", rb_cObject);
rb_define_method(Foo, "catch", foo_catch, 0);
rb_define_method(Fo... -
socket (6.0)
-
socket はプロセス外部との通信 (プロセス間通信、ホスト間通信) を実現します。
...よるIPアドレス(文字列) (例: "127.0.0.1")
* 空文字列 (""), 文字列 "<any>" - INADDR_ANYに相当
* 文字列 "::" - IN6ADDR_ANY_INIT に相当
* 文字列 "<broadcast>" - INADDR_BROADCASTに相当
* IPアドレスを表す 32bit の整数 (例: 0x7f000001)
====[a:service_form... -
void rb
_ define _ global _ function(const char *name , VALUE (*func)() , int argc) (6.0) -
関数 name を定義します。 func と argc は rb_define_method と同じです。
...す。
例:
static VALUE
return_obj_dup(VALUE obj)
{
VALUE dup = rb_obj_dup(obj); // オブジェクトを複製
return dup;
}
void Init_func() {
rb_define_global_function("dup_obj", return_obj_dup, 1); // 関数 dup_objを定義しています。
}... -
Struct
. [](*args) -> Struct (5.0) -
(このメソッドは Struct の下位クラスにのみ定義されています) 構造体オブジェクトを生成して返します。
(このメソッドは Struct の下位クラスにのみ定義されています)
構造体オブジェクトを生成して返します。
@param args 構造体の初期値を指定します。メンバの初期値は指定されなければ nil です。
@return 構造体クラスのインスタンス。
@raise ArgumentError 構造体のメンバの数よりも多くの引数を指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
foo = Foo.new(1)
p foo.values # => [1, nil]
//} -
Struct
. new(*args) -> Struct (5.0) -
(このメソッドは Struct の下位クラスにのみ定義されています) 構造体オブジェクトを生成して返します。
(このメソッドは Struct の下位クラスにのみ定義されています)
構造体オブジェクトを生成して返します。
@param args 構造体の初期値を指定します。メンバの初期値は指定されなければ nil です。
@return 構造体クラスのインスタンス。
@raise ArgumentError 構造体のメンバの数よりも多くの引数を指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
foo = Foo.new(1)
p foo.values # => [1, nil]
//} -
Struct
. [](*args) -> Struct (2.0) -
(このメソッドは Struct の下位クラスにのみ定義されています) 構造体オブジェクトを生成して返します。
(このメソッドは Struct の下位クラスにのみ定義されています)
構造体オブジェクトを生成して返します。
@param args 構造体の初期値を指定します。メンバの初期値は指定されなければ nil です。
@return 構造体クラスのインスタンス。
@raise ArgumentError 構造体のメンバの数よりも多くの引数を指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
foo = Foo.new(1)
p foo.values # => [1, nil]
//} -
Struct
. new(*args) -> Struct (2.0) -
(このメソッドは Struct の下位クラスにのみ定義されています) 構造体オブジェクトを生成して返します。
(このメソッドは Struct の下位クラスにのみ定義されています)
構造体オブジェクトを生成して返します。
@param args 構造体の初期値を指定します。メンバの初期値は指定されなければ nil です。
@return 構造体クラスのインスタンス。
@raise ArgumentError 構造体のメンバの数よりも多くの引数を指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
foo = Foo.new(1)
p foo.values # => [1, nil]
//}