lib/tanuki_emoji/character.rb in tanuki_emoji-0.12.0 vs lib/tanuki_emoji/character.rb in tanuki_emoji-0.13.0
- old
+ new
@@ -141,10 +141,12 @@
def to_s
codepoints
end
def inspect
- "#<#{self.class.name}: #{codepoints} (#{hex}) #{alpha_code} aliases: #{aliases}>"
+ # rubocop:disable Layout/LineLength
+ %(#<#{self.class.name}: #{codepoints} (#{hex}), alpha_code: "#{alpha_code}", aliases: #{aliases}, name: "#{name}", description: "#{description}">)
+ # rubocop:enable Layout/LineLength
end
def ==(other)
name == other.name &&
codepoints == other.codepoints &&