Method: Config#get_value

Defined in:
lib/hocon/config.rb

#get_value(path) ⇒ Object

Gets the value at the given path, unless the value is a null value or missing, in which case it throws just like the other getters. Use get() on the Config#root() object (or other object in the tree) if you want an unprocessed value.

Parameters:

  • path

    path expression

Returns:

  • the value at the requested path

Raises:



574
575
576
# File 'lib/hocon/config.rb', line 574

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