# File lib/rake/ext/string.rb, line 24
24:     def pathmap_explode
25:       head, tail = File.split(self)
26:       return [self] if head == self
27:       return [tail] if head == '.' || tail == '/'
28:       return [head, tail] if head == '/'
29:       return head.pathmap_explode + [tail]
30:     end