Method: Config#get_memory_size_list

Defined in:
lib/hocon/config.rb

#get_memory_size_list(path) ⇒ Object

Gets a list, converting each value in the list to a memory size, using the same rules as #getMemorySize(String).

Parameters:

  • path

    a path expression

Returns:

  • list of memory sizes

Raises:

Since:

  • 1.3.0



896
897
898
# File 'lib/hocon/config.rb', line 896

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