Make Patch a module since it only has singleton methods
This commit is contained in:
parent
90f69372ce
commit
8df8f437f0
@ -2,7 +2,7 @@ require 'resource'
|
||||
require 'stringio'
|
||||
require 'erb'
|
||||
|
||||
class Patch
|
||||
module Patch
|
||||
def self.create(strip, io, &block)
|
||||
case strip
|
||||
when :DATA, IO, StringIO
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user