6件ヒット
[1-6件を表示]
(0.012秒)
クラス
-
Rake
:: MakefileLoader (1) -
Rake
:: Task (3)
モジュール
キーワード
- comment= (1)
-
full
_ comment (1) -
last
_ comment (1) -
last
_ description (1) - load (1)
検索結果
先頭5件
-
Rake
:: Task # comment -> String (54313.0) -
自身の短いコメントを返します。
自身の短いコメントを返します。 -
Rake
:: Task # comment=(comment) (18634.0) -
自身のコメントをセットします。
自身のコメントをセットします。
与えられた文字列が 50 文字を越える場合や複数行である場合は文字列を切り詰めます。
@param comment コメントをあらわす文字列を指定します。 -
Rake
:: Task # full _ comment -> String (18313.0) -
自身のコメントを全て返します。
自身のコメントを全て返します。 -
Rake
:: TaskManager # last _ comment -> String (18313.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
:: TaskManager # last _ description -> String (9013.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) (25.0) -
与えられた Makefile をロードします。
...します。
@param filename 読み込む 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......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
//}...