Class: JekyllOgImage::Configuration::Header

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, 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

#colorObject (readonly)

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



12
13
14
# File 'lib/jekyll_og_image/configuration.rb', line 12

def color
  @color
end

#font_familyObject (readonly)

Returns the value of attribute font_family

Returns:

  • (Object)

    the current value of font_family



12
13
14
# File 'lib/jekyll_og_image/configuration.rb', line 12

def font_family
  @font_family
end

#prefixObject (readonly)

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



12
13
14
# File 'lib/jekyll_og_image/configuration.rb', line 12

def prefix
  @prefix
end

#suffixObject (readonly)

Returns the value of attribute suffix

Returns:

  • (Object)

    the current value of suffix



12
13
14
# File 'lib/jekyll_og_image/configuration.rb', line 12

def suffix
  @suffix
end