36件ヒット
[1-36件を表示]
(0.119秒)
別のキーワード
ライブラリ
- ビルトイン (12)
- rake (12)
-
rdoc
/ context (12)
クラス
- Method (12)
-
RDoc
:: Context (12)
モジュール
- Kernel (12)
キーワード
-
defined
_ in? (12) - parameters (12)
検索結果
先頭3件
-
Kernel
# file(*args) { . . . } -> Rake :: FileTask (18214.0) -
ファイルタスクを定義します。
...ル名を指定します。
例:
file "config.cfg" => ["config.template"] do
open("config.cfg", "w") do |outfile|
open("config.template") do |infile|
while line = infile.gets
outfile.puts line
end
end
end
end
@see Rake::Task.define_task... -
RDoc
:: Context # defined _ in?(file) (6218.0) -
Return true if at least part of this thing was defined in file
...Return true if at least part of this thing was defined in file... -
Method
# parameters -> [object] (13.0) -
Method オブジェクトの引数の情報を返します。
...ク引数
//emlist[例][ruby]{
m = Class.new{define_method(:m){|x, y=42, *other, k_x:, k_y: 42, **k_other, &b|}}.instance_method(:m)
m.parameters #=> x], [:opt, :y], [:rest, :other], [:keyreq, :k_x], [:key, :k_y], [:keyrest, :k_other], [:block, :b
File.method(:symlink).parameters #=> req
//}
@see...