Class: JekyllOgImage::Configuration::Metadata
- Inherits:
-
Data
- Object
- Data
- JekyllOgImage::Configuration::Metadata
- Defined in:
- lib/jekyll_og_image/configuration.rb
Instance Attribute Summary collapse
-
#date_format ⇒ Object
readonly
Returns the value of attribute date_format.
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
-
#separator ⇒ Object
readonly
Returns the value of attribute separator.
Instance Method Summary collapse
-
#initialize(fields: [ "date", "tags" ], separator: " • ", date_format: "%B %d, %Y") ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize(fields: [ "date", "tags" ], separator: " • ", date_format: "%B %d, %Y") ⇒ Metadata
Returns a new instance of Metadata.
38 39 40 |
# File 'lib/jekyll_og_image/configuration.rb', line 38 def initialize(fields: [ "date", "tags" ], separator: " • ", date_format: "%B %d, %Y") super end |
Instance Attribute Details
#date_format ⇒ Object (readonly)
Returns the value of attribute date_format
37 38 39 |
# File 'lib/jekyll_og_image/configuration.rb', line 37 def date_format @date_format end |
#fields ⇒ Object (readonly)
Returns the value of attribute fields
37 38 39 |
# File 'lib/jekyll_og_image/configuration.rb', line 37 def fields @fields end |
#separator ⇒ Object (readonly)
Returns the value of attribute separator
37 38 39 |
# File 'lib/jekyll_og_image/configuration.rb', line 37 def separator @separator end |