lib/ruby_speech/ssml/sub.rb in ruby_speech-1.0.0 vs lib/ruby_speech/ssml/sub.rb in ruby_speech-1.0.1
- old
+ new
@@ -24,10 +24,10 @@
##
# @param [String] other the string to be spoken instead of the enclosed string
#
def alias=(other)
- write_attr :alias, other
+ self[:alias] = other
end
def <<(arg)
raise InvalidChildError, "A Sub can only accept Strings as children" unless VALID_CHILD_TYPES.include? arg.class
super