class Tilt::Template

def generate_compiled_method_name(locals_keys)

def generate_compiled_method_name(locals_keys)
  parts = [object_id, @stamp] + locals_keys.map { |k| k.to_s }.sort
  digest = Digest::MD5.hexdigest(parts.join(':'))
  "__tilt_#{digest}"
end