るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.025秒)
トップページ > バージョン:2.7.0[x] > クエリ:File[x] > クエリ:include[x] > クエリ:package_files[x]

別のキーワード

  1. _builtin include?
  2. socket mcast_include
  3. dbm include?
  4. sdbm include?
  5. set include?

ライブラリ

クラス

検索結果

Rake::PackageTask#package_files -> Rake::FileList (72976.0)

パッケージに含むファイルリストを返します。

パッケージに含むファイルリストを返します。

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

IO.write("test1.rb", "test")
IO.write("test2.rb", "test")

Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_files # => []
package_task.package_files.include("*.rb")
package_...