Class: Fontisan::Ufo::ImageSet
- Inherits:
-
Object
- Object
- Fontisan::Ufo::ImageSet
- Defined in:
- lib/fontisan/ufo/image_set.rb
Overview
Background images from images/<layer>/.... MVP stores nothing;
a real implementation lands with TODO 02 (glyph model + images).
Instance Attribute Summary collapse
-
#images ⇒ Object
readonly
Returns the value of attribute images.
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#initialize ⇒ ImageSet
constructor
A new instance of ImageSet.
Constructor Details
#initialize ⇒ ImageSet
Returns a new instance of ImageSet.
10 11 12 |
# File 'lib/fontisan/ufo/image_set.rb', line 10 def initialize @images = {} end |
Instance Attribute Details
#images ⇒ Object (readonly)
Returns the value of attribute images.
8 9 10 |
# File 'lib/fontisan/ufo/image_set.rb', line 8 def images @images end |
Instance Method Details
#empty? ⇒ Boolean
14 15 16 |
# File 'lib/fontisan/ufo/image_set.rb', line 14 def empty? @images.empty? end |