Module: Docklean::Base

Included in:
Docklean
Defined in:
lib/docklean/base.rb

Instance Method Summary collapse

Instance Method Details

#debug_print(msg) ⇒ Object



21
22
23
24
25
# File 'lib/docklean/base.rb', line 21

def debug_print(msg)
    if self.get_conf('log_level') == 'debug' then
        puts msg.chomp
    end
end

#scrubObject



27
28
29
30
31
# File 'lib/docklean/base.rb', line 27

def scrub
    # cleans up containers/images
    self.cleanup_containers()
    self.cleanup_images()
end