class RDG::Control::Handler

Public Instance Methods

analyse() click to toggle source
# File lib/rdg/control/handler.rb, line 6
def analyse
  add_an_edge_from_every_main_node_to_the_handler
end

Private Instance Methods

add_an_edge_from_every_main_node_to_the_handler() click to toggle source
# File lib/rdg/control/handler.rb, line 12
def add_an_edge_from_every_main_node_to_the_handler
  main.each { |m| graph.add_edge(m, @ast_node) }
end
block() click to toggle source
# File lib/rdg/control/handler.rb, line 20
def block
  @ast_node.parent
end
main() click to toggle source
# File lib/rdg/control/handler.rb, line 16
def main
  equivalences.all(block.children.first)
end