# File lib/yard/generators/constants_generator.rb, line 9 def sections_for(object) if object.is_a?(CodeObjects::ClassObject) [:header, [:constants, :inherited, :included]] elsif object.is_a?(CodeObjects::ModuleObject) [:header, [:constants]] end end