lib/blather/xmpp_node.rb in blather-0.5.3 vs lib/blather/xmpp_node.rb in blather-0.5.4
- old
+ new
@@ -7,10 +7,10 @@
BASE_NAMES = %w[presence message iq].freeze
# @private
@@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