Method: Config#root
- Defined in:
- lib/hocon/config.rb
#root ⇒ Object
Gets the Config as a tree of ConfigObject. This is a constant-time operation (it is not proportional to the number of values in the Config).
168 169 170 |
# File 'lib/hocon/config.rb', line 168 def root raise Hocon::ConfigError::ConfigBugOrBrokenError, "subclasses of `Config` must implement `root` (#{self.class})" end |