lib/jss/api_object/scopable/scope.rb
def include_all(clear = false)
        @targets = {}
        @target_keys.each { |k| @targets[k] = [] }
        @all_targets = true
        if clear
          @limitations = {}
          LIMITATIONS.each { |k| @limitations[k] = [] }

          @exclusions = {}
          @exclusion_keys.each { |k| @exclusions[k] = [] }
        end
        @container&.should_update
      end
# Set the scope's inclusions to all targets.
#
# By default, the limitations and exclusions remain.
# If a non-false parameter is provided, they will be removed also.
#
# @param clear[Boolean] Should the limitations and exclusions be removed also?
#
# @return [void]
#
Set the scope's inclusions to all targets.
By default, the limitations and exclusions remain.
If a non-false parameter is provided, they will be removed also.
Set the scope ' s inclusions to all targets . By default the limitations and exclusions remain . If a non - false parameter is provided they will be removed also .
def include_all(clear = false)
        @targets = {}
        @target_keys.each { |k| @targets[k] = [] }
        @all_targets = true
        if clear
          @limitations = {}
          LIMITATIONS.each { |k| @limitations[k] = [] }
          @exclusions = {}
          @exclusion_keys.each { |k| @exclusions[k] = [] }
        end
        @container&.should_update
      end
def include_all ( clear = false ) @targets = { } @target_keys . each { | k | @targets [ k ] = [ ] } @all_targets = true if clear @limitations = { } LIMITATIONS . each { | k | @limitations [ k ] = [ ] } @exclusions = { } @exclusion_keys . each { | k | @exclusions [ k ] = [ ] } end @container &. should_update end
Set the scope's inclusions to all targets.
Set the scope ' s inclusions to all targets .
None
void
clear
None