lib/active_admin/dynamic_setting.rb in activeadmin-2.9.0 vs lib/active_admin/dynamic_setting.rb in activeadmin-2.10.0
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
module ActiveAdmin
class DynamicSetting
def self.build(setting, type)
(type ? klass(type) : self).new(setting)