Class: JekyllOgImage::Configuration::Header
- Inherits:
-
Data
- Object
- Data
- JekyllOgImage::Configuration::Header
- Defined in:
- lib/jekyll_og_image/configuration.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
Returns the value of attribute color.
-
#font_family ⇒ Object
readonly
Returns the value of attribute font_family.
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
-
#suffix ⇒ Object
readonly
Returns the value of attribute suffix.
Instance Method Summary collapse
-
#initialize(font_family: "Helvetica, Bold", color: "#2f313d", prefix: "", suffix: "") ⇒ Header
constructor
A new instance of Header.
Constructor Details
#initialize(font_family: "Helvetica, Bold", color: "#2f313d", prefix: "", suffix: "") ⇒ Header
Returns a new instance of Header.
13 14 15 |
# File 'lib/jekyll_og_image/configuration.rb', line 13 def initialize(font_family: "Helvetica, Bold", color: "#2f313d", prefix: "", suffix: "") super end |
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color
12 13 14 |
# File 'lib/jekyll_og_image/configuration.rb', line 12 def color @color end |
#font_family ⇒ Object (readonly)
Returns the value of attribute font_family
12 13 14 |
# File 'lib/jekyll_og_image/configuration.rb', line 12 def font_family @font_family end |
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix
12 13 14 |
# File 'lib/jekyll_og_image/configuration.rb', line 12 def prefix @prefix end |
#suffix ⇒ Object (readonly)
Returns the value of attribute suffix
12 13 14 |
# File 'lib/jekyll_og_image/configuration.rb', line 12 def suffix @suffix end |