るりまサーチ

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

別のキーワード

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

モジュール

キーワード

検索結果

<< 1 2 > >>

Rake::Application#rakefile -> String (30451.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_description -> String (12439.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::PackageTask#package_dir_path -> String (12321.0)

パッケージに含むファイルを配置するディレクトリを返します。

...パッケージに含むファイルを配置するディレクトリを返します。

//emlist[][ruby]{
# Rakefile での記載例とする
r
equire 'rake/packagetask'

Rake
::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir_path # => "pkg/sample-1.0.0"
end
//}...

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

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

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

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

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

Rake::TaskManager#last_comment -> String (9339.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 (9322.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 (9322.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 -> String (9321.0)

パッケージに入れるファイルを保存するディレクトリ名を返します。

...パッケージに入れるファイルを保存するディレクトリ名を返します。

//emlist[][ruby]{
# Rakefile での記載例とする
r
equire 'rake/packagetask'

Rake
::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_dir # => "pkg"
end
//}...

Rake::FileList#ext(newext = &#39;&#39;) -> Rake::FileList (9243.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.rb")...
...file_list.ext(".erb") # => ["test1.erb", "test2.erb", "test3.erb"]
end
//}

@see String#ext...
<< 1 2 > >>