Method: Config#get_number

Defined in:
lib/hocon/config.rb

#get_number(path) ⇒ Object

Returns the numeric value at the requested path.

Parameters:

  • path

    path expression

Returns:

  • the numeric value at the requested path

Raises:



450
451
452
# File 'lib/hocon/config.rb', line 450

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