Class: Gitdocs::Configuration
- Inherits:
-
Object
- Object
- Gitdocs::Configuration
- Defined in:
- lib/gitdocs/configuration.rb
Defined Under Namespace
Classes: Config
Class Method Summary collapse
Class Method Details
.start_web_frontend ⇒ 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
30 31 32 |
# File 'lib/gitdocs/configuration.rb', line 30 def self.update(new_config) Config.global.update_attributes(new_config) end |
.web_frontend_port ⇒ Integer
25 26 27 |
# File 'lib/gitdocs/configuration.rb', line 25 def self.web_frontend_port Config.global.web_frontend_port end |