Sha256: c2a1924193b9965541aa57cf8ef13a116538e7e2255a9e850e907ed16abf9505

Contents?: true

Size: 286 Bytes

Versions: 13

Compression:

Stored size: 286 Bytes

Contents

# frozen_string_literal: true

module ServiceSkeleton
  module ConfigClass
    Undefined = Module.new
    private_constant :Undefined

    def config_class(klass = Undefined)
      unless klass == Undefined
        @config_class = klass
      end

      @config_class
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
service_skeleton-2.2.0 lib/service_skeleton/config_class.rb
service_skeleton-2.1.0 lib/service_skeleton/config_class.rb
service_skeleton-1.0.5 lib/service_skeleton/config_class.rb
service_skeleton-2.0.2 lib/service_skeleton/config_class.rb
service_skeleton-2.0.1 lib/service_skeleton/config_class.rb
service_skeleton-2.0.0 lib/service_skeleton/config_class.rb
service_skeleton-1.0.4 lib/service_skeleton/config_class.rb
service_skeleton-0.0.0.1.ENOTAG lib/service_skeleton/config_class.rb
service_skeleton-1.0.3 lib/service_skeleton/config_class.rb
service_skeleton-1.0.2 lib/service_skeleton/config_class.rb
service_skeleton-1.0.1 lib/service_skeleton/config_class.rb
service_skeleton-0.0.0.49.g47046b9 lib/service_skeleton/config_class.rb
service_skeleton-0.0.0.48.g4a40599 lib/service_skeleton/config_class.rb