class Pronto::CircleCI::Config

Constants

CONFIG_FILE_NAME
CONFIG_FOLDER

Public Class Methods

new() click to toggle source
# File lib/pronto/circleci/config.rb, line 12
def initialize
  file_path = File.join(
    CircleCI.gem_root,
    CONFIG_FOLDER,
    CONFIG_FILE_NAME
  )
  @values = YAML.load_file(file_path)
end

Public Instance Methods

get(*keys) click to toggle source
# File lib/pronto/circleci/config.rb, line 21
def get(*keys)
  @values.dig(*keys)
end