Ruby 3.3 リファレンスマニュアル

instance method Rake::RDocTask#name

name -> StringRuby 1.9.3 から[permalink][rdoc][edit]

タスクの名前を返します。デフォルトは rdoc です。