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-1.2.1-x86-linux lib/expressir/config.rb
expressir-1.2.1-x64-mingw32 lib/expressir/config.rb
expressir-1.2.1-arm64-darwin lib/expressir/config.rb
expressir-1.2.0 lib/expressir/config.rb
expressir-1.2.0-x86_64-linux lib/expressir/config.rb
expressir-1.2.0-x86_64-darwin lib/expressir/config.rb
expressir-1.2.0-x86-mingw32 lib/expressir/config.rb
expressir-1.2.0-x86-linux lib/expressir/config.rb
expressir-1.2.0-x64-mingw32 lib/expressir/config.rb
expressir-1.2.0-arm64-darwin lib/expressir/config.rb
expressir-1.1.0 lib/expressir/config.rb
expressir-1.1.0-x86_64-linux lib/expressir/config.rb
expressir-1.1.0-x86_64-darwin lib/expressir/config.rb
expressir-1.1.0-x86-mingw32 lib/expressir/config.rb
expressir-1.1.0-x86-linux lib/expressir/config.rb
expressir-1.1.0-x64-mingw32 lib/expressir/config.rb
expressir-1.1.0-arm64-darwin lib/expressir/config.rb
expressir-1.0.0 lib/expressir/config.rb
expressir-1.0.0-x86_64-linux lib/expressir/config.rb
expressir-1.0.0-x86_64-darwin lib/expressir/config.rb