Method: RubySpeech::SSML::Prosody#duration
- Defined in:
- lib/ruby_speech/ssml/prosody.rb
#duration ⇒ Integer
A value in seconds for the desired time to take to read the element contents.
136 137 138 139 |
# File 'lib/ruby_speech/ssml/prosody.rb', line 136 def duration value = get_time_attribute :duration value.round if value end |