lib/ruby_speech/grxml/element.rb in ruby_speech-0.4.0 vs lib/ruby_speech/grxml/element.rb in ruby_speech-0.5.0
- old
+ new
@@ -16,8 +16,12 @@
end
alias_method :nokogiri_children, :children
include GenericElement
+
+ def regexp_content # :nodoc:
+ children.map(&:regexp_content).join
+ end
end # Element
end # GRXML
end # RubySpeech