Lines Matching full:attributes
54 def attributes method
55 @data.attributes.map do |op|
94 … attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool }
98 attributes.each do |a|
128 … Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? != is_bool }.each do |a|
149 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
153 attributes.each do |a|
182 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
186 attributes.each do |a|
231 … attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool }
232 args[0] = add_unused_attribute(args[0]) if attributes.none?
233 args[1] = add_unused_attribute(args[1]) if args[1] && attributes.none? { |a| a.enum? }
241 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
242 use_value = attributes.any? { |a| a.enum? && a.values.any? { |v| v.flags && v.flags.any? } }
243 args[0] = add_unused_attribute(args[0]) if attributes.none?