Method: Honeycomb::Virustotalscan.all_databases

Defined in:
lib/honeycomb/model/virustotalscans.rb

.all_databases(dir = Pathname.new(__FILE__).dirname.dirname.dirname.dirname.expand_path.join('data').join('logsql/').to_s) ⇒ Object



25
26
27
28
29
# File 'lib/honeycomb/model/virustotalscans.rb', line 25

def self.all_databases(dir = Pathname.new(__FILE__).dirname.dirname.dirname.dirname.expand_path.join('data').join('logsql/').to_s)
  ret = Dir.entries(dir)
  ret.delete_if {|x| x =~ /^\./}
  ret
end