Class: Jekyll::WebAwesome::Configuration
- Inherits:
-
Object
- Object
- Jekyll::WebAwesome::Configuration
- Defined in:
- lib/jekyll/webawesome.rb
Overview
Configuration class for future extensibility
Instance Attribute Summary collapse
-
#callout_icons ⇒ Object
Returns the value of attribute callout_icons.
-
#custom_components ⇒ Object
Returns the value of attribute custom_components.
-
#debug_mode ⇒ Object
Returns the value of attribute debug_mode.
-
#image_dialog ⇒ Object
Returns the value of attribute image_dialog.
-
#transform_documents ⇒ Object
Returns the value of attribute transform_documents.
-
#transform_pages ⇒ Object
Returns the value of attribute transform_pages.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
40 41 42 43 44 45 46 47 |
# File 'lib/jekyll/webawesome.rb', line 40 def initialize @debug_mode = false @callout_icons = default_callout_icons @custom_components = {} @transform_pages = true @transform_documents = true @image_dialog = false # Opt-in by default for safety, or can be a hash with options end |
Instance Attribute Details
#callout_icons ⇒ Object
Returns the value of attribute callout_icons.
38 39 40 |
# File 'lib/jekyll/webawesome.rb', line 38 def callout_icons @callout_icons end |
#custom_components ⇒ Object
Returns the value of attribute custom_components.
38 39 40 |
# File 'lib/jekyll/webawesome.rb', line 38 def custom_components @custom_components end |
#debug_mode ⇒ Object
Returns the value of attribute debug_mode.
38 39 40 |
# File 'lib/jekyll/webawesome.rb', line 38 def debug_mode @debug_mode end |
#image_dialog ⇒ Object
Returns the value of attribute image_dialog.
38 39 40 |
# File 'lib/jekyll/webawesome.rb', line 38 def image_dialog @image_dialog end |
#transform_documents ⇒ Object
Returns the value of attribute transform_documents.
38 39 40 |
# File 'lib/jekyll/webawesome.rb', line 38 def transform_documents @transform_documents end |
#transform_pages ⇒ Object
Returns the value of attribute transform_pages.
38 39 40 |
# File 'lib/jekyll/webawesome.rb', line 38 def transform_pages @transform_pages end |