Sha256: 6f7ee22ce73e0cd963bfd13f3fef1d1de88c6dc0256d71d0a2daaecb8365adb1

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

module StandupMD
  class Config
    ##
    # The configuration class for StandupMD::EntryList
    class EntryList
      ##
      # The default options.
      #
      # @return [Hash]
      DEFAULTS = {}

      ##
      # Initializes the config with default values.
      def initalize
        reset
      end

      ##
      # Sets all config values back to their defaults.
      #
      # @return [Hash]
      def reset
        DEFAULTS.each { |k, v| instance_variable_set("@#{k}", v) }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
standup_md-0.3.14 lib/standup_md/config/entry_list.rb