init commit

This commit is contained in:
gitlabhq 2011-10-09 00:36:38 +03:00
parent 93efff9452
commit 9ba1224867
307 changed files with 11053 additions and 0 deletions

8
lib/utils.rb Normal file
View file

@ -0,0 +1,8 @@
module Utils
def self.binary?(string)
string.each_byte do |x|
x.nonzero? or return true
end
false
end
end