# File lib/flex.rb, line 48 def check_component(name) count = $check_component while(!ready && count > 0) sleep(1) count = count -1 end begin return flex_object.checkComponent(@id, name) rescue $stderr.print "IO failed: " + $! false end end