Sha256: 90c78e6b4aff3994bef8a513136897d6a1f0427e30300bcca89e6869a5dd8e98
Contents?: true
Size: 415 Bytes
Versions: 8
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true require 'yaml' module Prawn module Emoji class Index attr_reader :codepoints def initialize @codepoints = load_emoji_codepoints end def include?(codepoint) codepoints.include?(codepoint) end private def load_emoji_codepoints YAML.load_file(Emoji.root.join('emoji', 'index.yml')) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems