lib/fusuma/plugin/sendkey/keyboard.rb in fusuma-plugin-sendkey-0.13.1 vs lib/fusuma/plugin/sendkey/keyboard.rb in fusuma-plugin-sendkey-0.13.2

- old
+ new

@@ -95,10 +95,13 @@ def keyup(keycode) send_event(code: keycode, press: false) end # @param param [String] + # @return [TrueClass, FalseClass] def valid?(params) + return false if params.nil? + case params when Array params.all? { |param| valid?(param) } when String param = params