Sha256: 449b1169fd05d2e11f5ec8893cdbf787952470d35bc2e78c1d8b798aba45b8c4

Contents?: true

Size: 781 Bytes

Versions: 2

Compression:

Stored size: 781 Bytes

Contents

require_relative "web/version"
require "logger"
require "procon_bypass_man/web/configuration"
require "procon_bypass_man/web/server"
require "procon_bypass_man/web/db"
require "procon_bypass_man/web/models/setting"
require "procon_bypass_man/web/setting_parser.rb"

module ProconBypassMan
  module Web
    class Error < StandardError; end

    extend ProconBypassMan::Web::Configuration::ClassAttributes

    def self.configure(&block)
      @@configuration = ProconBypassMan::Web::Configuration.new
      @@configuration.instance_eval(&block)
      @@configuration
    end

    def self.config
      @@configuration ||= ProconBypassMan::Web::Configuration.new
    end

    # @return [String]
    def self.gem_root
      File.expand_path('../..', __dir__).freeze
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
procon_bypass_man-web-0.1.3 lib/procon_bypass_man/web.rb
procon_bypass_man-web-0.1.2 lib/procon_bypass_man/web.rb