Method: Config#get_config

Defined in:
lib/hocon/config.rb

#get_config(path) ⇒ Object

Returns the nested Config value at the requested path.

Parameters:

  • path

    path expression

Returns:

  • the nested Config value at the requested path

Raises:



542
543
544
# File 'lib/hocon/config.rb', line 542

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