Method: Config#get_object_list

Defined in:
lib/hocon/config.rb

#get_object_list(path) ⇒ Object

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

Parameters:

  • path

    the path to the list value.

Returns:

  • the list at the path

Raises:



828
829
830
# File 'lib/hocon/config.rb', line 828

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