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

instance method PrettyPrint#indent

indent -> Integer[permalink][rdoc][edit]

現在のインデントの深さを返します。