192件ヒット
[1-100件を表示]
(0.131秒)
別のキーワード
ライブラリ
- rake (156)
-
rake
/ packagetask (36)
クラス
-
Rake
:: Application (36) -
Rake
:: FileList (84) -
Rake
:: InvocationChain (12) -
Rake
:: PackageTask (36)
モジュール
-
Rake
:: TaskManager (24)
キーワード
- ext (12)
- gsub! (12)
-
is
_ a? (12) -
kind
_ of? (12) -
last
_ comment (12) -
last
_ description (12) - name (24)
-
original
_ dir (12) -
package
_ dir (12) -
package
_ dir _ path (12) - pathmap (12)
- sub! (12)
-
to
_ s (24)
検索結果
先頭5件
-
Rake
:: Application # rakefile -> String (21343.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: TaskManager # last _ comment -> String (6231.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......pp2 do |task|
end
//}... -
Rake
:: TaskManager # last _ description -> String (6231.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......pp2 do |task|
end
//}... -
Rake
:: FileList # to _ s -> String (6214.0) -
全ての要素をスペースで連結した文字列を返します。
...全ての要素をスペースで連結した文字列を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.to_s # => "a.c b.c"
end
//}... -
Rake
:: InvocationChain # to _ s -> String (6214.0) -
トップレベルのタスクから自身までの依存関係を文字列として返します。
...の依存関係を文字列として返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.to_s # => "TOP => task_a"
end
//}... -
Rake
:: PackageTask # package _ dir _ path -> String (6214.0) -
パッケージに含むファイルを配置するディレクトリを返します。
...パッケージに含むファイルを配置するディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir_path # => "pkg/sample-1.0.0"
end
//}... -
Rake
:: FileList # ext(newext = & # 39;& # 39;) -> Rake :: FileList (6135.0) -
各要素に String#ext を適用した新しい Rake::FileList を返します。
...に String#ext を適用した新しい Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.r......b")
file_list.ext(".erb") # => ["test1.erb", "test2.erb", "test3.erb"]
end
//}
@see String#ext... -
Rake
:: FileList # pathmap(spec = nil) -> Rake :: FileList (6135.0) -
各要素に String#pathmap を適用した新しい Rake::FileList を返します。
... String#pathmap を適用した新しい Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.pathmap("%n") # => ["test1", "test2", "tes......t3"]
end
//}
@see String#pathmap... -
Rake
:: Application # name -> String (3214.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}...