Sha256: 16517d00ce8de877c433e8d9264763fc04678ce4de3fa5d6acf1fdb6d0609c9e

Contents?: true

Size: 780 Bytes

Versions: 5

Compression:

Stored size: 780 Bytes

Contents

module YARD
  module Generators
    class ClassGenerator < Base
      before_generate :is_class?
      
      def sections_for(object) 
        [
          :header,
          [
            G(InheritanceGenerator), 
            G(MixinsGenerator, :scope => :class),
            G(MixinsGenerator, :scope => :instance),
            G(DocstringGenerator), 
            G(TagsGenerator),
            G(AttributesGenerator), 
            G(ConstantsGenerator),
            G(ConstructorGenerator),
            G(MethodMissingGenerator),
            G(VisibilityGroupGenerator, :visibility => :public),
            G(VisibilityGroupGenerator, :visibility => :protected),
            G(VisibilityGroupGenerator, :visibility => :private)
          ]
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-0.2.3.5 lib/yard/generators/class_generator.rb
yard-0.2.3.4 lib/yard/generators/class_generator.rb
yard-0.2.3.2 lib/yard/generators/class_generator.rb
yard-0.2.3.3 lib/yard/generators/class_generator.rb
yard-0.2.3 lib/yard/generators/class_generator.rb