templates/default/module/setup.rb in yard-0.9.0 vs templates/default/module/setup.rb in yard-0.9.1
- old
+ new
@@ -53,10 +53,10 @@
return @attrs if @attrs
@attrs = []
object.inheritance_tree(true).each do |superclass|
next if superclass.is_a?(CodeObjects::Proxy)
next if options.embed_mixins.size > 0 &&
- options.embed_mixins_match?(superclass) == false
+ !options.embed_mixins_match?(superclass)
[:class, :instance].each do |scope|
superclass.attributes[scope].each do |name, rw|
attr = prune_method_listing([rw[:read], rw[:write]].compact, false).first
@attrs << attr if attr
end