Ruby 3.1 リファレンスマニュアル > ライブラリ一覧 > rake/packagetaskライブラリ > Rake::PackageTaskクラス > define
define -> self
タスクを定義します。