Method: Config#resolved?

Defined in:
lib/hocon/config.rb

#resolved?Boolean

Checks whether the config is completely resolved. After a successful call to Config#resolve() it will be completely resolved, but after calling Config#resolve(ConfigResolveOptions) with allowUnresolved set in the options, it may or may not be completely resolved. A newly-loaded config may or may not be completely resolved depending on whether there were substitutions present in the file.

Returns:

  • (Boolean)

    true if there are no unresolved substitutions remaining in this configuration.

Raises:

Since:

  • 1.2.0



258
259
260
# File 'lib/hocon/config.rb', line 258

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