Rakefile in tax_generator-0.6.2 vs Rakefile in tax_generator-0.6.3
- old
+ new
@@ -10,9 +10,15 @@
end
YARD::Config.options[:load_plugins] = true
YARD::Config.load_plugins
+# dirty hack for YardocTask
+::Rake.application.class.class_eval do
+ alias_method :last_comment, :last_description
+end
+
+
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb', 'spec/**/*_spec.rb'] # optional
t.options = ['--any', '--extra', '--opts', '--markup-provider=redcarpet', '--markup=markdown', '--debug'] # optional
t.stats_options = ['--list-undoc'] # optional
end