Method: Config#get_double

Defined in:
lib/hocon/config.rb

#get_double(path) ⇒ Object

Returns the floating-point value at the requested path.

Parameters:

  • path

    path expression

Returns:

  • the floating-point value at the requested path

Raises:



503
504
505
# File 'lib/hocon/config.rb', line 503

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