Sha256: a6ca631b6ced648b5ba70279b1f2a561db16154c94f8eb85718a653215305b84

Contents?: true

Size: 251 Bytes

Versions: 4

Compression:

Stored size: 251 Bytes

Contents

require "singleton"

module Jets::Core::Config
  class Base
    extend Memoist
    include Jets::Util::Camelize
    include Singleton

    def configure(&block)
      instance_eval(&block) if block
    end

    def config
      self
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jets-6.0.5 lib/jets/core/config/base.rb
jets-6.0.4 lib/jets/core/config/base.rb
jets-6.0.3 lib/jets/core/config/base.rb
jets-6.0.2 lib/jets/core/config/base.rb