class Kramdown::Utils::Entities::Entity
Represents an entity that has a code_point
and name
.
Public Instance Methods
char()
click to toggle source
Return the UTF8 representation of the entity.
# File lib/kramdown/utils/entities.rb 20 def char 21 [code_point].pack('U*') rescue nil 22 end