Sha256: c51bad32a3033a8fa7649778fd2874b88e4f9516730c1bccf7acd3cdd740089c

Contents?: true

Size: 472 Bytes

Versions: 18

Compression:

Stored size: 472 Bytes

Contents

require 'ruby_speech/generic_element'

module RubySpeech
  module GRXML
    class Element
      def self.namespace
        GRXML_NAMESPACE
      end

      def self.root_element
        Grammar
      end

      def self.module
        GRXML
      end

      include GenericElement

      def to_doc
        document
      end

      def regexp_content # :nodoc:
        "(#{children.map(&:regexp_content).join})"
      end
    end # Element
  end # GRXML
end # RubySpeech

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ruby_speech-3.0.1-java lib/ruby_speech/grxml/element.rb
ruby_speech-3.0.1 lib/ruby_speech/grxml/element.rb
ruby_speech-3.0.0-java lib/ruby_speech/grxml/element.rb
ruby_speech-3.0.0 lib/ruby_speech/grxml/element.rb
ruby_speech-2.4.0-java lib/ruby_speech/grxml/element.rb
ruby_speech-2.4.0 lib/ruby_speech/grxml/element.rb
ruby_speech-2.3.2-java lib/ruby_speech/grxml/element.rb
ruby_speech-2.3.2 lib/ruby_speech/grxml/element.rb
ruby_speech-2.3.1-java lib/ruby_speech/grxml/element.rb
ruby_speech-2.3.1 lib/ruby_speech/grxml/element.rb
ruby_speech-2.3.0-java lib/ruby_speech/grxml/element.rb
ruby_speech-2.3.0 lib/ruby_speech/grxml/element.rb
ruby_speech-2.2.2-java lib/ruby_speech/grxml/element.rb
ruby_speech-2.2.2 lib/ruby_speech/grxml/element.rb
ruby_speech-2.2.1-java lib/ruby_speech/grxml/element.rb
ruby_speech-2.2.1 lib/ruby_speech/grxml/element.rb
ruby_speech-2.2.0-java lib/ruby_speech/grxml/element.rb
ruby_speech-2.2.0 lib/ruby_speech/grxml/element.rb