Method: Config#resolve_with

Defined in:
lib/hocon/config.rb

#resolve_with(source, options) ⇒ Object

Like Config#resolveWith(Config) but allows you to specify non-default options.

Parameters:

  • source

    source configuration to pull values from

  • options

    resolve options

Returns:

  • the resolved Config (may be only partially resolved if options are set to allow unresolved)

Raises:

Since:

  • 1.2.0



274
275
276
# File 'lib/hocon/config.rb', line 274

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