最速Rubyリファレンスマニュアル検索!
すべて(6)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
6件ヒット
[1-6件を表示]
(0.048秒)
トップページ
>
:
-
>
:
variables
>
:source_location
別のキーワード
_builtin local_variables
pp pretty_print_instance_variables
win32ole variables
kernel local_variables
module class_variables
ライブラリ
ビルトイン
(6)
クラス
Binding
(6)
検索結果
先頭1件
Binding
#
source
_
location -> [String
,
Integer]
Binding
#
source
_
location -> [String
,
Integer]
(18213.0)
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
self の Ruby のソースファイル名と行番号を返します。
...
self の Ruby のソースファイル名と行番号を返します。
d:spec/
variables
#pseudo の __FILE__ と __LINE__ も参照してください。
//emlist[例][ruby]{
p binding.
source_location
# => ["test.rb", 1]
//}
...
Binding