lib/key_tree/path.rb in key_tree-0.5.0 vs lib/key_tree/path.rb in key_tree-0.5.1

- old
+ new

@@ -27,10 +27,10 @@ def initialize(key_or_path = []) case key_or_path when String initialize(key_or_path.split('.')) when Symbol - append(key_or_path) + initialize(key_or_path.to_s) when Array key_or_path.each { |key| append(key.to_sym) } else raise ArgumentError, 'key path must be String, Symbol or Array of those' end