# File lib/relevance/tarantula/form_submission.rb, line 16 def attacks=(atts) # normalize from hash input to Attack @attacks = atts.map do |val| Hash === val ? Relevance::Tarantula::Attack.new(val) : val end end