new framework
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
module BBS
|
||||
class Config
|
||||
attr_accessor :screens_dir, :flow, :on_session_end
|
||||
attr_accessor :screens_dir, :flow, :on_session_end,
|
||||
:port, :theme, :mouse, :idle_seconds
|
||||
|
||||
def initialize
|
||||
@port = (ENV['BBS_PORT'] || 2323).to_i
|
||||
@mouse = false
|
||||
@idle_seconds = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user