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
commit2d8d8f3c6ba0a42b22c5fe37c8c087848675e3b3 (patch)
tree4242e9a9ced8e93ba309ad8a0e0448e12b0f7b43 /Library
parentdbba2dfa4168eb8f22131a513ba59a333e51ce48 (diff)
downloadhomebrew-2d8d8f3c6ba0a42b22c5fe37c8c087848675e3b3.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