Sha256: 4c158c92a1c3005426efbb7779291d564f6627e6bc2f17a0ced3b66519d787b4

Contents?: true

Size: 365 Bytes

Versions: 6

Compression:

Stored size: 365 Bytes

Contents

# encoding: utf-8

module Punchblock
  module Translator
    class Freeswitch
      module Component
        class FliteOutput < TTSOutput
          private

          def renderer
            :flite
          end

          def document
            @component_node.render_documents.first.value.inner_text.to_s
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
punchblock-2.1.1 lib/punchblock/translator/freeswitch/component/flite_output.rb
punchblock-2.1.0 lib/punchblock/translator/freeswitch/component/flite_output.rb
punchblock-2.0.2 lib/punchblock/translator/freeswitch/component/flite_output.rb
punchblock-2.0.1 lib/punchblock/translator/freeswitch/component/flite_output.rb
punchblock-2.0.0 lib/punchblock/translator/freeswitch/component/flite_output.rb
punchblock-2.0.0.beta2 lib/punchblock/translator/freeswitch/component/flite_output.rb