examples/simple.rb in progress_bar-1.3.1 vs examples/simple.rb in progress_bar-1.3.2
- old
+ new
@@ -1,6 +1,7 @@
+# frozen_string_literal: true
-require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib/progress_bar'))
+require_relative "../lib/progress_bar"
bar = ProgressBar.new
100.times do
sleep 0.1