Class: Jekyll::WebAwesome::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll/webawesome.rb

Overview

Configuration class for future extensibility

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_iconsObject

Returns the value of attribute callout_icons.



38
39
40
# File 'lib/jekyll/webawesome.rb', line 38

def callout_icons
  @callout_icons
end

#custom_componentsObject

Returns the value of attribute custom_components.



38
39
40
# File 'lib/jekyll/webawesome.rb', line 38

def custom_components
  @custom_components
end

#debug_modeObject

Returns the value of attribute debug_mode.



38
39
40
# File 'lib/jekyll/webawesome.rb', line 38

def debug_mode
  @debug_mode
end

#image_dialogObject

Returns the value of attribute image_dialog.



38
39
40
# File 'lib/jekyll/webawesome.rb', line 38

def image_dialog
  @image_dialog
end

#transform_documentsObject

Returns the value of attribute transform_documents.



38
39
40
# File 'lib/jekyll/webawesome.rb', line 38

def transform_documents
  @transform_documents
end

#transform_pagesObject

Returns the value of attribute transform_pages.



38
39
40
# File 'lib/jekyll/webawesome.rb', line 38

def transform_pages
  @transform_pages
end