lib/template-ruby.rb in code-ruby-0.3.0 vs lib/template-ruby.rb in code-ruby-0.3.1
- old
+ new
@@ -6,8 +6,8 @@
require "active_support/core_ext/object/deep_dup"
require "stringio"
require "timeout"
loader = Zeitwerk::Loader.for_gem(warn_on_extra_files: false)
-loader.ignore(File.expand_path("lib/template-ruby.rb"))
-loader.ignore(File.expand_path("lib/code-ruby.rb"))
+loader.ignore("#{__dir__}/template-ruby.rb")
+loader.ignore("#{__dir__}/code-ruby.rb")
loader.setup