# File lib/whiskey_disk/config/filters/normalize_ssh_options_filter.rb, line 6 def drop_empties(options_list) options_list.select {|option| option and option != '' } end
# File lib/whiskey_disk/config/filters/normalize_ssh_options_filter.rb, line 10 def drop_empty_ssh_options_for_domain(domain) result = drop_empties([ domain['ssh_options'] ].flatten) if result and result != [] domain.merge('ssh_options' => result) else domain.reject {|k,v| k == 'ssh_options' } end end
Generated with the Darkfish Rdoc Generator 2.