Method: Config#at_path

Defined in:
lib/hocon/config.rb

#at_path(path) ⇒ Object

Places the config inside another Config at the given path. <p> Note that path expressions have a syntax and sometimes require quoting (see ConfigUtil#joinPath and ConfigUtil#splitPath).

Parameters:

  • path

    path expression to store this config at.

Raises:



973
974
975
# File 'lib/hocon/config.rb', line 973

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