Sha256: dee4b0c647fa6b09c638c80073dabae21d235b77b7759740ad52c8806b633ae5

Contents?: true

Size: 327 Bytes

Versions: 179

Compression:

Stored size: 327 Bytes

Contents

module Expressir
  module Config
    def configure
      if block_given?
        yield configuration
      end
    end

    def configuration
      @configuration ||= Configuration.new
    end
  end

  class Configuration
    attr_accessor :logs

    def initialize
      @logs ||= %i(error)
    end
  end

  extend Config
end

Version data entries

179 entries across 179 versions & 1 rubygems

Version Path
expressir-0.2.8-x86-linux lib/expressir/config.rb
expressir-0.2.8-x64-mingw32 lib/expressir/config.rb
expressir-0.2.8-arm64-darwin lib/expressir/config.rb
expressir-0.2.7 lib/expressir/config.rb
expressir-0.2.7-x86-mingw32 lib/expressir/config.rb
expressir-0.2.7-x64-mingw32 lib/expressir/config.rb
expressir-0.2.7-x86_64-linux lib/expressir/config.rb
expressir-0.2.7-x86-linux lib/expressir/config.rb
expressir-0.2.7-x86_64-darwin lib/expressir/config.rb
expressir-0.2.7-arm64-darwin lib/expressir/config.rb
expressir-0.2.5-x86_64-linux lib/expressir/config.rb
expressir-0.2.5-x86_64-darwin-19 lib/expressir/config.rb
expressir-0.2.5 lib/expressir/config.rb
expressir-0.2.4 lib/expressir/config.rb
expressir-0.2.3 lib/expressir/config.rb
expressir-0.2.2 lib/expressir/config.rb
expressir-0.2.1 lib/expressir/config.rb
expressir-0.2.0 lib/expressir/config.rb
expressir-0.1.0 lib/expressir/config.rb