class Discorb::Emoji

Represents a Discord emoji. @abstract

Public Instance Methods

==(other) click to toggle source
# File lib/discorb/emoji.rb, line 13
def ==(other)
  eql?(other)
end
eql?(other) click to toggle source
# File lib/discorb/emoji.rb, line 9
def eql?(other)
  other.is_a?(self.class) && other.to_uri == to_uri
end