Method: Config#get_any_ref_list

Defined in:
lib/hocon/config.rb

#get_any_ref_list(path) ⇒ Object

Gets a list value with any kind of elements. Throws if the path is unset or null or not a list. Each element is “unwrapped” (see ConfigValue#unwrapped()).

Parameters:

  • path

    the path to the list value.

Returns:

  • the list at the path

Raises:



862
863
864
# File 'lib/hocon/config.rb', line 862

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