Module: GClouder::Resource::Cleaner::Default

Defined in:
lib/gclouder/resource_cleaner.rb

Class Method Summary collapse

Class Method Details

.cleanerObject



30
31
32
33
34
35
36
# File 'lib/gclouder/resource_cleaner.rb', line 30

def self.cleaner
  Proc.new do |resources, resource|
    resources.map do |r|
      r['name'] == resource
    end.include?(true)
  end
end