init commit
This commit is contained in:
parent
93efff9452
commit
9ba1224867
307 changed files with 11053 additions and 0 deletions
8
lib/utils.rb
Normal file
8
lib/utils.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue