Class: MyFonts::Family
- Includes:
- Previewable
- Defined in:
- lib/myfonts/family.rb
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
- #description ⇒ Object
- #design_dates ⇒ Object
- #designers ⇒ Object
- #faces ⇒ Object
- #foundry ⇒ Object
- #images ⇒ Object
-
#initialize(url, name = nil) ⇒ Family
constructor
A new instance of Family.
- #name ⇒ Object
Methods included from Previewable
Methods inherited from Model
Constructor Details
#initialize(url, name = nil) ⇒ Family
Returns a new instance of Family.
8 9 10 11 |
# File 'lib/myfonts/family.rb', line 8 def initialize(url, name=nil) @name = name super(url) end |
Instance Method Details
#description ⇒ Object
33 34 35 |
# File 'lib/myfonts/family.rb', line 33 def description @description ||= get_description end |
#design_dates ⇒ Object
29 30 31 |
# File 'lib/myfonts/family.rb', line 29 def design_dates @design_dates ||= get_design_dates end |
#designers ⇒ Object
25 26 27 |
# File 'lib/myfonts/family.rb', line 25 def designers @designers ||= get_designers end |
#faces ⇒ Object
21 22 23 |
# File 'lib/myfonts/family.rb', line 21 def faces @faces ||= get_faces end |
#foundry ⇒ Object
17 18 19 |
# File 'lib/myfonts/family.rb', line 17 def foundry @foundry ||= get_foundry end |
#images ⇒ Object
37 38 39 |
# File 'lib/myfonts/family.rb', line 37 def images @images ||= get_images end |
#name ⇒ Object
13 14 15 |
# File 'lib/myfonts/family.rb', line 13 def name @name ||= get_name end |