# File lib/merb-assets/assets.rb, line 88 def calculate_host_id(filename) ascii_total = 0 filename.each_byte {|byte| ascii_total += byte } (ascii_total % Merb::Plugins.config[:asset_helpers][:max_hosts] + 1) end