ruby-win32/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb
def load_rdoc
      if File.exist?(@doc_dir) && !File.writable?(@doc_dir) then
        raise Gem::FilePermissionError.new(@doc_dir)
      end

      FileUtils.mkdir_p @doc_dir unless File.exist?(@doc_dir)

      begin
        require 'rdoc/rdoc'
      rescue LoadError => e
        raise Gem::DocumentError,
          "ERROR: RDoc documentation generator not installed!"
      end
    end
# Load the RDoc documentation generator library.
Load the RDoc documentation generator library.
Load the RDoc documentation generator library .
def load_rdoc
      if File.exist?(@doc_dir) && !File.writable?(@doc_dir) then
        raise Gem::FilePermissionError.new(@doc_dir)
      end
      FileUtils.mkdir_p @doc_dir unless File.exist?(@doc_dir)
      begin
        require 'rdoc/rdoc'
      rescue LoadError => e
        raise Gem::DocumentError,
          "ERROR: RDoc documentation generator not installed!"
      end
    end
def load_rdoc if File . exist? ( @doc_dir ) && ! File . writable? ( @doc_dir ) then raise Gem :: FilePermissionError . new ( @doc_dir ) end FileUtils . mkdir_p @doc_dir unless File . exist? ( @doc_dir ) begin require 'rdoc/rdoc' rescue LoadError => e raise Gem :: DocumentError , "ERROR: RDoc documentation generator not installed!" end end
Load the RDoc documentation generator library.
Load the RDoc documentation generator library .