Welcome to mirror list, hosted at ThFree Co, Russian Federation.

config.rb « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ffe633d4b63d3c57508d5099930611c099f82cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Gitlab
  module Ci
    class Config
      class LoaderError < StandardError; end

      def initialize(config)
        loader = Loader.new(config)
        @config = loader.load!
      end

      def to_hash
        @config
      end
    end
  end
end