Class: Sevk::Markup::FontConfig
- Inherits:
-
Object
- Object
- Sevk::Markup::FontConfig
- Defined in:
- lib/sevk/markup/renderer.rb
Overview
Font configuration
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(id: "", name: "", url: "") ⇒ FontConfig
constructor
A new instance of FontConfig.
Constructor Details
#initialize(id: "", name: "", url: "") ⇒ FontConfig
Returns a new instance of FontConfig.
12 13 14 15 16 |
# File 'lib/sevk/markup/renderer.rb', line 12 def initialize(id: "", name: "", url: "") @id = id @name = name @url = url end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/sevk/markup/renderer.rb', line 10 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/sevk/markup/renderer.rb', line 10 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
10 11 12 |
# File 'lib/sevk/markup/renderer.rb', line 10 def url @url end |