Sha256: 137b31a0b683c0fc24e5dda8fd234edf48a74682501b1560237193e3da7a0f7c

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

module YARD
  module Generators
    class MixinsGenerator < Base
      before_generate :has_mixins?
      
      def sections_for(object) [:header] end
        
      protected
      
      def has_mixins?(object)
        !object.mixins.empty?
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yard-0.2.2 lib/yard/generators/mixins_generator.rb