class Twb::Util::DocPrep

Attributes

dir[RW]

Public Class Methods

new() click to toggle source
# File lib/twb/util/docprep.rb, line 25
def initialize
    reset
end

Public Instance Methods

init(dirName) click to toggle source
# File lib/twb/util/docprep.rb, line 38
def init dirName
  Dir.mkdir @Name
end
prepFile(fileName) click to toggle source
# File lib/twb/util/docprep.rb, line 34
def prepFile fileName
    "#{@dir}/#{fileName}"
end
reset() click to toggle source
# File lib/twb/util/docprep.rb, line 29
def reset
    @dir = @@dir
    init
end