Lines Matching refs:attributes
55 def attributes method
56 @data.attributes.map do |op|
95 … attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool }
99 attributes.each do |a|
150 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
154 attributes.each do |a|
183 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
187 attributes.each do |a|
232 … attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool }
233 args[0] = add_unused_attribute(args[0]) if attributes.none?
234 args[1] = add_unused_attribute(args[1]) if args[1] && attributes.none? { |a| a.enum? }
242 …attributes = Metadata::attributes.select { |a| a.applicable_to?(item_type) && a.bool? == is_bool &…
243 use_value = attributes.any? { |a| a.enum? && a.values.any? { |v| v.flags && v.flags.any? } }
244 args[0] = add_unused_attribute(args[0]) if attributes.none?