Sha256: 4ff8fe2c7604c55d0d20a4044e600e41386a0cb5d1349babd6b5d96b68a9fe85

Contents?: true

Size: 638 Bytes

Versions: 5

Compression:

Stored size: 638 Bytes

Contents

module YARD
  module Generators
    class ModuleGenerator < Base
      before_generate :is_module?
      
      def sections_for(object) 
        [
          :header,
          [
            G(MixinsGenerator, :scope => :class),
            G(MixinsGenerator, :scope => :instance),
            G(DocstringGenerator), 
            G(AttributesGenerator), 
            G(ConstantsGenerator),
            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/module_generator.rb
yard-0.2.3.4 lib/yard/generators/module_generator.rb
yard-0.2.3.2 lib/yard/generators/module_generator.rb
yard-0.2.3.3 lib/yard/generators/module_generator.rb
yard-0.2.3 lib/yard/generators/module_generator.rb