Class: Berta::Utils::IncludeFilter
- Defined in:
- lib/berta/utils/include_filter.rb
Overview
Filter that includes vms in given params
Constant Summary
Constants inherited from Filter
Instance Method Summary collapse
-
#filter(vmhs) ⇒ Object
Overrides filter method to include 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 include vms
6 7 8 9 10 11 12 |
# File 'lib/berta/utils/include_filter.rb', line 6 def filter(vmhs) idi = filter_ids(vmhs) useri = filter_users(vmhs) groupi = filter_groups(vmhs) clusteri = filter_clusters(vmhs) idi | useri | groupi | clusteri end |