# File vendor/flag_set_maker.rb, line 19 def to_s(v) names= [] @flag_names.each_with_index(){ |name, i| names.push(name) if v[i]==1 } if names.empty?() return (@zero_name.to_s() || "0") elsif names.size==1 return names[0].to_s() else return "("+names.join("|")+")" end end