lib/bumbler/track_initializers.rb in bumbler-0.5.0 vs lib/bumbler/track_initializers.rb in bumbler-0.6.0
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
Rails::Engine.prepend(Module.new do
def load(file, *)
initializer = file.sub(Rails.root.to_s, ".")
Bumbler::Hooks.benchmark(initializer) { super }.last
end