# File lib/vendor/fssm/tree.rb, line 73 def key_segments(key) return key if key.is_a?(Array) Pathname.for(key).segments end