Module: Jeweler::Generator::YardMixin

Defined in:
lib/jeweler/generator/yard_mixin.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(generator) ⇒ Object



4
5
6
7
# File 'lib/jeweler/generator/yard_mixin.rb', line 4

def self.extended(generator)
  generator.development_dependencies << ['yard', '~> 0.7']
  generator.development_dependencies << ['rdoc', '~> 3.12']
end

Instance Method Details

#doc_taskObject



9
10
11
# File 'lib/jeweler/generator/yard_mixin.rb', line 9

def doc_task
  'yardoc'
end