Module: RubySpeech::XML::Language

Included in:
GRXML::Grammar, GRXML::Item, GRXML::OneOf, GRXML::Rule, GRXML::Token, SSML::Desc, SSML::P, SSML::S, SSML::Speak, SSML::Voice
Defined in:
lib/ruby_speech/xml/language.rb

Instance Method Summary collapse

Instance Method Details

#languageObject


4
5
6
# File 'lib/ruby_speech/xml/language.rb', line 4

def language
  self['xml:lang']
end

#language=(l) ⇒ Object


8
9
10
# File 'lib/ruby_speech/xml/language.rb', line 8

def language=(l)
  self['xml:lang'] = l
end