Ruby 1.8.7 リファレンスマニュアル
>
ライブラリ一覧
>
rexmlライブラリ
>
REXML::Sourceクラス
> consume
instance method REXML::Source#consume
consume(pattern)