Class: Gitdocs::Configuration

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

Defined Under Namespace

Classes: Config

Class Method Summary collapse

Class Method Details

.start_web_frontendBoolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/gitdocs/configuration.rb', line 20

def self.start_web_frontend
  Config.global.start_web_frontend
end

.update(new_config) ⇒ Object

Parameters:

  • new_config (Hash)


30
31
32
# File 'lib/gitdocs/configuration.rb', line 30

def self.update(new_config)
  Config.global.update_attributes(new_config)
end

.web_frontend_portInteger

Returns:

  • (Integer)


25
26
27
# File 'lib/gitdocs/configuration.rb', line 25

def self.web_frontend_port
  Config.global.web_frontend_port
end