Class: QProc::CArray

Inherits:
Object
  • Object
show all
Defined in:
lib/QParser.rb

Instance Method Summary collapse

Constructor Details

#initializeCArray

Returns a new instance of CArray.



165
166
167
168
# File 'lib/QParser.rb', line 165

def initialize
  @array = Array.new
  self.class.module_eval{ include ::QProc::Messages }
end

Instance Method Details

#<<(op) ⇒ Object



170
# File 'lib/QParser.rb', line 170

def <<(op); @array.push op; end

#connect(widget) ⇒ Object



172
173
174
# File 'lib/QParser.rb', line 172

def connect(widget)
  @array.each{|c| c.connect widget; debug c.to_s,"connect" if debug_level >= QDMLDebug::Minimal }
end

#debug_levelObject



169
# File 'lib/QParser.rb', line 169

def debug_level; QProc.debug_level; end