From 576b5c66dcb8047adab6a0c6918daef22d8b2bfc Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 14 Oct 2013 22:05:30 -0500 Subject: Pathname: removed unused method alias --- Library/Homebrew/extend/pathname.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index eb0bfefad..f0b2c8285 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? -- cgit v1.2.3