275件ヒット
[1-100件を表示]
(0.112秒)
別のキーワード
種類
- インスタンスメソッド (176)
- 特異メソッド (77)
- ライブラリ (11)
- 文書 (11)
ライブラリ
- rake (209)
-
rake
/ loaders / makefile (11) -
rake
/ packagetask (33)
クラス
-
Rake
:: Application (22) -
Rake
:: DefaultLoader (11) -
Rake
:: FileList (22) -
Rake
:: InvocationChain (44) -
Rake
:: MakefileLoader (11) -
Rake
:: NameSpace (11) -
Rake
:: PackageTask (33) -
Rake
:: TaskArguments (22)
モジュール
- Rake (22)
-
Rake
:: TaskManager (55)
キーワード
- Ruby用語集 (11)
- [] (11)
- append (22)
- application (11)
- application= (11)
- egrep (11)
-
excluded
_ from _ list? (11) -
in
_ namespace (11) - init (11)
- intern (11)
- load (22)
- lookup (11)
- member? (11)
- new (44)
-
package
_ dir= (11) -
rubygems
/ specification (11) -
synthesize
_ file _ task (11) -
with
_ defaults (11)
検索結果
先頭5件
-
Rake
:: Application # name -> String (21219.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}... -
Rake
:: PackageTask # name -> String (18219.0) -
バージョン情報を含まないパッケージの名前を返します。
...バージョン情報を含まないパッケージの名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.name # => "sample"
end
//}... -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (12420.0) -
与えられた名前の名前空間でブロックを評価します。
...ックを評価します。
@param name 名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
namespace :sample do
def hoge
puts "hoge"
end
end
task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hog... -
rubygems
/ specification (12012.0) -
Gem パッケージのメタデータを扱うためのライブラリです。
...ージのメタデータを扱うためのライブラリです。
通常 gemspec ファイルや Rakefile でメタデータを定義します。
例:
spec = Gem::Specification.new do |s|
s.name = 'rfoo'
s.version = '1.0'
s.summary = 'Example gem specification'
...
end... -
Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain (6419.0) -
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
...たタスク名を第二引数の Rake::InvocationChain に追加します。
@param task_name タスク名を指定します。
@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :t......est_rake_app
task :test_rake_app do
chain = Rake::InvocationChain::EMPTY
b = Rake::InvocationChain.append("task_a", chain)
b.to_s # => "TOP => task_a"
end
//}... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (6319.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...名を追加して新しい Rake::InvocationChain を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//emlist[][ruby]{
# Rakefile での記載例とする
task defaul......t: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.append("task_b") # => LL("task_b", "task_a")
end
//}... -
Rake
:: PackageTask # package _ dir=(dirname) (6312.0) -
パッケージに入れるファイルを保存するディレクトリ名をセットします。
...。
@param dirname パッケージに入れるファイルを保存するディレクトリ名を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir # => "pkg"
p......ackage_task.package_dir = "package"
package_task.package_dir # => "package"
end
//}... -
Rake
. application -> Rake :: Application (6254.0) -
現在の Rake アプリケーションを返します。
...。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @......oader:0x31b0b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
#......@scope=LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
# @terminal_columns=0,
# @top_level_tasks=["default"],
# @tty_output=false>
//}... -
Rake
:: Application # init(app _ name = & # 39;rake& # 39;) (6225.0) -
コマンドラインオプションとアプリケーション名を初期化します。
...ンドラインオプションとアプリケーション名を初期化します。
//emlist[例][ruby]{
# Rakefile での記載例とする
task default: :test
task :test
Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//}... -
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (6219.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...ile_name ファイル名を指定します。
//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")
file_list.exclude("test1.rb")
fi......le_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}...