Navigation Menu

Skip to content

Commit

Permalink
Make hash and eql? public.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed May 18, 2011
1 parent 0d4aa34 commit 0d1daf0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/sass/importers/filesystem.rb
Expand Up @@ -45,6 +45,14 @@ def to_s
@root @root
end end


def hash
@root.hash
end

def eql?(other)
root.eql?(other.root)
end

protected protected


# If a full uri is passed, this removes the root from it # If a full uri is passed, this removes the root from it
Expand Down Expand Up @@ -116,14 +124,6 @@ def split(name)
[dirname, basename, extension] [dirname, basename, extension]
end end


def hash
@root.hash
end

def eql?(other)
root.eql?(other.root)
end

private private


def _find(dir, name, options) def _find(dir, name, options)
Expand Down

0 comments on commit 0d1daf0

Please sign in to comment.