Class: MyFonts::Designer
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
- #families ⇒ Object
-
#initialize(url, name = nil) ⇒ Designer
constructor
A new instance of Designer.
- #name ⇒ Object
Methods inherited from Model
Constructor Details
#initialize(url, name = nil) ⇒ Designer
Returns a new instance of Designer.
5 6 7 8 |
# File 'lib/myfonts/designer.rb', line 5 def initialize(url, name=nil) @name = name super(url) end |
Instance Method Details
#families ⇒ Object
14 15 16 |
# File 'lib/myfonts/designer.rb', line 14 def families @families ||= get_families end |
#name ⇒ Object
10 11 12 |
# File 'lib/myfonts/designer.rb', line 10 def name @name ||= get_name end |