Class: JekyllOgImage::Configuration::Content

Inherits:
Data
  • Object
show all
Defined in:
lib/jekyll_og_image/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#colorObject (readonly)

Returns the value of attribute color

Returns:

  • the current value of color



18
19
20
# File 'lib/jekyll_og_image/configuration.rb', line 18

def color
  @color
end

#font_familyObject (readonly)

Returns the value of attribute font_family

Returns:

  • the current value of font_family



18
19
20
# File 'lib/jekyll_og_image/configuration.rb', line 18

def font_family
  @font_family
end