adhearsion / ruby_speech

A ruby library for TTS & ASR document preparation
MIT License
101 stars 41 forks source link

Drawn documents should retain object wrapper #22

Closed bklang closed 10 years ago

bklang commented 10 years ago
doc = RubySpeech::NLSML.draw do
  # stuff
end

doc.class # => Nokogiri::XML::Document

This makes it difficult to consume in code that expects a RubySpeech::NLSML object. I haven't tested, but the same should be true for GRXML and SSML.