lib/jss/api_object/criteriable/criteria.rb
def prepend_criterion(criterion)
        criterion_ok? criterion
        @criteria.unshift criterion
        set_priorities
        @container.should_update if @container
      end
###
### Add a new criterion to the beginning of the criteria
###
### @param criterion[JSS::Criteriable::Criterion] the new Criterion to store
###
### @return [void]
###
Add a new criterion to the beginning of the criteria
Add a new criterion to the beginning of the criteria
def prepend_criterion(criterion)
        criterion_ok? criterion
        @criteria.unshift criterion
        set_priorities
        @container.should_update if @container
      end
def prepend_criterion ( criterion ) criterion_ok? criterion @criteria . unshift criterion set_priorities @container . should_update if @container end
Add a new criterion to the beginning of the criteria
Add a new criterion to the beginning of the criteria
None
void
criterion
the new Criterion to store
the new Criterion to store