Class: PDF::Reader::GlyphHash::ReturnData
- Inherits:
-
Object
- Object
- PDF::Reader::GlyphHash::ReturnData
- Defined in:
- lib/pdf/reader/glyph_hash.rb
Overview
An internal class for returning multiple pieces of data and keep sorbet happy
Instance Attribute Summary collapse
- #by_codepoint ⇒ Object readonly
- #by_name ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(by_name, by_codepoint) ⇒ ReturnData
constructor
A new instance of ReturnData.
Constructor Details
#initialize(by_name, by_codepoint) ⇒ ReturnData
Returns a new instance of ReturnData.
47 48 49 50 |
# File 'lib/pdf/reader/glyph_hash.rb', line 47 def initialize(by_name, by_codepoint) @by_name = by_name @by_codepoint = by_codepoint end |
Instance Attribute Details
#by_codepoint ⇒ Object (readonly)
44 45 46 |
# File 'lib/pdf/reader/glyph_hash.rb', line 44 def by_codepoint @by_codepoint end |
#by_name ⇒ Object (readonly)
41 42 43 |
# File 'lib/pdf/reader/glyph_hash.rb', line 41 def by_name @by_name end |