Class: Fontisan::Stitcher::CollectionResult
- Inherits:
-
Struct
- Object
- Struct
- Fontisan::Stitcher::CollectionResult
- Defined in:
- lib/fontisan/stitcher/collection_result.rb
Overview
Return value of #write_collection. Carries the output path, total bytes, and one SubfontStats per declared subfont.
Instance Attribute Summary collapse
-
#bytes ⇒ Object
Returns the value of attribute bytes.
-
#path ⇒ Object
Returns the value of attribute path.
-
#subfonts ⇒ Object
Returns the value of attribute subfonts.
Instance Method Summary collapse
Instance Attribute Details
#bytes ⇒ Object
Returns the value of attribute bytes
12 13 14 |
# File 'lib/fontisan/stitcher/collection_result.rb', line 12 def bytes @bytes end |
#path ⇒ Object
Returns the value of attribute path
12 13 14 |
# File 'lib/fontisan/stitcher/collection_result.rb', line 12 def path @path end |
#subfonts ⇒ Object
Returns the value of attribute subfonts
12 13 14 |
# File 'lib/fontisan/stitcher/collection_result.rb', line 12 def subfonts @subfonts end |
Instance Method Details
#face_count ⇒ Object
13 14 15 |
# File 'lib/fontisan/stitcher/collection_result.rb', line 13 def face_count subfonts.size end |