lib/ffi-tk/command/set_palette.rb in ffi-tk-2010.08.23 vs lib/ffi-tk/command/set_palette.rb in ffi-tk-2018.02.20
- old
+ new
@@ -1,9 +1,10 @@
+# frozen_string_literal: true
module Tk
def self.set_palette(background, *rest)
if rest.empty?
Tk.execute(:tk_setPalette, background)
else
Tk.execute(:tk_setPalette, background, *rest)
end
end
-end
\ No newline at end of file
+end