Method: Transform#check

Defined in:
lib/source/redshift/transform.rb

#check(caller) ⇒ Object



74
75
76
77
78
79
80
81
82
# File 'lib/source/redshift/transform.rb', line 74

def check(caller)
  `
   if (!this.__timer__) return true;
	switch (#{@options[:link]}){
		case 'cancel': this.cancel(); return true;
		case 'chain' : this.chain(caller.bind(this, Array.slice(arguments, 1))); return false;
	}`
	return false
end