22件ヒット
[1-22件を表示]
(0.186秒)
ライブラリ
- ビルトイン (22)
キーワード
- parameters (11)
-
source
_ location (11)
検索結果
-
UnboundMethod
# parameters -> [object] (8007.0) -
UnboundMethod オブジェクトの引数の情報を返します。
...
UnboundMethod オブジェクトの引数の情報を返します。
詳しくは Method#parameters を参照してください。
@see Proc#parameters, Method#parameters... -
UnboundMethod
# source _ location -> [String , Integer] | nil (8007.0) -
ソースコードのファイル名と行番号を配列で返します。
...nil を返します。
//emlist[例][ruby]{
require 'time'
Time.instance_method(:zone).source_location # => nil
Time.instance_method(:httpdate).source_location # => ["/Users/user/.rbenv/versions/2.4.3/lib/ruby/2.4.0/time.rb", 654]
//}
@see Proc#source_location, Method#source_location...