Module: Prawn::Emoji
- Defined in:
- lib/prawn/emoji.rb,
lib/prawn/emoji/char.rb,
lib/prawn/emoji/text.rb,
lib/prawn/emoji/image.rb,
lib/prawn/emoji/index.rb,
lib/prawn/emoji/drawer.rb,
lib/prawn/emoji/version.rb,
lib/prawn/emoji/drawable.rb
Defined Under Namespace
Modules: Drawable
Classes: Char, Config, Drawer, Image, Index, Text
Constant Summary
collapse
- VERSION =
'4.2.0'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
18
19
20
|
# File 'lib/prawn/emoji.rb', line 18
def self.config
@config ||= Config.new(regex: ::Unicode::Emoji::REGEX_VALID)
end
|
.extended(object) ⇒ Object
30
31
32
|
# File 'lib/prawn/emoji.rb', line 30
def self.extended(object)
object.extend Drawable
end
|
.regex ⇒ Object
22
23
24
|
# File 'lib/prawn/emoji.rb', line 22
def self.regex
config.regex
end
|
.root ⇒ Object
26
27
28
|
# File 'lib/prawn/emoji.rb', line 26
def self.root
@root ||= Pathname.new File.expand_path('../..', File.dirname(__FILE__))
end
|