るりまサーチ

最速Rubyリファレンスマニュアル検索!
1620件ヒット [1-100件を表示] (0.129秒)
トップページ > クエリ:i[x] > クエリ:call[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Fiddle::Closure::BlockCaller#call(*args) -> object (24101.0)

wrap しているブロックを呼び出します。

wrap しているブロックを呼び出します。

そのブロックの返り値がこのメソッドの返り値となります。

@param args 引数

オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (23006.0)

オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル * Ruby オフィシャルサイト https://www.ruby-lang.org/ja/ * 原著:まつもとゆきひろ * 最新版URL: https://www.ruby-lang.org/ja/documentation/

...ntation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃っています。
標準添付ライブラリのリファレンスは一部未完成です。
それ以外のドキュメントについては、まだまだ書き直しが必要です。

=== 目次

* spec/intro...
...minate
* spec/thread
* spec/safelevel

Ruby の文法:
* spec/lexical
* spec/program
* spec/variables
* spec/literal
* spec/operator
* spec/control
* spec/call
* spec/def

その他:
* spec/m17n
* spec/regexp
* spec/lambda_proc

==== 組み込みライブラリ
* _builtin...
...==== 標準添付ライブラリ
* /

==== C API
* /

==== その他
* news/index
* pack_template
* print_format
* glossary
* symref
* marshal_format
* license
* help...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.3 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...
.../intro
* spec/commands
* spec/rubycmd
* spec/envvars

==== Ruby 言語仕様

Ruby でのオブジェクト:
* spec/object
* spec/class

プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread
* spec/safelevel

Ruby の文法:
* spec/lexical
* spec/program
* spec/varia...
...ec/literal
* spec/operator
* spec/control
* spec/call
* spec/def

その他:
* spec/m17n
* spec/regexp
* spec/lambda_proc

==== 組み込みライブラリ
* _builtin

==== 標準添付ライブラリ
* /

==== C API
* /

==== その他
* news/index
* pack_template
* print_...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.4 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.5 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.6 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.7 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.0 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.1 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.2 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...
...c/intro
* spec/commands
* spec/rubycmd
* spec/envvars

==== Ruby 言語仕様

Ruby でのオブジェクト:
* spec/object
* spec/class

プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread

Ruby の文法:
* spec/lexical
* spec/program
* spec/variables
* spec/lite...
...or
* spec/control
* spec/call
* spec/def

その他:
* spec/m17n
* spec/regexp
* spec/lambda_proc

==== 組み込みライブラリ
* _builtin

==== 標準添付ライブラリ
* /

==== C API
* /

==== その他
* news/index
* pack_template
* print_format
* glossary
* sy...
...ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.3 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/

=== 使用上の注意

組込みクラスのリファレンスはほぼ揃って...

Fiddle::Function#call(*args) -> Integer|DL::CPtr|nil (21207.0)

関数を呼び出します。

...Fiddle::Function.new で指定した引数と返り値の型に基いて
Ruby のオブジェクトを適切に C のデータに変換して C の関数を呼び出し、
その返り値を Ruby のオブジェクトに変換して返します。

引数の変換は以下の通りです。

: void...
...まり任意のポインタ型)
nil ならば C の NULL に変換されます
Fiddle::Pointer は保持している C ポインタに変換されます。
文字列であればその先頭ポインタになります。
I
O オブジェクトであれば FILE* が渡されます。
整数...
...持っているならば、それを呼びだし Fiddle::Pointer に
変換したものを用います。
to_i を持っているならば、それを呼びだし結果の整数を
アドレスと見なします

: (unsigned) char/short/int/long/long long
Ruby の整数を C の整数に...

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)

引数を元にフォーマットした文字列を返します。

引数を元にフォーマットした文字列を返します。

ライブラリ内部で使用します。

絞り込み条件を変える

Continuation#call(*ret) -> () (18101.0)

self が記憶した状態を継続します。引数は そのまま Kernel.#callcc の戻り値になります。

...self が記憶した状態を継続します。引数は そのまま
Kernel.#callcc の戻り値になります。

@param ret 継続に復帰した時に返す値を指定します。...

TracePoint#binding -> Binding | nil (15412.0)

発生したイベントによって生成された Binding オブジェクトを返します。

...Binding オブジェクトを返します。

C で記述されたメソッドは binding を生成しないため、
:c_call および :c_return イベントに対しては nil を返すことに注意してください。

//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call)...
...do |tp|
p tp.binding.local_variables # => [:ret]
end
trace.enable
foo 1
//}...

TracePoint#binding -> Binding (15406.0)

発生したイベントによって生成された Binding オブジェクトを返します。

...発生したイベントによって生成された Binding オブジェクトを返します。


//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call) do |tp|
p tp.binding.local_variables # => [:ret]
end
trace.enable
foo 1
//}...

Kernel.#caller_locations(range) -> [Thread::Backtrace::Location] | nil (12300.0)

現在のフレームを Thread::Backtrace::Location の配列で返します。引 数で指定した値が範囲外の場合は nil を返します。

...現在のフレームを Thread::Backtrace::Location の配列で返します。引
数で指定した値が範囲外の場合は nil を返します。

@param start 開始フレームの位置を数値で指定します。

@param length 取得するフレームの個数を指定します。

@pa...
...

//emlist[例][ruby]{
def test1(start, length)
locations = caller_locations(start, length)
p locations
p locations.map(&:lineno)
p locations.map(&:path)
end

def test2(start, length)
test1(start, length)
end

def test3(start, length)
test2(start, length)
end

call
er_locations # => []...
...1, nil)
# => ["/Users/user/test.rb:9:in `test2'", "/Users/user/test.rb:13:in `test3'", "/Users/user/test.rb:17:in `<main>'"]
# => [9, 13, 17]
# => ["/Users/user/test.rb", "/Users/user/test.rb", "/Users/user/test.rb"]
test3(1, 2)
# => ["/Users/user/test.rb:9:in `test2'", "/Users/user/test.rb:13:in `t...

Kernel.#caller_locations(start = 1, length = nil) -> [Thread::Backtrace::Location] | nil (12300.0)

現在のフレームを Thread::Backtrace::Location の配列で返します。引 数で指定した値が範囲外の場合は nil を返します。

...現在のフレームを Thread::Backtrace::Location の配列で返します。引
数で指定した値が範囲外の場合は nil を返します。

@param start 開始フレームの位置を数値で指定します。

@param length 取得するフレームの個数を指定します。

@pa...
...

//emlist[例][ruby]{
def test1(start, length)
locations = caller_locations(start, length)
p locations
p locations.map(&:lineno)
p locations.map(&:path)
end

def test2(start, length)
test1(start, length)
end

def test3(start, length)
test2(start, length)
end

call
er_locations # => []...
...1, nil)
# => ["/Users/user/test.rb:9:in `test2'", "/Users/user/test.rb:13:in `test3'", "/Users/user/test.rb:17:in `<main>'"]
# => [9, 13, 17]
# => ["/Users/user/test.rb", "/Users/user/test.rb", "/Users/user/test.rb"]
test3(1, 2)
# => ["/Users/user/test.rb:9:in `test2'", "/Users/user/test.rb:13:in `t...

絞り込み条件を変える

void rb_gc_call_finalizer_at_exit(void) (12300.0)

<< 1 2 3 ... > >>