Class: Sevk::Markup::FontConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/sevk/markup/renderer.rb

Overview

Font configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

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