Method: RDoc::Context#initialize
- Defined in:
- lib/rdoc/code_object/context.rb
#initialize ⇒ Context
Creates an unnamed empty context with public current visibility
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'lib/rdoc/code_object/context.rb', line 123 def initialize super @in_files = [] @name ||= "unknown" @parent = nil @visibility = :public @current_section = Section.new self, nil, nil @sections = { nil => @current_section } @temporary_section = nil @classes = {} @modules = {} initialize_methods_etc end |