Class: JekyllOgImage::Configuration::Content
- Inherits:
-
Data
- Object
- Data
- JekyllOgImage::Configuration::Content
- 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.
Instance Method Summary collapse
-
#initialize(font_family: "Helvetica, Regular", color: "#535358") ⇒ Content
constructor
A new instance of Content.
Constructor Details
#initialize(font_family: "Helvetica, Regular", color: "#535358") ⇒ Content
Returns a new instance of Content.
19 20 21 |
# File 'lib/jekyll_og_image/configuration.rb', line 19 def initialize(font_family: "Helvetica, Regular", color: "#535358") super end |
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color
18 19 20 |
# File 'lib/jekyll_og_image/configuration.rb', line 18 def color @color end |
#font_family ⇒ Object (readonly)
Returns the value of attribute font_family
18 19 20 |
# File 'lib/jekyll_og_image/configuration.rb', line 18 def font_family @font_family end |