fixes/class_or_module.rb
# Note that this will cache the result, so it generally unsafe during tree modifications.
Note that this will cache the result, so it generally unsafe during tree modifications.
Note that this will cache the result so it generally unsafe during tree modifications .
def ancestors_fullnames!
    @ancestors_fullnames ||= begin
      result = []
      result << ancestor if ancestor
      filter_children(IncludeNode) {
          |include_node|
        result << include_node.fullname if include_node.fullname
      }
      result
    end
  end
def ancestors_fullnames! @ancestors_fullnames ||= begin result = [ ] result << ancestor if ancestor filter_children ( IncludeNode ) { | include_node | result << include_node . fullname if include_node . fullname } result end end
Note that this will cache the result, so it generally unsafe during tree modifications.
Note that this will cache the result so it generally unsafe during tree modifications .