lib/reap/class/rdoc.rb in reap-6.0.0 vs lib/reap/class/rdoc.rb in reap-6.0.1
- old
+ new
@@ -26,17 +26,14 @@
include TaskUtils
MUST_EXCLUDE = [ 'InstalledFiles', 'CVS/**/*', '_darcs/**/*' ]
- # Note that ++dir++ is not offset by trunk.
-
attr_accessor :dir,
:main,
:title,
:template,
- :trunk,
:include,
:exclude,
:options
def initialize( doc )
@@ -58,15 +55,10 @@
# Generate RDocs.
def generate
@rdoc_dir = File.expand_path(@dir)
-
- if @trunk
- Dir.chdir( @trunk ) { generate_rdocs }
- else
- generate_rdocs
- end
+ generate_rdocs
end
alias_method :call, :generate
private