qtil
advanced-security/qtil-ruby 0.0.2
Search

Member predicate ModuleNode::getAnAncestorExpr

Gets the expression node denoting the super class or an included or prepended module.

For example, C is an ancestor expression of M in each of the following examples:

class M < C
end

module M
  include C
  prepend C
end
ExprNode getAnAncestorExpr()