examples/bash.rb in tty-command-0.8.1 vs examples/bash.rb in tty-command-0.8.2
- old
+ new
@@ -1,7 +1,7 @@
-# encoding: utf-8
+# frozen_string_literal: true
-require 'tty-command'
+require_relative '../lib/tty-command'
cmd = TTY::Command.new
f = 'file'
if cmd.test("[ -f #{f} ]")