qtil
advanced-security/qtil-ruby 0.0.2
Search

Member predicate API::Node::getAnImmediateSubclass

Gets a node representing a direct subclass of the class represented by this node.

class A; end
class B < A; end
class C < B; end

In the example above, getMember("A").getAnImmediateSubclass() will return uses of B only.

Node getAnImmediateSubclass()