Sha256: 3c5df2fd15b3272c50681a9e30c5afdc5e7dca3fe6a24cd64689ac4bea1e7b72
Contents?: true
Size: 320 Bytes
Versions: 5
Compression:
Stored size: 320 Bytes
Contents
APP_SLICE = ENV['APP_SLICE'] unless defined?(APP_SLICE) module AppSlice class << self attr_accessor :app def exists? !@app.nil? and @app != '' end # Binds the AppSlice to the environmental variable APP_SLICE def init! @app = APP_SLICE || '' end end end AppSlice.init!
Version data entries
5 entries across 5 versions & 1 rubygems