mock build
This commit is contained in:
7
locallibs/ruby-rpm-ffi/lib/rpm/utils.rb
Normal file
7
locallibs/ruby-rpm-ffi/lib/rpm/utils.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module RPM
|
||||
module Utils
|
||||
def self.check_type(var, type)
|
||||
raise(TypeError, "wrong argument type #{var.class} (expected #{type.class})") unless var.is_a?(type)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user