Class: SystemgroupsSet

Inherits:
OperationSet show all
Defined in:
lib/satops/operator.rb

Instance Attribute Summary

Attributes inherited from OperationSet

#list

Instance Method Summary collapse

Methods inherited from OperationSet

#-, #delete_all, #extra, #fetch, #initialize

Constructor Details

This class inherits a constructor from OperationSet

Instance Method Details

#fetch_allObject



1110
1111
1112
1113
1114
1115
1116
# File 'lib/satops/operator.rb', line 1110

def fetch_all
  sysgroups=[]
  @sat.systemgroup.listAllGroups.each do |sysgroup|
    sysgroups << Systemgroup.new(sysgroup)
  end
  sysgroups
end

#include?(arg) ⇒ Boolean

Returns:

  • (Boolean)


1118
1119
1120
# File 'lib/satops/operator.rb', line 1118

def include?(arg)
  self.include_name?(arg)
end