lib/hieracles/formats/yaml.rb in hieracles-0.1.1 vs lib/hieracles/formats/yaml.rb in hieracles-0.1.2

- old
+ new

@@ -64,23 +64,27 @@ def add_string(output, key, leaf, params, indent) added output, key, leaf, params end + def add_fixnum(output, key, leaf, params, indent) + added output, key, leaf, params + end + + def add_float(output, key, leaf, params, indent) + added output, key, leaf, params + end + def add_trueclass(output, key, leaf, params, indent) added output, key, 'true', params end def add_falseclass(output, key, leaf, params, indent) added output, key, 'false', params end - def add_fixnum(output, key, leaf, params, indent) - added output, key, leaf, params - end - - def add_float(output, key, leaf, params, indent) - added output, key, leaf, params + def add_nilclass(output, key, leaf, params, indent) + added output, key, '', params end private def added(output, key, leaf, params)