Class: Berta::Utils::ExcludeFilter
- Defined in:
- lib/berta/utils/exclude_filter.rb
Overview
Filter that excludes vms in given params
Constant Summary
Constants inherited from Filter
Instance Method Summary collapse
-
#filter(vmhs) ⇒ Object
Overrides filter method to exclude vms.
Methods inherited from Filter
Constructor Details
This class inherits a constructor from Berta::Utils::Filter
Instance Method Details
#filter(vmhs) ⇒ Object
Overrides filter method to exclude vms
6 7 8 9 10 11 12 |
# File 'lib/berta/utils/exclude_filter.rb', line 6 def filter(vmhs) ide = filter_ids(vmhs) usere = filter_users(vmhs) groupe = filter_groups(vmhs) clustere = filter_clusters(vmhs) vmhs - ide - usere - groupe - clustere end |