search for: extended_docapp

Displaying 1 result from an estimated 1 matches for "extended_docapp".

2006 Apr 18
0
extend doc:app rake task to Include lib/*?
...:app task. For instance I''d like to include documentation for files in the lib directory. I can''t seem to figure out the proper way to do it short of changing the lib/tasks/documentation.rake in the rails distribution. After poking around in the rails tasks, I tried creating an extended_docapp.rake in my lib/tasks that contains this: namespace :doc do task :app do |rdoc| rdoc.rdoc_files.include(''lib/*.rb'') end end But when I run rake doc:app I get this error: rake aborted! undefined method `rdoc_files'' for #<Rake::Task:0x2299c00> I guess I'...