Class: StaticMatic::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/staticmatic/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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.sass_options = {}
end

Instance Attribute Details

#preview_server_hostObject

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_portObject

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_optionsObject

Returns the value of attribute sass_options.



8
9
10
# File 'lib/staticmatic/configuration.rb', line 8

def sass_options
  @sass_options
end

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