lib/blather/jid.rb in blather-0.3.4 vs lib/blather/jid.rb in blather-0.4.0

- old
+ new

@@ -81,9 +81,10 @@ # # String representations are compared, see JID#to_s def <=>(o) to_s <=> o.to_s end + alias_method :eql?, :== ## # Test if JID is stripped def stripped? @resource.nil?