lib/alba/default_inflector.rb in alba-3.2.0 vs lib/alba/default_inflector.rb in alba-3.3.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
begin
require 'active_support/inflector'
require 'active_support/core_ext/module/delegation'
rescue LoadError
raise Alba::Error, 'To use default inflector, please install `ActiveSupport` gem.'