Method: Config#get_any_ref

Defined in:
lib/hocon/config.rb

#get_any_ref(path) ⇒ Object

Gets the value at the path as an unwrapped Java boxed value ( java.lang.Boolean Boolean, java.lang.Integer Integer, and so on - see ConfigValue#unwrapped()).

Parameters:

  • path

    path expression

Returns:

  • the unwrapped value at the requested path

Raises:



557
558
559
# File 'lib/hocon/config.rb', line 557

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