add printer lists of system

This commit is contained in:
phyusin
2018-01-16 11:39:37 +06:30
parent 89e563ce1e
commit 2703c3c37a
3 changed files with 4 additions and 4 deletions

View File

@@ -24,11 +24,11 @@ class Printer::PrinterWorker
end
end
def printers()
def self.printers()
Cups.show_destinations
end
def default_printer()
def self.default_printer()
Cups.default_printer
end