Class: GhaConfig::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/gha_config/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



9
10
11
12
13
14
15
# File 'lib/gha_config/config.rb', line 9

def initialize
  @env = {}
  @defaults = []
  @parsed_config = {}
  @options = {}
  @variables = {}
end

Instance Attribute Details

#defaultsObject

Returns the value of attribute defaults.



3
4
5
# File 'lib/gha_config/config.rb', line 3

def defaults
  @defaults
end

#envObject

Returns the value of attribute env.



4
5
6
# File 'lib/gha_config/config.rb', line 4

def env
  @env
end

#optionsObject

Returns the value of attribute options.



6
7
8
# File 'lib/gha_config/config.rb', line 6

def options
  @options
end

#parsed_configObject

Returns the value of attribute parsed_config.



5
6
7
# File 'lib/gha_config/config.rb', line 5

def parsed_config
  @parsed_config
end

#variablesObject

Returns the value of attribute variables.



7
8
9
# File 'lib/gha_config/config.rb', line 7

def variables
  @variables
end