lib/ayadn/databases.rb in ayadn-1.4.6 vs lib/ayadn/databases.rb in ayadn-1.5.0
- old
+ new
@@ -36,16 +36,10 @@
db.close
end
end
def self.init(path)
- # winPlatforms = ['mswin', 'mingw', 'mingw_18', 'mingw_19', 'mingw_20', 'mingw32']
- # case RbConfig::CONFIG['host_os']
- # when *winPlatforms
- # abort("\nSorry, Ayadn doesn't work on Windows.\n\n".color(:red))
- # else
Daybreak::DB.new "#{path}"
- # end
end
def self.add_niceranks niceranks
niceranks.each {|id,infos| @nicerank[id] = infos}
end