Class: RDoc::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/rdoc_rails/rdoc/context.rb

Direct Known Subclasses

ArAssociation

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ar_associationsObject

Returns the value of attribute ar_associations.



3
4
5
# File 'lib/rdoc_rails/rdoc/context.rb', line 3

def ar_associations
  @ar_associations
end

Instance Method Details

#initialize_methods_etcObject

Overriding to initialize ar_associations



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/rdoc_rails/rdoc/context.rb', line 6

def initialize_methods_etc
  @method_list = []
  @attributes  = []
  @aliases     = []
  @requires    = []
  @includes    = []
  @constants   = []
  @ar_associations = []
  
  # This Hash maps a method name to a list of unmatched aliases (aliases of
  # a method not yet encountered).
  @unmatched_alias_lists = {}
end