Class JobTrigger |
|
The trigger class itself. The main method in here is validate() which is invoked from the super-class’ parse_change() method.
Methods |
Public Instance methods |
validate() |
Do the enforcement.
# File checkjob.rb, line 56 def validate() if ( change.jobs.length() == 0 ) message( @@USER_MESSAGE ) return false end return true end