Class: RDoc::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/extensions.rb

Instance Method Summary collapse

Instance Method Details

#each_comment(&proc) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/extensions.rb', line 3

def each_comment(&proc)
  super
  comment_proc=lambda do |each|
    each.each_comment(&proc) unless each.nil?
  end
  each_classmodule(&comment_proc)
  each_method(&comment_proc)
  each_attribute(&comment_proc)
  each_constant(&comment_proc)
end