Class: StaticMatic::Configuration
- Inherits:
-
Object
- Object
- StaticMatic::Configuration
- Defined in:
- lib/staticmatic/configuration.rb
Instance Attribute Summary collapse
-
#preview_server_host ⇒ Object
Returns the value of attribute preview_server_host.
-
#preview_server_port ⇒ Object
Returns the value of attribute preview_server_port.
-
#sass_options ⇒ Object
Returns the value of attribute sass_options.
-
#use_extensions_for_page_links ⇒ Object
Returns the value of attribute use_extensions_for_page_links.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 |
# File 'lib/staticmatic/configuration.rb', line 10 def initialize self.preview_server_port = 3000 self.use_extensions_for_page_links = true self. = {} end |
Instance Attribute Details
#preview_server_host ⇒ Object
Returns the value of attribute preview_server_host.
5 6 7 |
# File 'lib/staticmatic/configuration.rb', line 5 def preview_server_host @preview_server_host end |
#preview_server_port ⇒ Object
Returns the value of attribute preview_server_port.
3 4 5 |
# File 'lib/staticmatic/configuration.rb', line 3 def preview_server_port @preview_server_port end |
#sass_options ⇒ Object
Returns the value of attribute sass_options.
8 9 10 |
# File 'lib/staticmatic/configuration.rb', line 8 def @sass_options end |
#use_extensions_for_page_links ⇒ Object
Returns the value of attribute use_extensions_for_page_links.
7 8 9 |
# File 'lib/staticmatic/configuration.rb', line 7 def use_extensions_for_page_links @use_extensions_for_page_links end |