diff options
| author | Jack Nagel | 2014-02-18 13:27:35 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-02-18 13:27:35 -0500 |
| commit | ca0eff67faaa3193ca05ee14f9d0af6797dd2a52 (patch) | |
| tree | 7456023c96709768ec7a032f399e6a3ab4f07cd3 /Library/Homebrew/extend/pathname.rb | |
| parent | 52f3c3b9e343f3fd7dbc860197595bed3e04dc5d (diff) | |
| download | brew-ca0eff67faaa3193ca05ee14f9d0af6797dd2a52.tar.bz2 | |
Inline static exception text to remove a rescue
Diffstat (limited to 'Library/Homebrew/extend/pathname.rb')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index f2222d37f..9e1e809db 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -237,7 +237,7 @@ class Pathname def verify_checksum expected raise ChecksumMissingError if expected.nil? or expected.empty? actual = Checksum.new(expected.hash_type, send(expected.hash_type).downcase) - raise ChecksumMismatchError.new(expected, actual) unless expected == actual + raise ChecksumMismatchError.new(self, expected, actual) unless expected == actual end if '1.9' <= RUBY_VERSION |
