Ruby 2.3.0 リファレンスマニュアル > ライブラリ一覧 > rexml/parsers/pullparserライブラリ > REXML::Parsers::PullEventクラス > doctype?

instance method REXML::Parsers::PullEvent#doctype?

doctype? -> bool[permalink][rdoc]

DTD 開始なら真を返します。