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



303
304
305
306
307
308
309
310
# File 'lib/tdl/exlib/itegration.rb', line 303

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



295
296
297
298
299
300
301
# File 'lib/tdl/exlib/itegration.rb', line 295

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