lib/fusuma/libinput_command.rb in fusuma-3.6.2 vs lib/fusuma/libinput_command.rb in fusuma-3.7.0

- old
+ new

@@ -18,9 +18,14 @@ # @return [Boolean] def new_cli_option_available? Gem::Version.new(version) >= Gem::Version.new(NEW_CLI_OPTION_VERSION) end + # @return [Boolean] + def libinput_1_27_0_or_later? + Gem::Version.new(version) >= Gem::Version.new("1.27.0") + end + # @return [String] def version # version_command prints "1.6.3\n" @version ||= `#{version_command}`.strip end