Class: Prawn::Emoji::Index
- Inherits:
-
Object
- Object
- Prawn::Emoji::Index
- Defined in:
- lib/prawn/emoji/index.rb
Instance Method Summary collapse
Instance Method Details
#unicodes ⇒ Object
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_regexp ⇒ Object
8 9 10 |
# File 'lib/prawn/emoji/index.rb', line 8 def unicodes_regexp @unicodes_regexp ||= build_unicodes_regexp end |