るりまサーチ

最速Rubyリファレンスマニュアル検索!
192件ヒット [1-100件を表示] (0.131秒)

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 > >>

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

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

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

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

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

Rake::TaskManager#last_comment -> String (6231.0)

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

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

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

t
ask default: :test_rake_app1

desc "test1"
t
ask :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end

desc "test2"
t
ask :test_rake_a...
...pp2 do |task|
end
//}...

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

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

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

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

t
ask default: :test_rake_app1

desc "test1"
t
ask :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end

desc "test2"
t
ask :test_rake_a...
...pp2 do |task|
end
//}...

Rake::FileList#to_s -> String (6214.0)

全ての要素をスペースで連結した文字列を返します。

...全ての要素をスペースで連結した文字列を返します。

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

t
ask default: :test_rake_app
t
ask :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 での記載例とする

t
ask default: :test_rake_app
t
ask :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")

t
ask default: :test_rake_app
t
ask :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 での記載例とする

t
ask default: :test_rake_app
t
ask :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 での記載例とする

t
ask default: :test_rake_app
t
ask :test_rake_app do
Rake.application.name # => "rake"
end
//}...
<< 1 2 > >>