Class: Dvi::Tfm::Format::CharInfo
- Inherits:
-
Object
- Object
- Dvi::Tfm::Format::CharInfo
- Defined in:
- lib/dvi/tfm/format.rb
Overview
CharInfo is a class for char_info section.
Instance Attribute Summary collapse
-
#depth_index ⇒ Object
readonly
Returns the value of attribute depth_index.
-
#height_index ⇒ Object
readonly
Returns the value of attribute height_index.
-
#italic_index ⇒ Object
readonly
Returns the value of attribute italic_index.
-
#remainder ⇒ Object
readonly
Returns the value of attribute remainder.
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
-
#width_index ⇒ Object
readonly
Returns the value of attribute width_index.
Instance Method Summary collapse
-
#initialize(width_index, height_index, depth_index, italic_index, tag, remainder) ⇒ CharInfo
constructor
A new instance of CharInfo.
Constructor Details
#initialize(width_index, height_index, depth_index, italic_index, tag, remainder) ⇒ CharInfo
Returns a new instance of CharInfo.
9 10 11 12 13 14 15 16 17 |
# File 'lib/dvi/tfm/format.rb', line 9 def initialize(width_index, height_index, depth_index, italic_index, tag, remainder) @width_index = width_index @height_index = height_index @depth_index = depth_index @italic_index = italic_index @tag = tag @remainder = remainder end |
Instance Attribute Details
#depth_index ⇒ Object (readonly)
Returns the value of attribute depth_index.
7 8 9 |
# File 'lib/dvi/tfm/format.rb', line 7 def depth_index @depth_index end |
#height_index ⇒ Object (readonly)
Returns the value of attribute height_index.
7 8 9 |
# File 'lib/dvi/tfm/format.rb', line 7 def height_index @height_index end |
#italic_index ⇒ Object (readonly)
Returns the value of attribute italic_index.
7 8 9 |
# File 'lib/dvi/tfm/format.rb', line 7 def italic_index @italic_index end |
#remainder ⇒ Object (readonly)
Returns the value of attribute remainder.
8 9 10 |
# File 'lib/dvi/tfm/format.rb', line 8 def remainder @remainder end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
8 9 10 |
# File 'lib/dvi/tfm/format.rb', line 8 def tag @tag end |
#width_index ⇒ Object (readonly)
Returns the value of attribute width_index.
7 8 9 |
# File 'lib/dvi/tfm/format.rb', line 7 def width_index @width_index end |