lib/ruby_speech/grxml.rb in ruby_speech-0.3.2 vs lib/ruby_speech/grxml.rb in ruby_speech-0.3.3
- old
+ new
@@ -19,7 +19,11 @@
Grammar.new(attributes).tap do |grammar|
block_return = grammar.instance_eval(&block) if block_given?
grammar << block_return if block_return.is_a?(String)
end
end
+
+ def self.import(other)
+ Element.import other
+ end
end # GRXML
end # RubySpeech