Class: Chem::CDX::CDXFontStyle
- Inherits:
-
Object
- Object
- Chem::CDX::CDXFontStyle
- Defined in:
- lib/chem/db/cdx.rb
Overview
fix me
Instance Method Summary collapse
-
#initialize(style) ⇒ CDXFontStyle
constructor
A new instance of CDXFontStyle.
- #to_bin ⇒ Object
Constructor Details
#initialize(style) ⇒ CDXFontStyle
Returns a new instance of CDXFontStyle.
896 897 898 |
# File 'lib/chem/db/cdx.rb', line 896 def initialize style @style = style end |
Instance Method Details
#to_bin ⇒ Object
900 901 902 |
# File 'lib/chem/db/cdx.rb', line 900 def to_bin @style.pack('v4') end |