Sha256: 1e8b09bf32a6d6a7fe1c630c5fb44fe8b2afd7c051b4fcc40d433c5dddffefa7

Contents?: true

Size: 1014 Bytes

Versions: 9

Compression:

Stored size: 1014 Bytes

Contents

# frozen_string_literal: true

require_relative 'config/cli'
require_relative 'config/file'
require_relative 'config/entry'
require_relative 'config/entry_list'

module StandupMD
  ##
  # This class provides a connector from StandupMD to the configuration classes.
  class Config
    ##
    # Reader for Cli config.
    #
    # @return [StandupMD::Config::Cli]
    attr_reader :cli

    ##
    # Reader for File config.
    #
    # @return [StandupMD::Config::File]
    attr_reader :file

    ##
    # Reader for Entry config.
    #
    # @return [StandupMD::Config::Entry]
    attr_reader :entry

    ##
    # Reader for EntryList config.
    #
    # @return [StandupMD::Config::EntryList]
    attr_reader :entry_list

    ##
    # Builds the links to the configuration classes.
    def initialize
      @cli        = StandupMD::Config::Cli.new
      @file       = StandupMD::Config::File.new
      @entry      = StandupMD::Config::Entry.new
      @entry_list = StandupMD::Config::EntryList.new
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
standup_md-0.3.14 lib/standup_md/config.rb
standup_md-0.3.13 lib/standup_md/config.rb
standup_md-0.3.12 lib/standup_md/config.rb
standup_md-0.3.11 lib/standup_md/config.rb
standup_md-0.3.10 lib/standup_md/config.rb
standup_md-0.3.9 lib/standup_md/config.rb
standup_md-0.3.8 lib/standup_md/config.rb
standup_md-0.3.7 lib/standup_md/config.rb
standup_md-0.3.6 lib/standup_md/config.rb