INNER CODE UNIT · Ruby

Core

thesp0nge/dawnscanner · lib/dawn/core.rb:5

  class Core

    def self.registry_db_folder
      "#{File.join(Dir.home, 'dawnscanner', 'db')}"
    end
    def self.registry_db_name
      "#{File.join(registry_db_folder, 'dawnscanner.db')}"
    end
    def self.sql_log_name
      "#{File.join(registry_db_folder, 'dawnscanner-sql.log')}"
    end

    # TODO.20140326
    # All those methods must moved from here to Util class and a
    # Dawn::Core namespace must be created.
    def self.help
      puts "Usage: dawn [options] target_directory"
      printf "\nExamples:\n"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…