builder/extra/tools/ruby-tpm/configure/group_validation_check.rb
def add_check(new_check)
    unless new_check.is_a?(ConfigureValidationCheck)
      raise "Unable to add #{new_check.class().name()}:#{new_check.title} because it does not extend ConfigureValidationCheck"
    end
    
    unless new_check.is_a?(GroupValidationCheckMember)
      new_check.extend(GroupValidationCheckMember)
    end
    
    new_check.set_group(self)
    @group_checks << new_check
  end
# Add a single check to this group
Add a single check to this group
Add a single check to this group
def add_check(new_check)
    unless new_check.is_a?(ConfigureValidationCheck)
      raise "Unable to add #{new_check.class().name()}:#{new_check.title} because it does not extend ConfigureValidationCheck"
    end
    unless new_check.is_a?(GroupValidationCheckMember)
      new_check.extend(GroupValidationCheckMember)
    end
    new_check.set_group(self)
    @group_checks << new_check
  end
def add_check ( new_check ) unless new_check . is_a? ( ConfigureValidationCheck ) raise "Unable to add #{new_check.class().name()}:#{new_check.title} because it does not extend ConfigureValidationCheck" end unless new_check . is_a? ( GroupValidationCheckMember ) new_check . extend ( GroupValidationCheckMember ) end new_check . set_group ( self ) @group_checks << new_check end
Add a single check to this group
Add a single check to this group
new_check