lib/ruby_speech/ssml/element.rb in ruby_speech-0.2.2 vs lib/ruby_speech/ssml/element.rb in ruby_speech-0.3.0

- old
+ new

@@ -1,12 +1,12 @@ -require 'active_support/core_ext/class/inheritable_attributes' +require 'active_support/core_ext/class/attribute' module RubySpeech module SSML class Element < Niceogiri::XML::Node @@registrations = {} - class_inheritable_accessor :registered_ns, :registered_name + class_attribute :registered_ns, :registered_name # Register a new stanza class to a name and/or namespace # # This registers a namespace that is used when looking # up the class name of the object to instantiate when a new