lib/bootstrap-email/setup.rb in bootstrap-email-1.1.4 vs lib/bootstrap-email/setup.rb in bootstrap-email-1.1.5
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module BootstrapEmail
class << self
def config
@config ||= BootstrapEmail::Config.new
@config
@@ -9,10 +11,10 @@
@config ||= BootstrapEmail::Config.new
@config.load_options(options)
@config
end
- def configure(&proc)
+ def configure
@config ||= BootstrapEmail::Config.new
yield @config
end
def reset_config!