Flowdock
method

add_class

Importance_0
v1_9_1_378 - Show latest stable - 0 notes - Class: Writer
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/writer.rb, line 37
  def add_class(class_desc)
    dir = path_to_dir(class_desc.full_name)
    FileUtils.mkdir_p(dir)
    class_file_name = self.class.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.