diff options
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 |
