Project

General

Profile

« Previous | Next » 

Revision 26eb0b72

Added by Marc Dequènes almost 14 years ago

  • ID 26eb0b72fff392644eafb17310261dd96b3a73e1

[evol] Interface: new method to detect node leaves

View differences:

lib/cyborghood/cyborg/botnet/interface.rb
@parent_node.nil?
end
def leaf?
@nodes.empty?
end
def hidden?
@hidden
end

Also available in: Unified diff