Ruby 2.1.0 リファレンスマニュアル > ライブラリ一覧 > etcライブラリ > Etc::Passwdクラス > shell
shell -> String
このユーザのログインシェルを返します。