Sha256: 077d77a55886ff715fcba8eace953482a8b296c267dacf863864959d8b1e9199
Contents?: true
Size: 411 Bytes
Versions: 12
Compression:
Stored size: 411 Bytes
Contents
# frozen_string_literal: true # Base class for application config classes class ApplicationConfig < Anyway::Config class << self # Make it possible to access a singleton config instance # via class methods (i.e., without explictly calling `instance`) delegate_missing_to :instance private # Returns a singleton config instance def instance @instance ||= new end end end
Version data entries
12 entries across 12 versions & 1 rubygems