Class: Prawn::Rtl::Connector::Logic::CharacterInfo
- Inherits:
-
Object
- Object
- Prawn::Rtl::Connector::Logic::CharacterInfo
- Defined in:
- lib/prawn/rtl/connector/logic.rb
Instance Attribute Summary collapse
-
#common ⇒ Object
Returns the value of attribute common.
-
#formatted ⇒ Object
Returns the value of attribute formatted.
Instance Method Summary collapse
- #connects? ⇒ Boolean
- #diacritic? ⇒ Boolean
-
#initialize(common, isolated, final, initial, medial, connects, diacritic) ⇒ CharacterInfo
constructor
A new instance of CharacterInfo.
Constructor Details
#initialize(common, isolated, final, initial, medial, connects, diacritic) ⇒ CharacterInfo
Returns a new instance of CharacterInfo.
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/prawn/rtl/connector/logic.rb', line 13 def initialize(common, isolated, final, initial, medial, connects, diacritic) @common = common @formatted = { isolated: isolated, final: final, initial: initial, medial: medial, } @connects = connects @diacritic = diacritic end |
Instance Attribute Details
#common ⇒ Object
Returns the value of attribute common.
11 12 13 |
# File 'lib/prawn/rtl/connector/logic.rb', line 11 def common @common end |
#formatted ⇒ Object
Returns the value of attribute formatted.
11 12 13 |
# File 'lib/prawn/rtl/connector/logic.rb', line 11 def formatted @formatted end |
Instance Method Details
#connects? ⇒ Boolean
25 26 27 |
# File 'lib/prawn/rtl/connector/logic.rb', line 25 def connects? @connects end |
#diacritic? ⇒ Boolean
29 30 31 |
# File 'lib/prawn/rtl/connector/logic.rb', line 29 def diacritic? @diacritic end |