Method: Sass::Importers::Filesystem#remove_root

Defined in:
lib/sass/importers/filesystem.rb

#remove_root(name) (protected)

If a full uri is passed, this removes the root from it otherwise returns the name unchanged



62
63
64
65
66
67
68
# File 'lib/sass/importers/filesystem.rb', line 62

def remove_root(name)
  if name.index(@root + "/") == 0
    name[(@root.length + 1)..-1]
  else
    name
  end
end