Flowdock
method

add_class

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: RI::RiWriter
add_class(class_desc) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/ri/ri_writer.rb, line 32
    def add_class(class_desc)
      dir = path_to_dir(class_desc.full_name)
      FileUtils.mkdir_p(dir)
      class_file_name = RiWriter.class_desc_path(dir, class_desc)
      File.open(class_file_name, "w") do |f|
        f.write(class_desc.serialize)
      end
    end
Register or log in to add new notes.