るりまサーチ

最速Rubyリファレンスマニュアル検索!
44件ヒット [1-44件を表示] (0.014秒)
トップページ > クエリ:scope=[x]

別のキーワード

  1. rake scope_name
  2. uri scope=
  3. ldap scope=
  4. uri scope
  5. task scope

ライブラリ

クラス

モジュール

キーワード

検索結果

URI::LDAP#scope=(s) (18100.0)

自身の Scope を文字列で設定します。

自身の Scope を文字列で設定します。

@param s 自身の Scope を文字列で設定します。

Rake.application -> Rake::Application (6.0)

現在の Rake アプリケーションを返します。

...@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 => []>},
# @...

Rake.application=(app) (6.0)

現在の Rake アプリケーションをセットします。

...alse>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile=nil,
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks={},
# @terminal_columns=0,
# @top_level_tasks=[],
# @tty_output=true>
//}...

Rake::TaskManager#lookup(task_name, initial_scope = nil) -> Rake::Task | nil (1.0)

与えられたタスク名にマッチするタスクを検索します。

与えられたタスク名にマッチするタスクを検索します。

このメソッドは、ファイルタスクやルールを合成せずにタスクを探します。
特別なスコープ ('^' など) が存在します。スコープが省略された場合は
現在のスコープを使用します。

@param task_name タスク名を指定します。

@param initial_scope 検索するスコープを指定します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app

task :test_rake_app do |task|
task.applicati...