From 31e0bf61fa5173c8fb6267961ada71a82e3b9f00 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 14 Oct 2013 22:05:30 -0500 Subject: [PATCH] Pathname: removed unused method alias --- Library/Homebrew/extend/pathname.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index eb0bfefadc..f0b2c82856 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -235,11 +235,10 @@ class Pathname incremental_hash(Digest::SHA1) end - def sha2 + def sha256 require 'digest/sha2' incremental_hash(Digest::SHA2) end - alias_method :sha256, :sha2 def verify_checksum expected raise ChecksumMissingError if expected.nil? or expected.empty?