1706件ヒット
[1-100件を表示]
(0.049秒)
ライブラリ
- ビルトイン (903)
- continuation (48)
- fiddle (120)
- logger (24)
-
minitest
/ unit (16) - monitor (12)
-
net
/ http (12) - open-uri (4)
- openssl (48)
-
rubygems
/ requirement (12) - set (18)
-
syslog
/ logger (12) - tracer (60)
- tsort (93)
-
webrick
/ httpproxy (12) -
webrick
/ httpserver (36) -
webrick
/ httpservlet / prochandler (12)
クラス
- BasicObject (24)
- Continuation (24)
- Exception (8)
-
Fiddle
:: Closure (12) -
Fiddle
:: Closure :: BlockCaller (24) -
Fiddle
:: Function (36) -
Fiddle
:: Handle (24) -
Gem
:: Requirement (12) - Hash (12)
- LocalJumpError (24)
- Logger (12)
-
Logger
:: Formatter (12) - Method (115)
- Module (24)
-
Net
:: HTTP (12) - NoMethodError (9)
- Object (24)
-
OpenSSL
:: SSL :: SSLContext (24) -
OpenSSL
:: X509 :: Store (12) - Proc (99)
- Set (24)
- Symbol (12)
-
Syslog
:: Logger :: Formatter (12) - SystemCallError (60)
- Thread (51)
-
Thread
:: Backtrace :: Location (48) - TracePoint (130)
- Tracer (60)
- UnboundMethod (18)
-
WEBrick
:: HTTPProxyServer (12) -
WEBrick
:: HTTPServer (36) -
WEBrick
:: HTTPServlet :: ProcHandler (12)
モジュール
- Enumerable (48)
- Fiddle (24)
- Kernel (185)
-
MiniTest
:: Assertions (16) -
OpenSSL
:: X509 (12) -
RubyVM
:: AbstractSyntaxTree (10) - TSort (93)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (14)
- === (32)
- >> (14)
- Continuation (12)
-
EVENT
_ SYMBOL (12) - MonitorMixin (12)
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) - OPS (12)
- Proc (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- Rubyの起動 (4)
- STDCALL (12)
-
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (12) - [] (36)
-
_ _ callee _ _ (12) - abort (12)
-
absolute
_ path (12) -
add
_ filter (24) -
add
_ trace _ func (12) - 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
_ respond _ to (1) -
assert
_ same (1) -
assert
_ send (1) -
assert
_ throws (1) -
base
_ label (12) - bind (6)
-
bind
_ call (12) - binding (12)
- callcc (12)
-
callee
_ id (12) - caller (36)
-
caller
_ locations (24) - clone (12)
- curry (22)
-
default
_ proc (12) -
defined
_ class (12) - detect (24)
-
display
_ c _ call (12) -
display
_ c _ call? (12) - divide (24)
-
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - errno (12)
- event (12)
-
exit
_ value (12) - fail (12)
- find (24)
- formatter (12)
- inspect (24)
-
instance
_ eval (24) -
instance
_ method (12) - lambda (18)
- lambda? (12)
-
last
_ error (12) - lineno (12)
- method (12)
-
method
_ id (12) -
mount
_ proc (24) - new (163)
- open (4)
- parameters (7)
-
parse
_ file (10) - path (12)
-
private
_ call? (9) - proc (19)
- profile (6)
- raise (12)
- rdoc (12)
-
rdoc
/ parser / c (12) - reason (12)
-
report
_ on _ exception (18) -
report
_ on _ exception= (9) -
rexml
/ parsers / sax2parser (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
ruby2
_ keywords (18) - self (3)
-
set
_ trace _ func (24) -
singleton
_ method (12) -
strongly
_ connected _ components (12) -
super
_ method (11) - syscall (12)
-
tmp
_ dh _ callback (12) -
to
_ proc (24) -
to
_ s (12) - trace (12)
- tsort (24)
-
tsort
_ each (23) -
verify
_ callback (36) -
win32
_ last _ error (12) - xmlrpc (3)
- yield (12)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (12)
- クラス/メソッドの定義 (12)
- セキュリティモデル (12)
- メソッド呼び出し(super・ブロック付き・yield) (12)
- 制御構造 (12)
- 手続きオブジェクトの挙動の詳細 (12)
- 正規表現 (12)
検索結果
先頭5件
-
Fiddle
:: Closure :: BlockCaller # call(*args) -> object (21201.0) -
wrap しているブロックを呼び出します。
wrap しているブロックを呼び出します。
そのブロックの返り値がこのメソッドの返り値となります。
@param args 引数 -
Fiddle
:: Function # call(*args) -> Integer|DL :: CPtr|nil (18201.0) -
関数を呼び出します。
関数を呼び出します。
Fiddle::Function.new で指定した引数と返り値の型に基いて
Ruby のオブジェクトを適切に C のデータに変換して C の関数を呼び出し、
その返り値を Ruby のオブジェクトに変換して返します。
引数の変換は以下の通りです。
: void* (つまり任意のポインタ型)
nil ならば C の NULL に変換されます
Fiddle::Pointer は保持している C ポインタに変換されます。
文字列であればその先頭ポインタになります。
IO オブジェクトであれば FILE* が渡されます。
整数であればそれがアドレスとみ... -
Logger
:: Formatter # call(severity , time , progname , msg) -> String (18201.0) -
ログ情報をフォーマットして返します。
ログ情報をフォーマットして返します。
@param severity ログレベル。
@param time 時間。Time クラスのオブジェクト。
@param progname プログラム名
@param msg メッセージ。 -
Syslog
:: Logger :: Formatter # call(severity , time , progname , message) -> String (18201.0) -
引数を元にフォーマットした文字列を返します。
引数を元にフォーマットした文字列を返します。
ライブラリ内部で使用します。 -
Proc
# call(*arg) -> () (15225.0) -
手続きオブジェクトを実行してその結果を返します。
...lambda{|n| n < 0} then -1
else 0
end
end
p sign(-4) #=> -1
p sign(0) #=> 0
p sign(7) #=> 1
//}
また、以下のような syntactic sugar もあります。
//emlist[例][ruby]{
fib = lambda{|n|
case n
when 0 then 0
when 1 then 1
else
fib.(n - 2) + fib.(n - 1)
end
}
fib.(10)... -
Method
# call(*args) -> object (15214.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...f に渡される引数。
@see UnboundMethod#bind_call
@see spec/safelevel
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}......@param args self に渡される引数。
@see UnboundMethod#bind_call
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
Method
# call(*args) { . . . } -> object (15214.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...f に渡される引数。
@see UnboundMethod#bind_call
@see spec/safelevel
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}......@param args self に渡される引数。
@see UnboundMethod#bind_call
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
Method
# call(*args) -> object (15208.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...せん。
@param args self に渡される引数。
@see spec/safelevel
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
Method
# call(*args) { . . . } -> object (15208.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...せん。
@param args self に渡される引数。
@see spec/safelevel
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
Continuation
# call(*ret) -> () (15201.0) -
self が記憶した状態を継続します。引数は そのまま Kernel.#callcc の戻り値になります。
...self が記憶した状態を継続します。引数は そのまま
Kernel.#callcc の戻り値になります。
@param ret 継続に復帰した時に返す値を指定します。... -
UnboundMethod
# bind _ call(recv , *args) -> object (6220.0) -
self を recv に bind して args を引数として呼び出します。
...self を recv に bind して args を引数として呼び出します。
self.bind(recv).call(*args) と同じ意味です。
//emlist[][ruby]{
puts Kernel.instance_method(:inspect).bind_call(BasicObject.new) # => #<BasicObject:0x000055c65e8ea7b8>
//}
@see UnboundMethod#bind, Method#call...