aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-06-13 14:37:22 -0700
committerAdam Vandenberg2011-06-19 21:34:59 -0700
commitf409e4f22f9179f6617f4d73262d29530bf8b5d7 (patch)
tree4ba502171c06b1a8f1e7d3dc67a23ce0c6aa1080 /Library
parentcee1003782b6b38ed1aca327c996bcd426606f6b (diff)
downloadbrew-f409e4f22f9179f6617f4d73262d29530bf8b5d7.tar.bz2
Pathname: remove unused method starts_with?
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 20da2cc73..c0b91c5b9 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -218,11 +218,6 @@ class Pathname
(dirname+readlink).exist?
end
- def starts_with? prefix
- prefix = prefix.to_s
- self.to_s[0, prefix.length] == prefix
- end
-
# perhaps confusingly, this Pathname object becomes the symlink pointing to
# the src paramter.
def make_relative_symlink src