Method: Config#get_number_list

Defined in:
lib/hocon/config.rb

#get_number_list(path) ⇒ Object

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

Parameters:

  • path

    the path to the list value.

Returns:

  • the list at the path

Raises:



743
744
745
# File 'lib/hocon/config.rb', line 743

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