From 8a89176b2b563ad20c21eea6f31cef01c46582dc Mon Sep 17 00:00:00 2001 From: pks Date: Sun, 16 May 2021 18:23:12 +0200 Subject: restart --- db-query.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 db-query.rb (limited to 'db-query.rb') diff --git a/db-query.rb b/db-query.rb deleted file mode 100755 index 3a3fa70..0000000 --- a/db-query.rb +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env ruby - -require 'sqlite3' - -def main - db = SQLite3::Database.new ARGV[0] - db.execute("select * from power") do |result| - puts result.to_s - end - db.close -end - - -main -- cgit v1.2.3