Sha256: 1ef300332bdcfc0e83ec2ef66e4730978b649741227db338262a88bd507b89d7
Contents?: true
Size: 620 Bytes
Versions: 36
Compression:
Stored size: 620 Bytes
Contents
# frozen_string_literal: true module Lite module Ruby class Configuration attr_accessor :monkey_patches def initialize @monkey_patches = %w[ array boolean date enumerable hash integer kernel numeric object open_struct range string struct time ] end end class << self attr_writer :configuration def configuration @configuration ||= Configuration.new end def configure yield(configuration) end def reset_configuration! @configuration = Configuration.new end end end end
Version data entries
36 entries across 36 versions & 1 rubygems