Class: Prawn::Emoji::Index

Inherits:
Object
  • Object
show all
Defined in:
lib/prawn/emoji/index.rb

Instance Method Summary collapse

Instance Method Details

#unicodesObject



4
5
6
# File 'lib/prawn/emoji/index.rb', line 4

def unicodes
  @unicodes ||= YAML.load Emoji.root.join('emoji', 'index.yml').read
end

#unicodes_regexpObject



8
9
10
# File 'lib/prawn/emoji/index.rb', line 8

def unicodes_regexp
  @unicodes_regexp ||= build_unicodes_regexp
end