Method: Config#get_boolean_list

Defined in:
lib/hocon/config.rb

#get_boolean_list(path) ⇒ Object

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

Parameters:

  • path

    the path to the list value.

Returns:

  • the list at the path

Raises:



726
727
728
# File 'lib/hocon/config.rb', line 726

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