compass/lib/vendor/fssm/ext.rb
2009-09-02 22:42:59 -07:00

13 lines
181 B
Ruby

class Pathname
class << self
def for(path)
path.is_a?(Pathname) ? path : new(path)
end
end
def names
prefix, names = split_names(@path)
names
end
end