Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/tdl/exlib/itegration.rb

Overview

add to itegration names_pool

Instance Method Summary collapse

Instance Method Details

#snoop(itgt = nil, sdlmodule = nil) ⇒ Object



291
292
293
294
295
296
297
298
# File 'lib/tdl/exlib/itegration.rb', line 291

def snoop(itgt=nil,sdlmodule=nil)
     itgt ||= $_implicit_curr_itgt_.last
     if sdlmodule
         sdlmodule.signal(itgt.names_pool[self.to_s])
     else
         itgt.top_module.signal(itgt.names_pool[self.to_s])
     end
end

#to_inp(itgt = nil) ⇒ Object



283
284
285
286
287
288
289
# File 'lib/tdl/exlib/itegration.rb', line 283

def to_inp(itgt=nil)
    if itgt
        itgt.names_pool.use_self(self.to_s)
    else
        $_implicit_curr_itgt_.last.names_pool.use_self(self.to_s)
    end
end