Method: Hocon::ConfigValueType.value_type_name
- Defined in:
- lib/hocon/config_value_type.rb
.value_type_name(config_value_type) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/hocon/config_value_type.rb', line 18 def self.value_type_name(config_value_type) case config_value_type when OBJECT then "OBJECT" when LIST then "LIST" when NUMBER then "NUMBER" when BOOLEAN then "BOOLEAN" when NULL then "NULL" when STRING then "STRING" else raise Hocon::ConfigError::ConfigBugOrBrokenError, "Unrecognized value type '#{config_value_type}'" end end |