Method: Config#get_config_list

Defined in:
lib/hocon/config.rb

#get_config_list(path) ⇒ Object

Gets a list value with Config elements. Throws if the path is unset or null or not a list or contains values not convertible to Config.

Parameters:

  • path

    the path to the list value.

Returns:

  • the list at the path

Raises:



845
846
847
# File 'lib/hocon/config.rb', line 845

def get_config_list(path)
  raise Hocon::ConfigError::ConfigBugOrBrokenError, "subclasses of `Config` must implement `get_config_list` (#{self.class})"
end