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.0.0'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
16
17
18
|
# File 'lib/prawn/emoji.rb', line 16
def self.config
@config ||= Config.new(::Unicode::Emoji::REGEX_VALID)
end
|
.extended(object) ⇒ Object
28
29
30
|
# File 'lib/prawn/emoji.rb', line 28
def self.extended(object)
object.extend Drawable
end
|
.regex ⇒ Object
20
21
22
|
# File 'lib/prawn/emoji.rb', line 20
def self.regex
config.regex
end
|
.root ⇒ Object
24
25
26
|
# File 'lib/prawn/emoji.rb', line 24
def self.root
@root ||= Pathname.new File.expand_path('../..', File.dirname(__FILE__))
end
|