るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.027秒)
トップページ > バージョン:2.6.0[x] > クエリ:String[x] > クエリ:on[x] > ライブラリ:rake[x]

別のキーワード

  1. string []=
  2. string []
  3. string slice
  4. string slice!
  5. string gsub

検索結果

Rake::RDocTask#option_string -> String (36910.0)

rdoc コマンドに渡すオプションを文字列として返します。

rdoc コマンドに渡すオプションを文字列として返します。

Rake::Task#investigation -> String (18610.0)

自身の詳しい内部状態を文字列化して返します。

自身の詳しい内部状態を文字列化して返します。

このメソッドはデバッグに便利です。

Rake::PackageTask#version -> String (18607.0)

作成するパッケージのバージョンを表す文字列を返します。

作成するパッケージのバージョンを表す文字列を返します。

Rake::TestTask#options -> String (18607.0)

テストスイートに渡すパラメータを返します。

テストスイートに渡すパラメータを返します。

コマンドラインで "TESTOPTS=options" が指定されると、この値を上書きします。
デフォルトは何も指定されていません。

Module#rake_extension(method) { ... } -> () (18325.0)

与えられたブロック内で既に存在するメソッドを再定義しようとした場合に 警告を表示します。この場合、ブロックは評価されません。

...た場合に
警告を表示します。この場合、ブロックは評価されません。

@param method ブロック内で再定義する予定のメソッド名を指定します。

例:
class String
rake
_extension("xyz") do
def xyz
...
end
end
end...

絞り込み条件を変える

Rake::InvocationChain::EmptyInvocationChain#to_s -> String (18310.0)

'TOP' という文字列を返します。

'TOP' という文字列を返します。

Rake::TaskManager#last_description -> String (9613.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...
Rake
file 内の最新の詳細説明を追跡するためのメソッドです。

//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::Application#name -> String (9310.0)

アプリケーションの名前を返します。通常は 'rake' という名前を返します。

...アプリケーションの名前を返します。通常は 'rake' という名前を返します。

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

task default: :test_rake_app
task :test_rake_app do
Rake
.application.name # => "rake"
end
//}...

Rake::Application#original_dir -> String (9310.0)

rake コマンドを実行したディレクトリを返します。

...
rake
コマンドを実行したディレクトリを返します。

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

task default: :test_rake_app
task :test_rake_app do
Rake
.application.original_dir # => "/path/to/dir"
end
//}...

Rake::Application#rakefile -> String (9310.0)

実際に使用されている Rakefile の名前を返します。

...実際に使用されている Rakefile の名前を返します。

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

task default: :test_rake_app
task :test_rake_app do
Rake
.application.rakefile # => "Rakefile"
end
//}...

絞り込み条件を変える

Rake::InvocationChain#to_s -> String (9310.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
//...

Kernel#desc(description) -> String (610.0)

直後の Rake タスクの説明を登録します。

...直後の Rake タスクの説明を登録します。

@param description 直後のタスクの説明を指定します。

例:
desc "Run the Unit Tests"
task :test => [:build] do
runtests
end...