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.11-x64-mingw32 lib/expressir/config.rb
expressir-0.2.11-arm64-darwin lib/expressir/config.rb
expressir-0.2.10 lib/expressir/config.rb
expressir-0.2.10-x86_64-linux lib/expressir/config.rb
expressir-0.2.10-x86_64-darwin lib/expressir/config.rb
expressir-0.2.10-x86-mingw32 lib/expressir/config.rb
expressir-0.2.10-x86-linux lib/expressir/config.rb
expressir-0.2.10-x64-mingw32 lib/expressir/config.rb
expressir-0.2.10-arm64-darwin lib/expressir/config.rb
expressir-0.2.9 lib/expressir/config.rb
expressir-0.2.9-x86_64-linux lib/expressir/config.rb
expressir-0.2.9-x86_64-darwin lib/expressir/config.rb
expressir-0.2.9-x86-mingw32 lib/expressir/config.rb
expressir-0.2.9-x86-linux lib/expressir/config.rb
expressir-0.2.9-x64-mingw32 lib/expressir/config.rb
expressir-0.2.9-arm64-darwin lib/expressir/config.rb
expressir-0.2.8 lib/expressir/config.rb
expressir-0.2.8-x86_64-linux lib/expressir/config.rb
expressir-0.2.8-x86_64-darwin lib/expressir/config.rb
expressir-0.2.8-x86-mingw32 lib/expressir/config.rb