Ruby 2.2.0 リファレンスマニュアル > ライブラリ一覧 > irb/contextライブラリ > IRB::Contextクラス > auto_indent_mode

instance method IRB::Context#auto_indent_mode

auto_indent_mode -> bool[permalink][rdoc]

入力が次の行に継続した時に自動で字下げを行うかどうかを返します。

デフォルト値は false です。

[RETURN]
自動で字下げを行う場合は true を返します。行わない場合は false を返します。

[SEE_ALSO] IRB::Context#auto_indent_mode=