Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library yaml > class Object > to_yaml_style
to_yaml_style -> nil
nilを返します。
require 'yaml' p to_yaml_style #=> nil a = [] p a.to_yaml_style #=> nil