Module: ProconBypassMan::Web
- Extended by:
- Configuration::ClassAttributes
- Defined in:
- lib/procon_bypass_man/web.rb,
lib/procon_bypass_man/web/db.rb,
lib/procon_bypass_man/web/server.rb,
lib/procon_bypass_man/web/storage.rb,
lib/procon_bypass_man/web/version.rb,
lib/procon_bypass_man/web/configuration.rb,
lib/procon_bypass_man/web/models/setting.rb,
lib/procon_bypass_man/web/setting_parser.rb,
lib/procon_bypass_man/web/models/base_model.rb,
lib/procon_bypass_man/web/setting_parser/layer.rb,
lib/procon_bypass_man/web/setting_parser/top_level_layer.rb
Defined Under Namespace
Classes: App, BaseModel, Configuration, Db, Error, Server, Setting, SettingParser, Storage
Constant Summary
collapse
- PRESSED_BUTTONS_FILE_PATH =
"/tmp/pbm_pressed_buttons"
- VERSION =
"0.1.3"
Class Method Summary
collapse
logger, root
Class Method Details
15
16
17
18
19
|
# File 'lib/procon_bypass_man/web.rb', line 15
def self.configure(&block)
@@configuration = ProconBypassMan::Web::Configuration.new
@@configuration.instance_eval(&block)
@@configuration
end
|
.gem_root ⇒ String
26
27
28
|
# File 'lib/procon_bypass_man/web.rb', line 26
def self.gem_root
File.expand_path('../..', __dir__).freeze
end
|