Method: AWS::SNS::Topic#==

Defined in:
lib/aws/sns/topic.rb

#==(other) ⇒ Boolean Also known as: eql?

Returns true if compared to another AWS::SNS::Topic with the same ARN.

Returns:

  • (Boolean)

    Returns true if compared to another AWS::SNS::Topic with the same ARN.



302
303
304
# File 'lib/aws/sns/topic.rb', line 302

def ==(other)
  other.kind_of?(Topic) and other.arn == arn
end