Method: Config#get_boolean

Defined in:
lib/hocon/config.rb

#get_boolean(path) ⇒ Object

Returns the boolean value at the requested path.

Parameters:

  • path

    path expression

Returns:

  • the boolean value at the requested path

Raises:



437
438
439
# File 'lib/hocon/config.rb', line 437

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