diff options
| author | Jack Nagel | 2014-07-10 12:38:09 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-10 12:42:54 -0500 |
| commit | 126d2133ab824072f526bc88830a5b9948247bfb (patch) | |
| tree | 081cc8b092e323470c362f9d8f446ebdaea76f2c /Library/Homebrew/patch.rb | |
| parent | 2b9cfe9fa536ec730611f751f445e1a2b35b735b (diff) | |
| download | brew-126d2133ab824072f526bc88830a5b9948247bfb.tar.bz2 | |
Fix method signature
Diffstat (limited to 'Library/Homebrew/patch.rb')
| -rw-r--r-- | Library/Homebrew/patch.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb index 04aade4f7..2b60a2e4d 100644 --- a/Library/Homebrew/patch.rb +++ b/Library/Homebrew/patch.rb @@ -3,8 +3,8 @@ require 'stringio' require 'erb' class Patch - def self.create(strip, io=nil, &block) - case strip ||= :p1 + def self.create(strip, io, &block) + case strip when :DATA, IO, StringIO IOPatch.new(strip, :p1) when String |
