class RDoc::RI::Store
def save_method klass, method
def save_method klass, method FileUtils.mkdir_p class_path(klass.full_name) cache = if method.singleton then @cache[:class_methods] else @cache[:instance_methods] end cache[klass.full_name] ||= [] cache[klass.full_name] << method.name open method_file(klass.full_name, method.full_name), 'wb' do |io| Marshal.dump method, io end end