Sha256: 8e41c0fd19a81c0db3279100253e9890b8959d186c612e42ba615c51b6d27d54

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

module Modis
  def self.configure
    yield config
  end

  class Configuration < Struct.new(:namespace)
  end

  class << self
    def config
      @config ||= Configuration.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
modis-4.3.2 lib/modis/configuration.rb
modis-4.3.1 lib/modis/configuration.rb