examples/logger.rb in tty-command-0.8.1 vs examples/logger.rb in tty-command-0.8.2
- old
+ new
@@ -1,8 +1,8 @@
-# encoding: utf-8
+# frozen_string_literal: true
require 'logger'
-require 'tty-command'
+require_relative '../lib/tty-command'
logger = Logger.new('dev.log')
cmd = TTY::Command.new(output: logger, color: false)