diff options
| author | Adam Vandenberg | 2011-06-13 14:37:22 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-19 21:34:59 -0700 |
| commit | 2d8d8f3c6ba0a42b22c5fe37c8c087848675e3b3 (patch) | |
| tree | 4242e9a9ced8e93ba309ad8a0e0448e12b0f7b43 /Library | |
| parent | dbba2dfa4168eb8f22131a513ba59a333e51ce48 (diff) | |
| download | homebrew-2d8d8f3c6ba0a42b22c5fe37c8c087848675e3b3.tar.bz2 | |
Pathname: remove unused method starts_with?
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 5 |
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 |
