Class: Fontisan::Ufo::Features
- Inherits:
-
Object
- Object
- Fontisan::Ufo::Features
- Defined in:
- lib/fontisan/ufo/features.rb
Overview
Wrapper around the FEA feature source in features.fea.
The MVP just stores the raw text. A FEA parser/compiler lands in TODO 08 (feature writers).
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text: "") ⇒ Features
constructor
A new instance of Features.
Constructor Details
#initialize(text: "") ⇒ Features
Returns a new instance of Features.
12 13 14 |
# File 'lib/fontisan/ufo/features.rb', line 12 def initialize(text: "") @text = text end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
10 11 12 |
# File 'lib/fontisan/ufo/features.rb', line 10 def text @text end |