From 955739e2a7be70e6abf7e95710ffe0f4a9c64481 Mon Sep 17 00:00:00 2001 From: mms Date: Tue, 12 Nov 2024 21:26:10 +0100 Subject: feat: rename modules --- lib/some/database.rb | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 lib/some/database.rb (limited to 'lib/some/database.rb') diff --git a/lib/some/database.rb b/lib/some/database.rb deleted file mode 100644 index d481dd5..0000000 --- a/lib/some/database.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module Some - class Database - attr_reader :db - - def initialize(path:) - @db = ::Notmuch::Database.new(path) - end - - def query(query) - db.query(query) - end - - def search_messages(query) - query(query).search_messages - end - end -end -- cgit v1.2.3