72件ヒット
[1-72件を表示]
(0.084秒)
ライブラリ
- rake (60)
-
rake
/ loaders / makefile (12)
クラス
-
Rake
:: MakefileLoader (12) -
Rake
:: Task (36)
モジュール
-
Rake
:: TaskManager (24)
キーワード
- comment= (12)
-
full
_ comment (12) -
last
_ comment (12) -
last
_ description (12) - load (12)
検索結果
先頭5件
-
Rake
:: Task # comment -> String (29102.0) -
自身の短いコメントを返します。
自身の短いコメントを返します。 -
Rake
:: Task # comment=(comment) (17209.0) -
自身のコメントをセットします。
...自身のコメントをセットします。
与えられた文字列が 50 文字を越える場合や複数行である場合は文字列を切り詰めます。
@param comment コメントをあらわす文字列を指定します。... -
Rake
:: TaskManager # last _ comment -> String (17120.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_a... -
Rake
:: Task # full _ comment -> String (17102.0) -
自身のコメントを全て返します。
自身のコメントを全て返します。 -
Rake
:: TaskManager # last _ description -> String (14020.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_a... -
Rake
:: MakefileLoader # load(filename) (3049.0) -
与えられた Makefile をロードします。
...指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require "rake/loaders/makefile"
task default: :test_rake_app
open "sample.mf", "w" do |io|
io << <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
b: b1 b2 b3 \
b4 b5 b6\
# Mid: Comment
b7
a : a5 a6 a7
c: c1
d: d1 d2 \
e f : e1......f1
g\ 0: g1 g\ 2 g\ 3 g4
SAMPLE_MF
end
task :test_rake_app do |task|
loader = Rake::MakefileLoader.new
loader.load("sample.mf")
p Rake::Task.task_defined?("a") # => true
p Rake::Task.tasks[0] # => <Rake::FileTask a => [a1, a2, a3, a4, a5, a6, a7]>
end
//}...