371件ヒット
[1-100件を表示]
(0.162秒)
別のキーワード
種類
- インスタンスメソッド (300)
- 特異メソッド (48)
- クラス (12)
- 文書 (11)
クラス
-
Rake
:: Application (108) -
Rake
:: FileTask (24) -
Rake
:: NameSpace (12) - WIN32OLE (12)
-
WIN32OLE
_ VARIANT (12)
モジュール
- Rake (24)
-
Rake
:: TaskManager (156)
キーワード
-
NEWS for Ruby 2
. 2 . 0 (11) -
WIN32OLE
_ VARIANT (12) - [] (12)
-
add
_ loader (12) - application= (12)
- clear (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) -
in
_ namespace (12) - init (12)
- intern (12)
- invoke (12)
-
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - lookup (12)
- name (12)
- needed? (12)
- new (24)
-
original
_ dir (12) - rakefile (12)
-
synthesize
_ file _ task (12) - tasks (12)
-
top
_ level (12) -
top
_ level _ tasks (12) -
tty
_ output= (12)
検索結果
先頭5件
-
Rake
. application -> Rake :: Application (18244.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_descripti......ile", "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=(app) (6143.0) -
現在の Rake アプリケーションをセットします。
...m app Rake::Application のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
app = Rake::Application.new
app.tty_output = true
Rake.application = app
pp Rake.application
end
# =>... -
Rake
:: Application # top _ level (3042.0) -
Rake アプリケーションに与えられたトップレベルのタスク (コマンドラインで指定されたタスク) を実行します。
...たトップレベルのタスク
(コマンドラインで指定されたタスク) を実行します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test1
task :test1
task :test2 do
puts "test2"
end
# rake test2 で実行
Rake.application.top_level
# => "test2"
//}... -
Rake
:: Application # add _ loader(ext , loader) (3030.0) -
与えられた拡張子で終わるファイル名のファイルをロードするためのローダーを 自身に追加します。
...ask default: :test
task :test
makefile =<<-EOS
<< <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
EOS
IO.write("sample.mf", makefile)
Rake.application.add_loader("mf", Rake::MakefileLoader.new)
Rake.application.add_import("sample.mf")
Rake::Task.task_defined?("a") # => false
Rake.application.load_imports... -
Rake
:: Application # init(app _ name = & # 39;rake& # 39;) (3030.0) -
コマンドラインオプションとアプリケーション名を初期化します。
...ンドラインオプションとアプリケーション名を初期化します。
//emlist[例][ruby]{
# Rakefile での記載例とする
task default: :test
task :test
Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//}... -
Rake
:: Application # tty _ output=(tty _ output _ state) (3030.0) -
TTY に対する出力状態を上書きします。
...[ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tty_output? # => false
Rake.application.tty_output = "debug output" # => "debug output"
Rake.application.tty_output? # => "debug output"
end
//}... -
Rake
:: Application # name -> String (3018.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}... -
Rake
:: Application # options -> OpenStruct (3018.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
...ケーションのオプションを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false... -
Rake
:: Application # original _ dir -> String (3018.0) -
rake コマンドを実行したディレクトリを返します。
...rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}...