Sha256: 127124b13682056e6e7e1667c750a727443a4deac2d9ce7fc9cf63acd472947b

Contents?: true

Size: 224 Bytes

Versions: 11

Compression:

Stored size: 224 Bytes

Contents

# frozen_string_literal: true

module Modis
  def self.configure
    yield config
  end

  class Configuration < Struct.new(:namespace)
  end

  class << self
    attr_reader :config
  end

  @config = Configuration.new
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
modis-4.3.0 lib/modis/configuration.rb
modis-4.2.0 lib/modis/configuration.rb
modis-4.1.0 lib/modis/configuration.rb
modis-4.0.1 lib/modis/configuration.rb
modis-4.0.0 lib/modis/configuration.rb
modis-3.3.0 lib/modis/configuration.rb
modis-3.2.0 lib/modis/configuration.rb
modis-3.1.0 lib/modis/configuration.rb
modis-3.0.0 lib/modis/configuration.rb
modis-2.1.0 lib/modis/configuration.rb
modis-2.0.0 lib/modis/configuration.rb