Revision cf95e788
Added by Marc Dequènes about 13 years ago
- ID cf95e788a880cd8db3033c0630abb3e32df9ccf7
lib/cyborghood/cyborg/botnet/interface.rb | ||
---|---|---|
|
||
include TaskAspect
|
||
|
||
# needed for testing node existence
|
||
reveal :nil?
|
||
reveal :respond_to?
|
||
reveal :is_a?
|
||
|
||
def initialize(bot, parent_node = nil, options = {}, &block)
|
||
@bot = bot
|
||
@parent_node = parent_node
|
Also available in: Unified diff
[fix] DSL: do not hide original methods anymore, as we need too much things (class/is_a?/respond_to?/…, logger, I18n stuff…)