File: rdoc.rb

package info (click to toggle)
ruby-hoe 3.22.1%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 512 kB
  • sloc: ruby: 2,379; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
##
# RDoc plugin for hoe. Switches default text files to rdoc.

module Hoe::Rdoc
  def initialize_rdoc
    self.readme_file = self.readme_file.sub(/\.txt$/, ".rdoc")
    self.history_file = self.history_file.sub(/\.txt$/, ".rdoc")
  end

  def define_rdoc_tasks
    # do nothing
  end
end